summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/net/if_ppp.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-03-26 08:06:30 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-03-26 08:06:30 +0000
commitf4ebd28fcb0184cdefd6d8a23df00d1882d6f495 (patch)
tree1e3ac91b209124bbc42e76b1a6a4be12badf7c95 /cpukit/libnetworking/net/if_ppp.h
parent2007-03-26 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-f4ebd28fcb0184cdefd6d8a23df00d1882d6f495.tar.bz2
Partial update from FreeBSD.
Diffstat (limited to 'cpukit/libnetworking/net/if_ppp.h')
-rw-r--r--cpukit/libnetworking/net/if_ppp.h21
1 files changed, 16 insertions, 5 deletions
diff --git a/cpukit/libnetworking/net/if_ppp.h b/cpukit/libnetworking/net/if_ppp.h
index 17cc4f09e0..07430e3081 100644
--- a/cpukit/libnetworking/net/if_ppp.h
+++ b/cpukit/libnetworking/net/if_ppp.h
@@ -1,5 +1,3 @@
-/* $Id$ */
-
/*
* if_ppp.h - Point-to-Point Protocol definitions.
*
@@ -16,13 +14,26 @@
* from this software without specific prior written permission.
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
- * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * $FreeBSD: src/sys/net/if_ppp.h,v 1.15 2005/01/07 01:45:34 imp Exp $
+ */
+
+/*
+ * $Id$
*/
#ifndef _IF_PPP_H_
#define _IF_PPP_H_
/*
+ * Packet sizes
+ */
+#define PPP_MTU 1500 /* Default MTU (size of Info field) */
+#define PPP_MAXMRU 65000 /* Largest MRU we allow */
+#define PPP_MAXMTU 16384 /* Largest MTU we allow */
+
+/*
* Bit definitions for flags.
*/
#define SC_COMP_PROT 0x00000001 /* protocol compression (output) */
@@ -50,8 +61,8 @@
*/
#define SC_TIMEOUT 0x00000400 /* timeout is currently pending */
#define SC_VJ_RESET 0x00000800 /* need to reset VJ decomp */
-#define SC_COMP_RUN 0x00001000 /* compressor has been inited */
-#define SC_DECOMP_RUN 0x00002000 /* decompressor has been inited */
+#define SC_COMP_RUN 0x00001000 /* compressor has been initiated */
+#define SC_DECOMP_RUN 0x00002000 /* decompressor has been initiated */
#define SC_DC_ERROR 0x00004000 /* non-fatal decomp error detected */
#define SC_DC_FERROR 0x00008000 /* fatal decomp error detected */
#define SC_TBUSY 0x10000000 /* xmitter doesn't need a packet yet */