ng_tty.h (cc3bbd68c54fab5539ff1cfa5f7bfb454633239c) ng_tty.h (e20480bfb6869d99d93891ec878221122b4d3478)
1
2/*
3 * ng_tty.h
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

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

35 * OF SUCH DAMAGE.
36 *
37 * Author: Archie Cobbs <archie@freebsd.org>
38 *
39 * $FreeBSD$
40 * $Whistle: ng_tty.h,v 1.7 1999/01/20 00:22:15 archie Exp $
41 */
42
1
2/*
3 * ng_tty.h
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

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

35 * OF SUCH DAMAGE.
36 *
37 * Author: Archie Cobbs <archie@freebsd.org>
38 *
39 * $FreeBSD$
40 * $Whistle: ng_tty.h,v 1.7 1999/01/20 00:22:15 archie Exp $
41 */
42
43#ifndef _NETGRAPH_TTY_H_
44#define _NETGRAPH_TTY_H_
43#ifndef _NETGRAPH_NG_TTY_H_
44#define _NETGRAPH_NG_TTY_H_
45
46/* Node type name and magic cookie */
47#define NG_TTY_NODE_TYPE "tty"
48#define NGM_TTY_COOKIE 886279262
49
50/* Default hot char */
51#define NG_TTY_DFL_HOTCHAR 0x7e /* PPP flag byte */
52
53/* Hook names */
54#define NG_TTY_HOOK "hook"
55
56/* Netgraph commands */
57enum {
58 NGM_TTY_GET_HOTCHAR = 1,
59 NGM_TTY_SET_HOTCHAR,
60};
61
45
46/* Node type name and magic cookie */
47#define NG_TTY_NODE_TYPE "tty"
48#define NGM_TTY_COOKIE 886279262
49
50/* Default hot char */
51#define NG_TTY_DFL_HOTCHAR 0x7e /* PPP flag byte */
52
53/* Hook names */
54#define NG_TTY_HOOK "hook"
55
56/* Netgraph commands */
57enum {
58 NGM_TTY_GET_HOTCHAR = 1,
59 NGM_TTY_SET_HOTCHAR,
60};
61
62#endif /* _NETGRAPH_TTY_H_ */
62#endif /* _NETGRAPH_NG_TTY_H_ */