thompsa 2008-10-03 05:14:54 UTC
FreeBSD src repository
Modified files:
share/man/man4 ng_tty.4
sys/netgraph ng_tty.c ng_tty.h
Log:
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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"