OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:hci
(Results
1 - 3
of
3
) sorted by relevancy
/src/usr.sbin/bthcid/
client.c
70
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
)
292
item->
hci
=
hci
;
335
if (item->
hci
>= 0)
hci.c
1
/* $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 $");
90
/* Initialise
HCI
Events */
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
);
[
all
...]
/src/usr.sbin/btconfig/
btconfig.c
82
static int
hci
;
variable
241
hci
= socket(PF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI);
242
if (
hci
== -1)
322
close(
hci
);
384
* basic
HCI
request wrapper with error check
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
[
all
...]
Completed in 21 milliseconds
Indexes created Tue Jun 23 00:25:03 UTC 2026