Searched refs:hci (Results 1 – 9 of 9) sorted by relevance
| /netbsd/src/usr.sbin/bthcid/ |
| D | client.c | 70 int hci; /* HCI socket */ member 213 if (item->hci != -1) { in process_client() 219 send_pin_code_reply(item->hci, &sa, &item->raddr, rp.pin); in process_client() 243 item->hci = -1; in process_client() 257 send_client_request(bdaddr_t *laddr, bdaddr_t *raddr, int hci) in send_client_request() argument 292 item->hci = hci; in send_client_request() 335 if (item->hci >= 0) in lookup_pin()
|
| D | hci.c | 95 int hci; in init_hci() local 97 hci = bt_devopen(device, 0); in init_hci() 98 if (hci < 0) in init_hci() 106 if (bt_devfilter(hci, &filter, NULL) < 0) { in init_hci() 107 close(hci); in init_hci() 111 event_set(&hci_ev, hci, EV_READ | EV_PERSIST, process_hci, NULL); in init_hci() 113 close(hci); in init_hci()
|
| D | Makefile | 7 SRCS= bthcid.c hci.c client.c config.c
|
| /netbsd/src/usr.sbin/btconfig/ |
| D | btconfig.c | 82 static int hci; variable 241 hci = socket(PF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI); in main() 242 if (hci == -1) in main() 322 close(hci); in main() 399 if (bt_devreq(hci, &req, 10) == -1) in hci_req() 437 if (ioctl(hci, cmd, &btr) == -1) in set_unit() 447 if (bind(hci, (struct sockaddr *)&sa, sizeof(sa)) < 0) in set_unit() 450 if (connect(hci, (struct sockaddr *)&sa, sizeof(sa)) < 0) in set_unit() 470 if (ioctl(hci, SIOCSBTFLAGS, &btr) < 0) in config_unit() 481 if (ioctl(hci, SIOCSBTFLAGS, &btr) < 0) in config_unit() [all …]
|
| /netbsd/src/sys/netbt/ |
| D | Makefile | 4 INCS= bluetooth.h hci.h l2cap.h rfcomm.h sco.h
|
| D | hci_socket.c | 910 PR_WRAP_USRREQS(hci)
|
| /netbsd/src/external/bsd/libpcap/dist/ |
| D | configure.ac | 2928 #include <bluetooth/hci.h> 2945 #include <bluetooth/hci.h>
|
| D | CMakeLists.txt | 2395 …_member("struct sockaddr_hci" hci_channel "bluetooth/bluetooth.h;bluetooth/hci.h" HAVE_STRUCT_SOCK… 2402 #include <bluetooth/hci.h>
|
| /netbsd/src/distrib/sets/lists/comp/ |
| D | mi | 2800 ./usr/include/netbt/hci.h comp-c-include
|