summaryrefslogtreecommitdiffstats
path: root/sys/net/ppp_defs.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-10-31 20:24:14 +0000
committerpeter <peter@FreeBSD.org>1995-10-31 20:24:14 +0000
commit18198dc6cbc2178eaea2c011a25e4f486f366716 (patch)
treebbe2c8a9de5de2445eca1f83411b3c4f119c5662 /sys/net/ppp_defs.h
parent9fb3eefca02c03401d464f801905e8d705e232fa (diff)
downloadFreeBSD-src-18198dc6cbc2178eaea2c011a25e4f486f366716.zip
FreeBSD-src-18198dc6cbc2178eaea2c011a25e4f486f366716.tar.gz
Merge/update ppp-2.2 kernel parts onto mainline.
Note that the old if_ppp.c has been split in half into if_ppp.c and ppp_tty.c
Diffstat (limited to 'sys/net/ppp_defs.h')
-rw-r--r--sys/net/ppp_defs.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/net/ppp_defs.h b/sys/net/ppp_defs.h
index 77f01bb..db3eda2 100644
--- a/sys/net/ppp_defs.h
+++ b/sys/net/ppp_defs.h
@@ -1,4 +1,5 @@
-/* $Id: ppp_defs.h,v 1.7 1995/08/10 06:49:35 paulus Exp $ */
+/* from Id: ppp_defs.h,v 1.7 1995/08/10 06:49:35 paulus Exp */
+/* $Id$ */
/*
* ppp_defs.h - PPP definitions.
@@ -54,10 +55,13 @@
* Protocol field values.
*/
#define PPP_IP 0x21 /* Internet Protocol */
+#define PPP_XNS 0x25 /* Xerox NS */
+#define PPP_IPX 0x2b /* IPX Datagram (RFC1552) */
#define PPP_VJC_COMP 0x2d /* VJ compressed TCP */
#define PPP_VJC_UNCOMP 0x2f /* VJ uncompressed TCP */
#define PPP_COMP 0xfd /* compressed packet */
#define PPP_IPCP 0x8021 /* IP Control Protocol */
+#define PPP_IPXCP 0x802b /* IPX Control Protocol (RFC1552) */
#define PPP_CCP 0x80fd /* Compression Control Protocol */
#define PPP_LCP 0xc021 /* Link Control Protocol */
#define PPP_PAP 0xc023 /* Password Authentication Protocol */
@@ -74,7 +78,7 @@
/*
* A 32-bit unsigned integral type.
*/
-#if !defined(__BIT_TYPES_DEFINED__) && !defined(_BITYPES)
+#if !defined(__BIT_TYPES_DEFINED__) && !defined(_BITYPES) && !defined(__FreeBSD__)
#ifdef UINT32_T
typedef UINT32_T u_int32_t;
#else
OpenPOWER on IntegriCloud