1*76404edcSAsim Jamshed /* @(#) $Header: /usr/cvsroot/sfeng/ims/src/libraries/daq/daq/sfbpf/ppp.h,v 1.1 2010/04/15 19:18:35 maltizer Exp $ (LBL) */ 2*76404edcSAsim Jamshed /* 3*76404edcSAsim Jamshed * Point to Point Protocol (PPP) RFC1331 4*76404edcSAsim Jamshed * 5*76404edcSAsim Jamshed * Copyright 1989 by Carnegie Mellon. 6*76404edcSAsim Jamshed * 7*76404edcSAsim Jamshed * Permission to use, copy, modify, and distribute this program for any 8*76404edcSAsim Jamshed * purpose and without fee is hereby granted, provided that this copyright 9*76404edcSAsim Jamshed * and permission notice appear on all copies and supporting documentation, 10*76404edcSAsim Jamshed * the name of Carnegie Mellon not be used in advertising or publicity 11*76404edcSAsim Jamshed * pertaining to distribution of the program without specific prior 12*76404edcSAsim Jamshed * permission, and notice be given in supporting documentation that copying 13*76404edcSAsim Jamshed * and distribution is by permission of Carnegie Mellon and Stanford 14*76404edcSAsim Jamshed * University. Carnegie Mellon makes no representations about the 15*76404edcSAsim Jamshed * suitability of this software for any purpose. It is provided "as is" 16*76404edcSAsim Jamshed * without express or implied warranty. 17*76404edcSAsim Jamshed */ 18*76404edcSAsim Jamshed #define PPP_ADDRESS 0xff /* The address byte value */ 19*76404edcSAsim Jamshed #define PPP_CONTROL 0x03 /* The control byte value */ 20*76404edcSAsim Jamshed 21*76404edcSAsim Jamshed #define PPP_PPPD_IN 0x00 /* non-standard for DLT_PPP_PPPD */ 22*76404edcSAsim Jamshed #define PPP_PPPD_OUT 0x01 /* non-standard for DLT_PPP_PPPD */ 23*76404edcSAsim Jamshed 24*76404edcSAsim Jamshed /* Protocol numbers */ 25*76404edcSAsim Jamshed #define PPP_IP 0x0021 /* Raw IP */ 26*76404edcSAsim Jamshed #define PPP_OSI 0x0023 /* OSI Network Layer */ 27*76404edcSAsim Jamshed #define PPP_NS 0x0025 /* Xerox NS IDP */ 28*76404edcSAsim Jamshed #define PPP_DECNET 0x0027 /* DECnet Phase IV */ 29*76404edcSAsim Jamshed #define PPP_APPLE 0x0029 /* Appletalk */ 30*76404edcSAsim Jamshed #define PPP_IPX 0x002b /* Novell IPX */ 31*76404edcSAsim Jamshed #define PPP_VJC 0x002d /* Van Jacobson Compressed TCP/IP */ 32*76404edcSAsim Jamshed #define PPP_VJNC 0x002f /* Van Jacobson Uncompressed TCP/IP */ 33*76404edcSAsim Jamshed #define PPP_BRPDU 0x0031 /* Bridging PDU */ 34*76404edcSAsim Jamshed #define PPP_STII 0x0033 /* Stream Protocol (ST-II) */ 35*76404edcSAsim Jamshed #define PPP_VINES 0x0035 /* Banyan Vines */ 36*76404edcSAsim Jamshed #define PPP_IPV6 0x0057 /* Internet Protocol version 6 */ 37*76404edcSAsim Jamshed 38*76404edcSAsim Jamshed #define PPP_HELLO 0x0201 /* 802.1d Hello Packets */ 39*76404edcSAsim Jamshed #define PPP_LUXCOM 0x0231 /* Luxcom */ 40*76404edcSAsim Jamshed #define PPP_SNS 0x0233 /* Sigma Network Systems */ 41*76404edcSAsim Jamshed #define PPP_MPLS_UCAST 0x0281 /* rfc 3032 */ 42*76404edcSAsim Jamshed #define PPP_MPLS_MCAST 0x0283 /* rfc 3022 */ 43*76404edcSAsim Jamshed 44*76404edcSAsim Jamshed #define PPP_IPCP 0x8021 /* IP Control Protocol */ 45*76404edcSAsim Jamshed #define PPP_OSICP 0x8023 /* OSI Network Layer Control Protocol */ 46*76404edcSAsim Jamshed #define PPP_NSCP 0x8025 /* Xerox NS IDP Control Protocol */ 47*76404edcSAsim Jamshed #define PPP_DECNETCP 0x8027 /* DECnet Control Protocol */ 48*76404edcSAsim Jamshed #define PPP_APPLECP 0x8029 /* Appletalk Control Protocol */ 49*76404edcSAsim Jamshed #define PPP_IPXCP 0x802b /* Novell IPX Control Protocol */ 50*76404edcSAsim Jamshed #define PPP_STIICP 0x8033 /* Strean Protocol Control Protocol */ 51*76404edcSAsim Jamshed #define PPP_VINESCP 0x8035 /* Banyan Vines Control Protocol */ 52*76404edcSAsim Jamshed #define PPP_IPV6CP 0x8057 /* IPv6 Control Protocol */ 53*76404edcSAsim Jamshed #define PPP_MPLSCP 0x8281 /* rfc 3022 */ 54*76404edcSAsim Jamshed 55*76404edcSAsim Jamshed #define PPP_LCP 0xc021 /* Link Control Protocol */ 56*76404edcSAsim Jamshed #define PPP_PAP 0xc023 /* Password Authentication Protocol */ 57*76404edcSAsim Jamshed #define PPP_LQM 0xc025 /* Link Quality Monitoring */ 58*76404edcSAsim Jamshed #define PPP_CHAP 0xc223 /* Challenge Handshake Authentication Protocol */ 59