From owner-cvs-src@FreeBSD.ORG Fri Oct 3 05:19:16 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA3F01065686; Fri, 3 Oct 2008 05:19:16 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A6B668FC13; Fri, 3 Oct 2008 05:19:16 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m935JGcx043025; Fri, 3 Oct 2008 05:19:16 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m935JGwx043022; Fri, 3 Oct 2008 05:19:16 GMT (envelope-from thompsa@repoman.freebsd.org) Message-Id: <200810030519.m935JGwx043022@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to thompsa@repoman.freebsd.org using -f From: Andrew Thompson Date: Fri, 3 Oct 2008 05:14:54 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/man/man4 ng_tty.4 src/sys/netgraph ng_tty.c ng_tty.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2008 05:19:16 -0000 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