summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/hdlc.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-06-01 01:13:04 +0000
committerbrian <brian@FreeBSD.org>1997-06-01 01:13:04 +0000
commit0e779533082753004e1e3529858c07205320d59e (patch)
tree7b1245c42d5ae5109b2a350b44a59a19e8c5599b /usr.sbin/ppp/hdlc.h
parenta7842e1d2874acd07105c22a85f8881dad6c596c (diff)
downloadFreeBSD-src-0e779533082753004e1e3529858c07205320d59e.zip
FreeBSD-src-0e779533082753004e1e3529858c07205320d59e.tar.gz
Implement "set mtu" command to allow the client to
reduce the interface mtu. Allow max mru spec of 16k. Add "show m[rt]u" ability.
Diffstat (limited to 'usr.sbin/ppp/hdlc.h')
-rw-r--r--usr.sbin/ppp/hdlc.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/ppp/hdlc.h b/usr.sbin/ppp/hdlc.h
index f626f3f..683d02e 100644
--- a/usr.sbin/ppp/hdlc.h
+++ b/usr.sbin/ppp/hdlc.h
@@ -15,7 +15,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id$
+ * $Id: hdlc.h,v 1.6 1997/02/22 16:10:17 peter Exp $
*
* TODO:
*/
@@ -39,9 +39,13 @@
#define GOODFCS 0xf0b8 /* Good FCS value */
#define DEF_MRU 1500
-#define MAX_MRU 2000
+#define MAX_MRU 16384
#define MIN_MRU 296
+#define DEF_MTU 0 /* whatever peer says */
+#define MAX_MTU 16384
+#define MIN_MTU 296
+
/*
* Output priority
*/
OpenPOWER on IntegriCloud