1335640Shselasky/* 2335640Shselasky * Point to Point Protocol (PPP) RFC1331 3335640Shselasky * 4335640Shselasky * Copyright 1989 by Carnegie Mellon. 5335640Shselasky * 6335640Shselasky * Permission to use, copy, modify, and distribute this program for any 7335640Shselasky * purpose and without fee is hereby granted, provided that this copyright 8335640Shselasky * and permission notice appear on all copies and supporting documentation, 9335640Shselasky * the name of Carnegie Mellon not be used in advertising or publicity 10335640Shselasky * pertaining to distribution of the program without specific prior 11335640Shselasky * permission, and notice be given in supporting documentation that copying 12335640Shselasky * and distribution is by permission of Carnegie Mellon and Stanford 13335640Shselasky * University. Carnegie Mellon makes no representations about the 14335640Shselasky * suitability of this software for any purpose. It is provided "as is" 15335640Shselasky * without express or implied warranty. 16335640Shselasky */ 17335640Shselasky#define PPP_ADDRESS 0xff /* The address byte value */ 18335640Shselasky#define PPP_CONTROL 0x03 /* The control byte value */ 19335640Shselasky 20335640Shselasky#define PPP_PPPD_IN 0x00 /* non-standard for DLT_PPP_PPPD */ 21335640Shselasky#define PPP_PPPD_OUT 0x01 /* non-standard for DLT_PPP_PPPD */ 22335640Shselasky 23335640Shselasky/* Protocol numbers */ 24335640Shselasky#define PPP_IP 0x0021 /* Raw IP */ 25335640Shselasky#define PPP_OSI 0x0023 /* OSI Network Layer */ 26335640Shselasky#define PPP_NS 0x0025 /* Xerox NS IDP */ 27335640Shselasky#define PPP_DECNET 0x0027 /* DECnet Phase IV */ 28335640Shselasky#define PPP_APPLE 0x0029 /* Appletalk */ 29335640Shselasky#define PPP_IPX 0x002b /* Novell IPX */ 30335640Shselasky#define PPP_VJC 0x002d /* Van Jacobson Compressed TCP/IP */ 31335640Shselasky#define PPP_VJNC 0x002f /* Van Jacobson Uncompressed TCP/IP */ 32335640Shselasky#define PPP_BRPDU 0x0031 /* Bridging PDU */ 33335640Shselasky#define PPP_STII 0x0033 /* Stream Protocol (ST-II) */ 34335640Shselasky#define PPP_VINES 0x0035 /* Banyan Vines */ 35335640Shselasky#define PPP_IPV6 0x0057 /* Internet Protocol version 6 */ 36335640Shselasky 37335640Shselasky#define PPP_HELLO 0x0201 /* 802.1d Hello Packets */ 38335640Shselasky#define PPP_LUXCOM 0x0231 /* Luxcom */ 39335640Shselasky#define PPP_SNS 0x0233 /* Sigma Network Systems */ 40335640Shselasky#define PPP_MPLS_UCAST 0x0281 /* rfc 3032 */ 41335640Shselasky#define PPP_MPLS_MCAST 0x0283 /* rfc 3022 */ 42335640Shselasky 43335640Shselasky#define PPP_IPCP 0x8021 /* IP Control Protocol */ 44335640Shselasky#define PPP_OSICP 0x8023 /* OSI Network Layer Control Protocol */ 45335640Shselasky#define PPP_NSCP 0x8025 /* Xerox NS IDP Control Protocol */ 46335640Shselasky#define PPP_DECNETCP 0x8027 /* DECnet Control Protocol */ 47335640Shselasky#define PPP_APPLECP 0x8029 /* Appletalk Control Protocol */ 48335640Shselasky#define PPP_IPXCP 0x802b /* Novell IPX Control Protocol */ 49335640Shselasky#define PPP_STIICP 0x8033 /* Strean Protocol Control Protocol */ 50335640Shselasky#define PPP_VINESCP 0x8035 /* Banyan Vines Control Protocol */ 51335640Shselasky#define PPP_IPV6CP 0x8057 /* IPv6 Control Protocol */ 52335640Shselasky#define PPP_MPLSCP 0x8281 /* rfc 3022 */ 53335640Shselasky 54335640Shselasky#define PPP_LCP 0xc021 /* Link Control Protocol */ 55335640Shselasky#define PPP_PAP 0xc023 /* Password Authentication Protocol */ 56335640Shselasky#define PPP_LQM 0xc025 /* Link Quality Monitoring */ 57335640Shselasky#define PPP_CHAP 0xc223 /* Challenge Handshake Authentication Protocol */ 58