BTPROTO_HCI
s = socket(PF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI);
s = socket(PF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI);
if ((options & BTOPT_DIRECTION) && setsockopt(s, BTPROTO_HCI,
if (getsockopt(s, BTPROTO_HCI,
if (getsockopt(s, BTPROTO_HCI,
if (setsockopt(s, BTPROTO_HCI,
if (setsockopt(s, BTPROTO_HCI,
s = socket(PF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI);
s = socket(PF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI);
fd = socket(PF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI);
s = socket(PF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI);
if (rump_sys_setsockopt(s, BTPROTO_HCI, SO_HCI_EVT_FILTER,
s = rump_sys_socket(PF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI);
.pr_protocol = BTPROTO_HCI,
CTL_NET, PF_BLUETOOTH, BTPROTO_HCI,
CTL_NET, PF_BLUETOOTH, BTPROTO_HCI,
CTL_NET, PF_BLUETOOTH, BTPROTO_HCI,
CTL_NET, PF_BLUETOOTH, BTPROTO_HCI,
CTL_NET, PF_BLUETOOTH, BTPROTO_HCI,
CTL_NET, PF_BLUETOOTH, BTPROTO_HCI, CTL_EOL);
CTL_NET, PF_BLUETOOTH, BTPROTO_HCI,
CTL_NET, PF_BLUETOOTH, BTPROTO_HCI,
if (sopt->sopt_level != BTPROTO_HCI)
SCM_HCI_DIRECTION, BTPROTO_HCI);
if ((fd = socket(PF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI)) < 0
|| setsockopt(fd, BTPROTO_HCI, SO_HCI_EVT_FILTER, &f, sizeof(f)) < 0
hci = socket(PF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI);