Date: Fri, 3 Oct 2008 05:14:54 +0000 (UTC) From: Andrew Thompson <thompsa@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/share/man/man4 ng_tty.4 src/sys/netgraph ng_tty.c ng_tty.h Message-ID: <200810030519.m935JGwx043022@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810030519.m935JGwx043022>
