Searched refs:l2cap_psm (Results 1 - 12 of 12) sorted by relevance

/freebsd-12-stable/usr.sbin/bluetooth/btpand/
H A Dbtpand.c60 uint16_t l2cap_psm; /* -p <psm> */ variable
146 l2cap_psm = ul;
176 control_path != NULL || (service_name != NULL && l2cap_psm != 0)))
183 if (l2cap_psm == 0)
184 l2cap_psm = L2CAP_PSM_BNEP;
H A Dclient.c89 sa.l2cap_psm = htole16(l2cap_psm);
221 && _sdp_get_uint16(&seq1, seq0, &l2cap_psm)
224 log_info("Found PSM %d for service %s", l2cap_psm, service_name);
H A Dserver.c108 sa.l2cap_psm = htole16(l2cap_psm);
279 p.psm = l2cap_psm;
H A Dbtpand.h161 extern uint16_t l2cap_psm;
/freebsd-12-stable/sys/netgraph/bluetooth/include/
H A Dng_btsocket.h229 u_int16_t l2cap_psm; /* PSM (Protocol/Service Multiplexor) */ member in struct:sockaddr_l2cap_compat
236 u_int16_t l2cap_psm; /* PSM (Protocol/Service Multiplexor) */ member in struct:sockaddr_l2cap
/freebsd-12-stable/lib/libsdp/
H A Dsession.c66 sa.l2cap_psm = 0;
76 sa.l2cap_psm = htole16(NG_L2CAP_PSM_SDP);
/freebsd-12-stable/usr.sbin/bluetooth/bthidd/
H A Dclient.c238 l2addr.l2cap_psm = 0;
248 l2addr.l2cap_psm = htole16(psm);
H A Dserver.c97 l2addr.l2cap_psm = htole16(0x11);
127 l2addr.l2cap_psm = htole16(0x13);
/freebsd-12-stable/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_l2cap.c2128 psm = le16toh(sa->l2cap_psm);
2197 if ((sa->l2cap_psm && sa->l2cap_cid))
2202 (sa->l2cap_psm == 0))
2215 if (pcb->psm != 0 && pcb->psm != le16toh(sa->l2cap_psm))
2230 pcb->psm = le16toh(sa->l2cap_psm);
2548 sa.l2cap_psm = htole16(pcb->psm);
2712 sa.l2cap_psm = htole16(pcb->psm);
H A Dng_btsocket_l2cap_raw.c1184 sa.l2cap_psm = 0;
1228 sa.l2cap_psm = 0;
H A Dng_btsocket_rfcomm.c1340 l2sa.l2cap_psm = (dst == NULL)? htole16(NG_L2CAP_PSM_RFCOMM) : 0;
1363 l2sa.l2cap_psm = htole16(NG_L2CAP_PSM_RFCOMM);
/freebsd-12-stable/usr.sbin/bluetooth/sdpd/
H A Dserver.c143 l2.l2cap_psm = htole16(NG_L2CAP_PSM_SDP);

Completed in 124 milliseconds