/netbsd-6-1-5-RELEASE/usr.bin/rfcomm_sppd/ |
H A D | rfcomm_sppd.c | 126 uint16_t psm; local 135 psm = L2CAP_PSM_RFCOMM; 182 psm = strtoul(optarg, &ep, 0); 183 if (*ep != '\0' || L2CAP_PSM_INVALID(psm)) 227 rfcomm = open_client(&laddr, &raddr, lm, psm, service); 229 rfcomm = open_server(&laddr, psm, channel, lm, service); 335 open_client(bdaddr_t *laddr, bdaddr_t *raddr, int lm, uintmax_t psm, argument 360 if (service_search(laddr, raddr, s->class, &psm, 371 if (L2CAP_PSM_INVALID(psm)) 372 errx(EXIT_FAILURE, "Invalid PSM 0x%04"PRIxMAX, psm); 407 open_server(bdaddr_t *laddr, uint16_t psm, uint8_t channel, int lm, const char *service) argument 566 service_search(bdaddr_t const *laddr, bdaddr_t const *raddr, uint16_t class, uintmax_t *psm, uintmax_t *channel) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/netbt/ |
H A D | l2cap_upper.c | 302 * for incoming connections matching the psm and local address of 315 uint32_t psm; local 325 psm = 0x1001; 328 if (used != NULL && used->lc_laddr.bt_psm >= psm) { 329 psm = used->lc_laddr.bt_psm + 0x0002; 330 if ((psm & 0x0100) != 0) 331 psm += 0x0100; 333 if (psm > UINT16_MAX) 337 chan->lc_laddr.bt_psm = psm;
|
H A D | l2cap.h | 126 #define L2CAP_PSM_INVALID(psm) (((psm) & 0x0101) != 0x0001) 223 uint16_t psm; /* Protocol/Service Multiplexor */ member in struct:__anon9263 246 uint16_t psm; /* Protocol/Service Multiplexor (PSM) */ member in struct:__anon9266
|
H A D | l2cap_signal.c | 231 * psm & addr and ask upper layer for a new channel. 251 cp.psm = le16toh(cp.psm); 256 laddr.bt_psm = cp.psm; 262 raddr.bt_psm = cp.psm; 1102 cp.psm = htole16(chan->lc_raddr.bt_psm);
|
/netbsd-6-1-5-RELEASE/usr.sbin/btpand/ |
H A D | client.c | 162 uintmax_t psm; local 222 && sdp_get_uint(&seq, &psm) 236 l2cap_psm = (uint16_t)psm;
|
/netbsd-6-1-5-RELEASE/sys/arch/hp700/dev/ |
H A D | pdc.c | 815 pdcproc_system_map_find_mod(struct pdc_system_map_find_mod *psm, argument 825 memcpy(psm, &pdcret1, sizeof(*psm)); 832 pdcproc_system_map_find_addr(struct pdc_system_map_find_addr *psm, int mod, argument 842 memcpy(psm, &pdcret1, sizeof(*psm));
|
/netbsd-6-1-5-RELEASE/usr.sbin/sdpd/ |
H A D | compat.c | 567 || L2CAP_PSM_INVALID(data->psm) 582 sdp_put_uint16(buf, data->psm); 637 || L2CAP_PSM_INVALID(data->psm) 652 sdp_put_uint16(buf, data->psm); 701 || L2CAP_PSM_INVALID(data->psm) 716 sdp_put_uint16(buf, data->psm);
|
/netbsd-6-1-5-RELEASE/lib/libbluetooth/ |
H A D | 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
|
/netbsd-6-1-5-RELEASE/sys/arch/sparc64/dev/ |
H A D | psm.c | 1 /* $NetBSD: psm.c,v 1.8 2011/06/03 03:09:02 christos Exp $ */ 39 __KERNEL_RCSID(0, "$NetBSD: psm.c,v 1.8 2011/06/03 03:09:02 christos Exp $"); 126 CFATTACH_DECL_NEW(psm, sizeof(struct psm_softc), 135 if (strcmp(ea->ea_name, "psm") != 0) 253 tsleep(&sc, PWAIT, "psm", hz);
|