Searched refs:l2cap_psm (Results 1 – 11 of 11) sorted by relevance
55 uint16_t l2cap_psm; /* -p <psm> */ variable141 l2cap_psm = ul; in main()174 control_path != NULL || (service_name != NULL && l2cap_psm != 0))) in main()181 if (l2cap_psm == 0) in main()182 l2cap_psm = L2CAP_PSM_BNEP; in main()
88 sa.l2cap_psm = htole16(l2cap_psm); in client_init()220 && _sdp_get_uint16(&seq1, seq0, &l2cap_psm) in client_query()223 log_info("Found PSM %d for service %s", l2cap_psm, service_name); in client_query()
107 sa.l2cap_psm = htole16(l2cap_psm); in server_open()278 p.psm = l2cap_psm; in server_register()
160 extern uint16_t l2cap_psm;
228 u_int16_t l2cap_psm; /* PSM (Protocol/Service Multiplexor) */ member235 u_int16_t l2cap_psm; /* PSM (Protocol/Service Multiplexor) */ member
237 l2addr.l2cap_psm = 0; in client_socket()247 l2addr.l2cap_psm = htole16(psm); in client_socket()
96 l2addr.l2cap_psm = htole16(0x11); in server_init()126 l2addr.l2cap_psm = htole16(0x13); in server_init()
65 sa.l2cap_psm = 0; in sdp_open()75 sa.l2cap_psm = htole16(NG_L2CAP_PSM_SDP); in sdp_open()
2106 psm = le16toh(sa->l2cap_psm); in ng_btsocket_l2cap_bind() 2175 if ((sa->l2cap_psm && sa->l2cap_cid)) in ng_btsocket_l2cap_connect() 2180 (sa->l2cap_psm == 0)) in ng_btsocket_l2cap_connect() 2193 if (pcb->psm != 0 && pcb->psm != le16toh(sa->l2cap_psm)) in ng_btsocket_l2cap_connect() 2208 pcb->psm = le16toh(sa->l2cap_psm); in ng_btsocket_l2cap_connect() 2530 .l2cap_psm = htole16(pcb->psm), in ng_btsocket_l2cap_peeraddr() 2694 .l2cap_psm = htole16(pcb->psm), in ng_btsocket_l2cap_sockaddr()
1330 l2sa.l2cap_psm = (dst == NULL)? htole16(NG_L2CAP_PSM_RFCOMM) : 0; in ng_btsocket_rfcomm_session_create()1353 l2sa.l2cap_psm = htole16(NG_L2CAP_PSM_RFCOMM); in ng_btsocket_rfcomm_session_create()
142 l2.l2cap_psm = htole16(NG_L2CAP_PSM_SDP); in server_init()