Searched refs:l2sock (Results 1 - 1 of 1) sorted by relevance
/freebsd-13-stable/usr.sbin/bluetooth/sdpd/ |
H A D | server.c | 72 int32_t unsock, l2sock; local 122 l2sock = socket(PF_BLUETOOTH, SOCK_SEQPACKET, BLUETOOTH_PROTO_L2CAP); 123 if (l2sock < 0) { 131 if (getsockopt(l2sock, SOL_L2CAP, SO_L2CAP_IMTU, &imtu, &size) < 0) { 135 close(l2sock); 145 if (bind(l2sock, (struct sockaddr *) &l2, sizeof(l2)) < 0) { 149 close(l2sock); 153 if (listen(l2sock, 10) < 0) { 157 close(l2sock); 167 close(l2sock); [all...] |
Completed in 51 milliseconds