cvs commit: src/sys/netgraph/bluetooth/include ng_btsocket.h
ng_hci.h src/sys/netgraph/bluetooth/socket ng_btsocket_hci_raw.c
Maksim Yevmenkin
emax at FreeBSD.org
Tue May 16 17:13:26 PDT 2006
emax 2006-05-17 00:13:07 UTC
FreeBSD src repository
Modified files:
sys/netgraph/bluetooth/include ng_btsocket.h ng_hci.h
sys/netgraph/bluetooth/socket ng_btsocket_hci_raw.c
Log:
Add new SIOC_HCI_RAW_NODE_LIST_NAMES ioctl. User-space applications can
use this ioctl to obtain the list of HCI nodes. User-space application
is expected to preallocate 'ng_btsocket_hci_raw_node_list_names' structure
and set limit in 'num_nodes' field. The 'nodes' field should be allocated
as well and it should have space for at least 'num_nodes' elements.
The SIOC_HCI_RAW_NODE_LIST_NAMES should be issued on bound raw HCI socket.
It does not really really matter what HCI name the socket is bound to, as
long as it is not empty.
MFC after: 1 week
Revision Changes Path
1.8 +9 -0 src/sys/netgraph/bluetooth/include/ng_btsocket.h
1.7 +2 -0 src/sys/netgraph/bluetooth/include/ng_hci.h
1.21 +64 -1 src/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
More information about the cvs-src
mailing list