cvs commit: src/share/man/man4 ng_tty.4 src/sys/netgraph ng_tty.c
thompsa at FreeBSD.org
Fri Oct 3 05:19:16 UTC 2008
thompsa 2008-10-03 05:14:54 UTC
FreeBSD src repository
sys/netgraph ng_tty.c ng_tty.h
SVN rev 183562 on 2008-10-03 05:14:54Z by thompsa
Update ng_tty for MPSAFE TTY.
This changes from a line discipline to the tty_hooks mechanism. Data will come
in directly via rint_bypass and sent to the peer node in a single mbuf.
As line disciplines are no longer used a new netgraph command called
NGM_TTY_SET_TTY is used to attach the tty. This takes a pointer to to the open
file descriptor of the tty and registers the tty hooks. When the tty disappears
the node will shutdown.
Thanks to: ed
Sponsored by: Hobnob, Inc
Revision Changes Path
1.18 +16 -16 src/share/man/man4/ng_tty.4
1.38 +281 -454 src/sys/netgraph/ng_tty.c
1.5 +1 -0 src/sys/netgraph/ng_tty.h
More information about the cvs-src