|
NAMEng_h4 —
Netgraph node type that is also an H4 line discipline
SYNOPSIS#include <sys/types.h>
#include
<netgraph/bluetooth/include/ng_h4.h>
DEPRECATION NOTICETheng_h4 Netgraph node is not present in
FreeBSD 14.0.
DESCRIPTIONTheh4 node type is both a persistent Netgraph node type
and a H4 line discipline. It implements a Bluetooth HCI UART transport layer
as per chapter H4 of the Bluetooth Specification Book v1.1. A new node is
created when the corresponding line discipline,
H4DISC , is registered on a tty device (see
tty(4)).
The node has a single hook called Information about the node is available via the netgraph
ioctl(2)
command HOOKSThis node type supports the following hooks:
CONTROL MESSAGESThis node type supports the generic control messages, plus the following:
SHUTDOWNThis node shuts down when the corresponding device is closed (or the line discipline is uninstalled on the device).SEE ALSOioctl(2), netgraph(4), tty(4), ngctl(8)HISTORYTheh4 node type was implemented in
FreeBSD 5.0.
AUTHORSMaksim Yevmenkin <m_evmenkin@yahoo.com>BUGSThis node still uses spltty(9) to lock tty layer. This is wrong.
Visit the GSP FreeBSD Man Page Interface. |