1214518Srpaulo/* @(#) $Header: /tcpdump/master/libpcap/ppp.h,v 1.12 2005-02-08 19:52:19 guy Exp $ (LBL) */ 239291Sfenner/* 339291Sfenner * Point to Point Protocol (PPP) RFC1331 439291Sfenner * 539291Sfenner * Copyright 1989 by Carnegie Mellon. 639291Sfenner * 739291Sfenner * Permission to use, copy, modify, and distribute this program for any 839291Sfenner * purpose and without fee is hereby granted, provided that this copyright 939291Sfenner * and permission notice appear on all copies and supporting documentation, 1039291Sfenner * the name of Carnegie Mellon not be used in advertising or publicity 1139291Sfenner * pertaining to distribution of the program without specific prior 1239291Sfenner * permission, and notice be given in supporting documentation that copying 1339291Sfenner * and distribution is by permission of Carnegie Mellon and Stanford 1439291Sfenner * University. Carnegie Mellon makes no representations about the 1539291Sfenner * suitability of this software for any purpose. It is provided "as is" 1639291Sfenner * without express or implied warranty. 1739291Sfenner */ 1839291Sfenner#define PPP_ADDRESS 0xff /* The address byte value */ 1939291Sfenner#define PPP_CONTROL 0x03 /* The control byte value */ 2039291Sfenner 21146768Ssam#define PPP_PPPD_IN 0x00 /* non-standard for DLT_PPP_PPPD */ 22146768Ssam#define PPP_PPPD_OUT 0x01 /* non-standard for DLT_PPP_PPPD */ 23146768Ssam 2439291Sfenner/* Protocol numbers */ 2539291Sfenner#define PPP_IP 0x0021 /* Raw IP */ 2639291Sfenner#define PPP_OSI 0x0023 /* OSI Network Layer */ 2739291Sfenner#define PPP_NS 0x0025 /* Xerox NS IDP */ 2839291Sfenner#define PPP_DECNET 0x0027 /* DECnet Phase IV */ 2939291Sfenner#define PPP_APPLE 0x0029 /* Appletalk */ 3039291Sfenner#define PPP_IPX 0x002b /* Novell IPX */ 3139291Sfenner#define PPP_VJC 0x002d /* Van Jacobson Compressed TCP/IP */ 3239291Sfenner#define PPP_VJNC 0x002f /* Van Jacobson Uncompressed TCP/IP */ 3339291Sfenner#define PPP_BRPDU 0x0031 /* Bridging PDU */ 3439291Sfenner#define PPP_STII 0x0033 /* Stream Protocol (ST-II) */ 3539291Sfenner#define PPP_VINES 0x0035 /* Banyan Vines */ 3656889Sfenner#define PPP_IPV6 0x0057 /* Internet Protocol version 6 */ 3739291Sfenner 3839291Sfenner#define PPP_HELLO 0x0201 /* 802.1d Hello Packets */ 3939291Sfenner#define PPP_LUXCOM 0x0231 /* Luxcom */ 4039291Sfenner#define PPP_SNS 0x0233 /* Sigma Network Systems */ 41146768Ssam#define PPP_MPLS_UCAST 0x0281 /* rfc 3032 */ 42146768Ssam#define PPP_MPLS_MCAST 0x0283 /* rfc 3022 */ 4339291Sfenner 4439291Sfenner#define PPP_IPCP 0x8021 /* IP Control Protocol */ 4539291Sfenner#define PPP_OSICP 0x8023 /* OSI Network Layer Control Protocol */ 4639291Sfenner#define PPP_NSCP 0x8025 /* Xerox NS IDP Control Protocol */ 4739291Sfenner#define PPP_DECNETCP 0x8027 /* DECnet Control Protocol */ 4839291Sfenner#define PPP_APPLECP 0x8029 /* Appletalk Control Protocol */ 4939291Sfenner#define PPP_IPXCP 0x802b /* Novell IPX Control Protocol */ 5039291Sfenner#define PPP_STIICP 0x8033 /* Strean Protocol Control Protocol */ 5139291Sfenner#define PPP_VINESCP 0x8035 /* Banyan Vines Control Protocol */ 5256889Sfenner#define PPP_IPV6CP 0x8057 /* IPv6 Control Protocol */ 53146768Ssam#define PPP_MPLSCP 0x8281 /* rfc 3022 */ 5439291Sfenner 5539291Sfenner#define PPP_LCP 0xc021 /* Link Control Protocol */ 5639291Sfenner#define PPP_PAP 0xc023 /* Password Authentication Protocol */ 5739291Sfenner#define PPP_LQM 0xc025 /* Link Quality Monitoring */ 5839291Sfenner#define PPP_CHAP 0xc223 /* Challenge Handshake Authentication Protocol */ 59