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
sys/netgraph/bluetooth/socket ng_btsocket_hci_raw.c
Log:
MFC:
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
1.7.2.1 +9 -0 src/sys/netgraph/bluetooth/include/ng_btsocket.h
1.6.2.1 +2 -0 src/sys/netgraph/bluetooth/include/ng_hci.h
1.17.2.2 +64 -1 src/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"