/src/sys/netbt/ |
l2cap_upper.c | 301 * for incoming connections matching the psm and local address of 314 uint32_t psm; local in function:l2cap_listen_pcb 321 * lot of time looking for an unused PSM.. 324 psm = 0x1001; 327 if (used != NULL && used->lc_laddr.bt_psm >= psm) { 328 psm = used->lc_laddr.bt_psm + 0x0002; 329 if ((psm & 0x0100) != 0) 330 psm += 0x0100; 332 if (psm > UINT16_MAX) 336 chan->lc_laddr.bt_psm = psm; [all...] |
l2cap.h | 108 /* Protocol/Service Multiplexer (PSM) values */ 109 #define L2CAP_PSM_ANY 0x0000 /* Any/Invalid PSM */ 132 #define L2CAP_PSM_INVALID(psm) (((psm) & 0x0101) != 0x0001) 229 uint16_t psm; /* Protocol/Service Multiplexer */ member in struct:__anon14ed532f0408 252 uint16_t psm; /* Protocol/Service Multiplexer */ member in struct:__anon14ed532f0708
|
/src/usr.sbin/btpand/ |
client.c | 181 uintmax_t psm; local in function:client_query 229 * the PSM. 241 && sdp_get_uint(&seq, &psm) 255 l2cap_psm = (uint16_t)psm; 256 log_info("Found PSM %u for service %s", l2cap_psm, service_type);
|
/src/usr.bin/rfcomm_sppd/ |
rfcomm_sppd.c | 127 uint16_t psm; local in function:main 136 psm = L2CAP_PSM_RFCOMM; 182 case 'p': /* PSM */ 183 psm = strtoul(optarg, &ep, 0); 184 if (*ep != '\0' || L2CAP_PSM_INVALID(psm)) 185 errx(EXIT_FAILURE, "Invalid PSM: %s", optarg); 228 rfcomm = open_client(&laddr, &raddr, lm, psm, service); 230 rfcomm = open_server(&laddr, psm, channel, lm, service); 336 open_client(bdaddr_t *laddr, bdaddr_t *raddr, int lm, uintmax_t psm, 361 if (service_search(laddr, raddr, s->class, &psm, [all...] |
/src/usr.sbin/bta2dpd/bta2dpd/ |
bta2dpd.c | 580 "\t%s [-v] [-D] [-d device] [-m mode] [-p psm] [-B bitpool]\n" 598 "\t-p psm Listens for incoming connections on psm\n" 1088 uintmax_t psm, ver; local in function:client_query 1136 * the PSM. 1148 sdp_get_uint(&seq, &psm) && 1162 l2cap_psm = (uint16_t)psm; 1163 log_info("Found PSM %u for service %s", l2cap_psm, service_type);
|
/src/lib/libbluetooth/ |
sdp.h | 695 uint16_t psm; member in struct:sdp_nap_profile 707 uint16_t psm; member in struct:sdp_gn_profile 719 uint16_t psm; member in struct:sdp_panu_profile
|