Date: Wed, 17 May 2006 00:13:07 +0000 (UTC) From: Maksim Yevmenkin <emax@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netgraph/bluetooth/include ng_btsocket.h ng_hci.h src/sys/netgraph/bluetooth/socket ng_btsocket_hci_raw.c Message-ID: <200605170013.k4H0D7G1010945@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605170013.k4H0D7G1010945>
