Home
last modified time | relevance | path

Searched refs:hci (Results 1 – 9 of 9) sorted by relevance

/netbsd/src/usr.sbin/bthcid/
Dclient.c70 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()
Dhci.c95 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()
DMakefile7 SRCS= bthcid.c hci.c client.c config.c
/netbsd/src/usr.sbin/btconfig/
Dbtconfig.c82 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/
DMakefile4 INCS= bluetooth.h hci.h l2cap.h rfcomm.h sco.h
Dhci_socket.c910 PR_WRAP_USRREQS(hci)
/netbsd/src/external/bsd/libpcap/dist/
Dconfigure.ac2928 #include <bluetooth/hci.h>
2945 #include <bluetooth/hci.h>
DCMakeLists.txt2395 …_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/
Dmi2800 ./usr/include/netbt/hci.h comp-c-include