ng_ubt.4 (140561) | ng_ubt.4 (242997) |
---|---|
1.\" Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 9 unchanged lines hidden (view full) --- 18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" 25.\" $Id: ng_ubt.4,v 1.3 2003/05/21 19:37:35 max Exp $ | 1.\" Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 9 unchanged lines hidden (view full) --- 18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" 25.\" $Id: ng_ubt.4,v 1.3 2003/05/21 19:37:35 max Exp $ |
26.\" $FreeBSD: head/share/man/man4/ng_ubt.4 140561 2005-01-21 08:36:40Z ru $ | 26.\" $FreeBSD: head/share/man/man4/ng_ubt.4 242997 2012-11-13 20:41:36Z joel $ |
27.\" 28.Dd September 13, 2004 29.Dt NG_UBT 4 30.Os 31.Sh NAME 32.Nm ng_ubt 33.Nd Netgraph node type that is also a driver for Bluetooth USB devices 34.Sh SYNOPSIS --- 36 unchanged lines hidden (view full) --- 71Mitsumi Bluetooth USB adapter 72.It 73MSI MS-6967 74.It 75TDK Bluetooth USB adapter 76.El 77.Sh HOOKS 78This node type supports the following hooks: | 27.\" 28.Dd September 13, 2004 29.Dt NG_UBT 4 30.Os 31.Sh NAME 32.Nm ng_ubt 33.Nd Netgraph node type that is also a driver for Bluetooth USB devices 34.Sh SYNOPSIS --- 36 unchanged lines hidden (view full) --- 71Mitsumi Bluetooth USB adapter 72.It 73MSI MS-6967 74.It 75TDK Bluetooth USB adapter 76.El 77.Sh HOOKS 78This node type supports the following hooks: |
79.Bl -tag -width indent 80.It Dv hook | 79.Bl -tag -width ".Va hook" 80.It Va hook |
81single HCI frame contained in a single 82.Vt mbuf 83structure. 84.El 85.Sh CONTROL MESSAGES 86This node type supports the generic control messages, plus the following: 87.Bl -tag -width indent | 81single HCI frame contained in a single 82.Vt mbuf 83structure. 84.El 85.Sh CONTROL MESSAGES 86This node type supports the generic control messages, plus the following: 87.Bl -tag -width indent |
88.It Dv NGM_UBT_NODE_GET_DEBUG | 88.It Dv NGM_UBT_NODE_GET_DEBUG Pq Ic get_debug |
89Returns an integer containing the current debug level for the node. | 89Returns an integer containing the current debug level for the node. |
90.It Dv NGM_UBT_NODE_SET_DEBUG | 90.It Dv NGM_UBT_NODE_SET_DEBUG Pq Ic set_debug |
91This command takes an integer argument and sets the current debug level 92for the node. | 91This command takes an integer argument and sets the current debug level 92for the node. |
93.It Dv NGM_UBT_NODE_GET_QLEN | 93.It Dv NGM_UBT_NODE_GET_QLEN Pq Ic get_qlen |
94This command takes a parameter that specifies the queue number and returns 95the current maximal length of the queue for the node. | 94This command takes a parameter that specifies the queue number and returns 95the current maximal length of the queue for the node. |
96.It Dv NGM_UBT_NODE_SET_QLEN | 96.It Dv NGM_UBT_NODE_SET_QLEN Pq Ic set_qlen |
97This command takes two parameters that specify the queue number and the maximum 98length of the queue and sets the maximal length of the queue for the node. | 97This command takes two parameters that specify the queue number and the maximum 98length of the queue and sets the maximal length of the queue for the node. |
99.It Dv NGM_UBT_NODE_GET_STAT | 99.It Dv NGM_UBT_NODE_GET_STAT Pq Ic get_stat |
100Returns various statistic information for the node, such as: number of 101bytes (frames) sent, number of bytes (frames) received and number of 102input (output) errors. | 100Returns various statistic information for the node, such as: number of 101bytes (frames) sent, number of bytes (frames) received and number of 102input (output) errors. |
103.It Dv NGM_UBT_NODE_RESET_STAT | 103.It Dv NGM_UBT_NODE_RESET_STAT Pq Ic reset_stat |
104Reset all statistic counters to zero. 105.El 106.Sh SHUTDOWN 107This node shuts down when the corresponding USB device is un-plugged. 108.Sh SEE ALSO 109.Xr netgraph 4 , 110.Xr ugen 4 , 111.Xr usb 4 , --- 12 unchanged lines hidden --- | 104Reset all statistic counters to zero. 105.El 106.Sh SHUTDOWN 107This node shuts down when the corresponding USB device is un-plugged. 108.Sh SEE ALSO 109.Xr netgraph 4 , 110.Xr ugen 4 , 111.Xr usb 4 , --- 12 unchanged lines hidden --- |