Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys preliminary support for HDLCDISC [from pppd-2.3.9]



details:   https://anonhg.NetBSD.org/src/rev/7589e31fa5b1
branches:  trunk
changeset: 475748:7589e31fa5b1
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Aug 25 01:47:33 1999 +0000

description:
preliminary support for HDLCDISC [from pppd-2.3.9]

diffstat:

 sys/sys/ttycom.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r a91e859cf656 -r 7589e31fa5b1 sys/sys/ttycom.h
--- a/sys/sys/ttycom.h  Wed Aug 25 01:32:03 1999 +0000
+++ b/sys/sys/ttycom.h  Wed Aug 25 01:47:33 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ttycom.h,v 1.8 1998/03/26 02:45:01 jonathan Exp $      */
+/*     $NetBSD: ttycom.h,v 1.9 1999/08/25 01:47:33 christos Exp $      */
 
 /*-
  * Copyright (c) 1982, 1986, 1990, 1993, 1994
@@ -132,10 +132,15 @@
 #define        TIOCDCDTIMESTAMP _IOR('t', 88, struct timeval) /* get timestamp of last
                                                 * Cd rise, stamp next rise */
 
+#define        TIOCRCVFRAME    _IOW('t', 69, struct mbuf *)/* data frame received */
+#define        TIOCXMTFRAME    _IOW('t', 68, struct mbuf *)/* data frame transmit */
+
+
 #define        TTYDISC         0               /* termios tty line discipline */
 #define        TABLDISC        3               /* tablet discipline */
 #define        SLIPDISC        4               /* serial IP discipline */
 #define        PPPDISC         5               /* ppp discipline */
 #define        STRIPDISC       6               /* metricom wireless IP discipline */
+#define        HDLCDISC        7               /* HDLC discipline */
 
 #endif /* !_SYS_TTYCOM_H_ */



Home | Main Index | Thread Index | Old Index