Searched refs:hci (Results 1 - 25 of 39) sorted by relevance

12

/netbsd-current/sys/netbt/
H A DMakefile4 INCS= bluetooth.h hci.h l2cap.h rfcomm.h sco.h
H A Dbt_proto.c47 #include <netbt/hci.h>
H A Dhci_misc.c45 #include <netbt/hci.h>
H A Dl2cap_lower.c45 #include <netbt/hci.h>
H A Dl2cap_misc.c44 #include <netbt/hci.h>
H A Dbt_sysctl.c44 #include <netbt/hci.h>
73 CTLTYPE_NODE, "hci",
H A Dsco_upper.c45 #include <netbt/hci.h>
H A Dhci_ioctl.c46 #include <netbt/hci.h>
H A Dhci_socket.c55 #include <netbt/hci.h>
910 PR_WRAP_USRREQS(hci)
H A Dl2cap_upper.c46 #include <netbt/hci.h>
H A Drfcomm_dlc.c45 #include <netbt/hci.h>
H A Dsco_socket.c52 #include <netbt/hci.h>
H A Drfcomm_upper.c45 #include <netbt/hci.h>
H A Dhci_unit.c49 #include <netbt/hci.h>
H A Dhci_event.c44 #include <netbt/hci.h>
/netbsd-current/usr.sbin/bthcid/
H A DMakefile7 SRCS= bthcid.c hci.c client.c config.c
H A Dhci.c1 /* $NetBSD: hci.c,v 1.4 2024/09/07 13:57:25 mlelstv Exp $ */
58 __RCSID("$NetBSD: hci.c,v 1.4 2024/09/07 13:57:25 mlelstv Exp $");
95 int hci; local
97 hci = bt_devopen(device, 0);
98 if (hci < 0)
106 if (bt_devfilter(hci, &filter, NULL) < 0) {
107 close(hci);
111 event_set(&hci_ev, hci, EV_READ | EV_PERSIST, process_hci, NULL);
113 close(hci);
H A Dclient.c70 int hci; /* HCI socket */ member in struct:item
213 if (item->hci != -1) {
219 send_pin_code_reply(item->hci, &sa, &item->raddr, rp.pin);
243 item->hci = -1;
257 send_client_request(bdaddr_t *laddr, bdaddr_t *raddr, int hci) argument
292 item->hci = hci;
335 if (item->hci >= 0)
/netbsd-current/usr.sbin/btconfig/
H A Dbtconfig.c82 static int hci; variable
241 hci = socket(PF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI);
242 if (hci == -1)
322 close(hci);
399 if (bt_devreq(hci, &req, 10) == -1)
437 if (ioctl(hci, cmd, &btr) == -1)
447 if (bind(hci, (struct sockaddr *)&sa, sizeof(sa)) < 0)
450 if (connect(hci, (struct sockaddr *)&sa, sizeof(sa)) < 0)
470 if (ioctl(hci, SIOCSBTFLAGS, &btr) < 0)
481 if (ioctl(hci, SIOCSBTFLAG
[all...]
/netbsd-current/lib/libbluetooth/
H A Dbluetooth.h39 #include <netbt/hci.h>
/netbsd-current/share/examples/rump/btplay/
H A Dbtplay.c42 #include <netbt/hci.h>
/netbsd-current/external/bsd/libpcap/dist/
H A Dpcap-bt-monitor-linux.c45 #include <bluetooth/hci.h>
H A Dpcap-bt-linux.c56 #include <bluetooth/hci.h>
268 /* Setup filter, do not call hci function to avoid dependence on
/netbsd-current/sys/dev/sdmmc/
H A Dsbt.c34 #include <netbt/hci.h>
/netbsd-current/sys/dev/bluetooth/
H A Dbtuart.c50 #include <netbt/hci.h>

Completed in 289 milliseconds

12