summaryrefslogtreecommitdiffstats
path: root/contrib/tcpdump/ppp.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-11-14 11:28:11 +0000
committerbrian <brian@FreeBSD.org>1999-11-14 11:28:11 +0000
commit2d0abab14dc3ba2db1290d205d6f29b5e7641e8b (patch)
treee473c57b17212060fcb30782755a6e5cf4eedbd6 /contrib/tcpdump/ppp.h
parent775125a062ad5927b02ae8c2ef736ad340e2fb5d (diff)
downloadFreeBSD-src-2d0abab14dc3ba2db1290d205d6f29b5e7641e8b.zip
FreeBSD-src-2d0abab14dc3ba2db1290d205d6f29b5e7641e8b.tar.gz
Support PPPoE.
Add a missing comma to the lcp config options table.
Diffstat (limited to 'contrib/tcpdump/ppp.h')
-rw-r--r--contrib/tcpdump/ppp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/tcpdump/ppp.h b/contrib/tcpdump/ppp.h
index ccd546a..8bf94e3 100644
--- a/contrib/tcpdump/ppp.h
+++ b/contrib/tcpdump/ppp.h
@@ -14,17 +14,25 @@
* University. Carnegie Mellon makes no representations about the
* suitability of this software for any purpose. It is provided "as is"
* without express or implied warranty.
+ *
+ * $FreeBSD$
*/
+#undef PPP_ADDRESS
#define PPP_ADDRESS 0xff /* The address byte value */
+#undef PPP_CONTROL
#define PPP_CONTROL 0x03 /* The control byte value */
/* Protocol numbers */
+#ifndef PPP_IP
#define PPP_IP 0x0021 /* Raw IP */
+#endif
#define PPP_OSI 0x0023 /* OSI Network Layer */
#define PPP_NS 0x0025 /* Xerox NS IDP */
#define PPP_DECNET 0x0027 /* DECnet Phase IV */
#define PPP_APPLE 0x0029 /* Appletalk */
+#ifndef PPP_IPX
#define PPP_IPX 0x002b /* Novell IPX */
+#endif
#define PPP_VJC 0x002d /* Van Jacobson Compressed TCP/IP */
#define PPP_VJNC 0x002f /* Van Jacobson Uncompressed TCP/IP */
#define PPP_BRPDU 0x0031 /* Bridging PDU */
OpenPOWER on IntegriCloud