cvs commit: src/sys/netgraph/bluetooth/include ng_btsocket.h
ng_hci.h src/sys/netgraph/bluetooth/socket ng_btsocket_hci_raw.c
emax at FreeBSD.org
Tue May 23 17:52:18 PDT 2006
emax 2006-05-24 00:51:22 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/netgraph/bluetooth/include ng_btsocket.h ng_hci.h
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.
Revision Changes Path
22.214.171.124 +9 -0 src/sys/netgraph/bluetooth/include/ng_btsocket.h
126.96.36.199 +2 -0 src/sys/netgraph/bluetooth/include/ng_hci.h
188.8.131.52 +64 -1 src/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
More information about the cvs-src