Deleted Added
full compact
ng_tty.c (69922) ng_tty.c (70159)
1
2/*
3 * ng_tty.c
4 *
5 * Copyright (c) 1996-1999 Whistle Communications, Inc.
6 * All rights reserved.
7 *
8 * Subject to the following obligations and disclaimer of warranty, use and

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

31 * SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY
32 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
33 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34 * THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
35 * OF SUCH DAMAGE.
36 *
37 * Author: Archie Cobbs <archie@freebsd.org>
38 *
1
2/*
3 * ng_tty.c
4 *
5 * Copyright (c) 1996-1999 Whistle Communications, Inc.
6 * All rights reserved.
7 *
8 * Subject to the following obligations and disclaimer of warranty, use and

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

31 * SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY
32 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
33 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34 * THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
35 * OF SUCH DAMAGE.
36 *
37 * Author: Archie Cobbs <archie@freebsd.org>
38 *
39 * $FreeBSD: head/sys/netgraph/ng_tty.c 69922 2000-12-12 18:52:14Z julian $
39 * $FreeBSD: head/sys/netgraph/ng_tty.c 70159 2000-12-18 20:03:32Z julian $
40 * $Whistle: ng_tty.c,v 1.21 1999/11/01 09:24:52 julian Exp $
41 */
42
43/*
44 * This file implements a terminal line discipline that is also a
45 * netgraph node. Installing this line discipline on a terminal device
46 * instantiates a new netgraph node of this type, which allows access
47 * to the device via the "hook" hook of the node.

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

154 ngt_input,
155 ngt_start,
156 ttymodem,
157 NG_TTY_DFL_HOTCHAR /* XXX can't change this in serial driver */
158};
159
160/* Netgraph node type descriptor */
161static struct ng_type typestruct = {
40 * $Whistle: ng_tty.c,v 1.21 1999/11/01 09:24:52 julian Exp $
41 */
42
43/*
44 * This file implements a terminal line discipline that is also a
45 * netgraph node. Installing this line discipline on a terminal device
46 * instantiates a new netgraph node of this type, which allows access
47 * to the device via the "hook" hook of the node.

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

154 ngt_input,
155 ngt_start,
156 ttymodem,
157 NG_TTY_DFL_HOTCHAR /* XXX can't change this in serial driver */
158};
159
160/* Netgraph node type descriptor */
161static struct ng_type typestruct = {
162 NG_VERSION,
162 NG_ABI_VERSION,
163 NG_TTY_NODE_TYPE,
164 ngt_mod_event,
165 ngt_constructor,
166 ngt_rcvmsg,
167 ngt_shutdown,
168 ngt_newhook,
169 NULL,
170 ngt_connect,

--- 527 unchanged lines hidden ---
163 NG_TTY_NODE_TYPE,
164 ngt_mod_event,
165 ngt_constructor,
166 ngt_rcvmsg,
167 ngt_shutdown,
168 ngt_newhook,
169 NULL,
170 ngt_connect,

--- 527 unchanged lines hidden ---