141c99275SPeter Avalos /* 241c99275SPeter Avalos * Point to Point Protocol (PPP) RFC1331 341c99275SPeter Avalos * 441c99275SPeter Avalos * Copyright 1989 by Carnegie Mellon. 541c99275SPeter Avalos * 641c99275SPeter Avalos * Permission to use, copy, modify, and distribute this program for any 741c99275SPeter Avalos * purpose and without fee is hereby granted, provided that this copyright 841c99275SPeter Avalos * and permission notice appear on all copies and supporting documentation, 941c99275SPeter Avalos * the name of Carnegie Mellon not be used in advertising or publicity 1041c99275SPeter Avalos * pertaining to distribution of the program without specific prior 1141c99275SPeter Avalos * permission, and notice be given in supporting documentation that copying 1241c99275SPeter Avalos * and distribution is by permission of Carnegie Mellon and Stanford 1341c99275SPeter Avalos * University. Carnegie Mellon makes no representations about the 1441c99275SPeter Avalos * suitability of this software for any purpose. It is provided "as is" 1541c99275SPeter Avalos * without express or implied warranty. 1641c99275SPeter Avalos */ 1741c99275SPeter Avalos #define PPP_HDRLEN 4 /* length of PPP header */ 1841c99275SPeter Avalos 1941c99275SPeter Avalos #define PPP_ADDRESS 0xff /* The address byte value */ 2041c99275SPeter Avalos #define PPP_CONTROL 0x03 /* The control byte value */ 2141c99275SPeter Avalos 22*ed775ee7SAntonio Huete Jimenez #define PPP_PPPD_IN 0x00 /* non-standard for DLT_PPP_PPPD */ 23*ed775ee7SAntonio Huete Jimenez #define PPP_PPPD_OUT 0x01 /* non-standard for DLT_PPP_PPPD */ 2441c99275SPeter Avalos 2541c99275SPeter Avalos /* Protocol numbers */ 2641c99275SPeter Avalos #define PPP_IP 0x0021 /* Raw IP */ 2741c99275SPeter Avalos #define PPP_OSI 0x0023 /* OSI Network Layer */ 2841c99275SPeter Avalos #define PPP_NS 0x0025 /* Xerox NS IDP */ 2941c99275SPeter Avalos #define PPP_DECNET 0x0027 /* DECnet Phase IV */ 3041c99275SPeter Avalos #define PPP_APPLE 0x0029 /* Appletalk */ 3141c99275SPeter Avalos #define PPP_IPX 0x002b /* Novell IPX */ 3241c99275SPeter Avalos #define PPP_VJC 0x002d /* Van Jacobson Compressed TCP/IP */ 3341c99275SPeter Avalos #define PPP_VJNC 0x002f /* Van Jacobson Uncompressed TCP/IP */ 3441c99275SPeter Avalos #define PPP_BRPDU 0x0031 /* Bridging PDU */ 3541c99275SPeter Avalos #define PPP_STII 0x0033 /* Stream Protocol (ST-II) */ 3641c99275SPeter Avalos #define PPP_VINES 0x0035 /* Banyan Vines */ 3741c99275SPeter Avalos #define PPP_ML 0x003d /* Multi-Link PPP */ 3841c99275SPeter Avalos #define PPP_IPV6 0x0057 /* IPv6 */ 3941c99275SPeter Avalos #define PPP_COMP 0x00fd /* Compressed Datagram */ 4041c99275SPeter Avalos 4141c99275SPeter Avalos #define PPP_HELLO 0x0201 /* 802.1d Hello Packets */ 4241c99275SPeter Avalos #define PPP_LUXCOM 0x0231 /* Luxcom */ 4341c99275SPeter Avalos #define PPP_SNS 0x0233 /* Sigma Network Systems */ 4441c99275SPeter Avalos #define PPP_MPLS_UCAST 0x0281 /* rfc 3032 */ 4541c99275SPeter Avalos #define PPP_MPLS_MCAST 0x0283 /* rfc 3022 */ 4641c99275SPeter Avalos 4741c99275SPeter Avalos #define PPP_IPCP 0x8021 /* IP Control Protocol */ 4841c99275SPeter Avalos #define PPP_OSICP 0x8023 /* OSI Network Layer Control Protocol */ 4941c99275SPeter Avalos #define PPP_NSCP 0x8025 /* Xerox NS IDP Control Protocol */ 5041c99275SPeter Avalos #define PPP_DECNETCP 0x8027 /* DECnet Control Protocol */ 5141c99275SPeter Avalos #define PPP_APPLECP 0x8029 /* Appletalk Control Protocol */ 5241c99275SPeter Avalos #define PPP_IPXCP 0x802b /* Novell IPX Control Protocol */ 5341c99275SPeter Avalos #define PPP_STIICP 0x8033 /* Strean Protocol Control Protocol */ 5441c99275SPeter Avalos #define PPP_VINESCP 0x8035 /* Banyan Vines Control Protocol */ 5541c99275SPeter Avalos #define PPP_IPV6CP 0x8057 /* IPv6 Control Protocol */ 5641c99275SPeter Avalos #define PPP_CCP 0x80fd /* Compress Control Protocol */ 5741c99275SPeter Avalos #define PPP_MPLSCP 0x8281 /* rfc 3022 */ 5841c99275SPeter Avalos 5941c99275SPeter Avalos #define PPP_LCP 0xc021 /* Link Control Protocol */ 6041c99275SPeter Avalos #define PPP_PAP 0xc023 /* Password Authentication Protocol */ 6141c99275SPeter Avalos #define PPP_LQM 0xc025 /* Link Quality Monitoring */ 6241c99275SPeter Avalos #define PPP_SPAP 0xc027 6341c99275SPeter Avalos #define PPP_CHAP 0xc223 /* Challenge Handshake Authentication Protocol */ 6441c99275SPeter Avalos #define PPP_BACP 0xc02b /* Bandwidth Allocation Control Protocol */ 6541c99275SPeter Avalos #define PPP_BAP 0xc02d /* BAP */ 6641c99275SPeter Avalos #define PPP_MPCP 0xc03d /* Multi-Link */ 6741c99275SPeter Avalos #define PPP_SPAP_OLD 0xc123 6841c99275SPeter Avalos #define PPP_EAP 0xc227 69