Deleted Added
full compact
ng_tty.4 (213573) ng_tty.4 (233648)
1.\" Copyright (c) 1996-1999 Whistle Communications, Inc.
2.\" All rights reserved.
3.\"
4.\" Subject to the following obligations and disclaimer of warranty, use and
5.\" redistribution of this software, in source or object code forms, with or
6.\" without modifications are expressly permitted by Whistle Communications;
7.\" provided, however, that:
8.\" 1. Any and all reproductions of the source or object code must include the

--- 18 unchanged lines hidden (view full) ---

27.\" SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY
28.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
30.\" THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
31.\" OF SUCH DAMAGE.
32.\"
33.\" Author: Archie Cobbs <archie@FreeBSD.org>
34.\"
1.\" Copyright (c) 1996-1999 Whistle Communications, Inc.
2.\" All rights reserved.
3.\"
4.\" Subject to the following obligations and disclaimer of warranty, use and
5.\" redistribution of this software, in source or object code forms, with or
6.\" without modifications are expressly permitted by Whistle Communications;
7.\" provided, however, that:
8.\" 1. Any and all reproductions of the source or object code must include the

--- 18 unchanged lines hidden (view full) ---

27.\" SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY
28.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
30.\" THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
31.\" OF SUCH DAMAGE.
32.\"
33.\" Author: Archie Cobbs <archie@FreeBSD.org>
34.\"
35.\" $FreeBSD: head/share/man/man4/ng_tty.4 213573 2010-10-08 12:40:16Z uqs $
35.\" $FreeBSD: head/share/man/man4/ng_tty.4 233648 2012-03-29 05:02:12Z eadler $
36.\" $Whistle: ng_tty.8,v 1.5 1999/01/25 23:46:28 archie Exp $
37.\"
38.Dd December 25, 2008
39.Dt NG_TTY 4
40.Os
41.Sh NAME
42.Nm ng_tty
43.Nd netgraph node type that is also a TTY hook

--- 8 unchanged lines hidden (view full) ---

52.Pp
53The node has a single hook called
54.Dv hook .
55Incoming bytes received on the tty device are sent out on this hook,
56and frames received on
57.Dv hook
58are transmitted out on the tty device.
59No modification to the data is performed in either direction.
36.\" $Whistle: ng_tty.8,v 1.5 1999/01/25 23:46:28 archie Exp $
37.\"
38.Dd December 25, 2008
39.Dt NG_TTY 4
40.Os
41.Sh NAME
42.Nm ng_tty
43.Nd netgraph node type that is also a TTY hook

--- 8 unchanged lines hidden (view full) ---

52.Pp
53The node has a single hook called
54.Dv hook .
55Incoming bytes received on the tty device are sent out on this hook,
56and frames received on
57.Dv hook
58are transmitted out on the tty device.
59No modification to the data is performed in either direction.
60While the hook is installed on a tty, the normal read and write
60While the hook is installed on a tty, the normal read and write
61operations are unavailable, returning
62.Er EIO .
63.Pp
64Incoming data is delivered directly to ng_tty via the tty bypass hook as a
65buffer pointer and length, this is converted to a mbuf and passed to the peer.
66.Pp
67The node supports an optional
68.Dq hot character .

--- 61 unchanged lines hidden ---
61operations are unavailable, returning
62.Er EIO .
63.Pp
64Incoming data is delivered directly to ng_tty via the tty bypass hook as a
65buffer pointer and length, this is converted to a mbuf and passed to the peer.
66.Pp
67The node supports an optional
68.Dq hot character .

--- 61 unchanged lines hidden ---