Show the "negotiable/non-negotiable" flags as such.
[obnox/wireshark/wip.git] / ppptypes.h
1 /* ppptypes.h
2  * Defines PPP packet types.
3  *
4  * $Id: ppptypes.h,v 1.11 2002/01/03 20:30:32 guy Exp $
5  *
6  * Ethereal - Network traffic analyzer
7  * By Gerald Combs <gerald@zing.org>
8  * Copyright 1998 Gerald Combs
9  *
10  * 
11  * This program is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU General Public License
13  * as published by the Free Software Foundation; either version 2
14  * of the License, or (at your option) any later version.
15  * 
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  * 
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
24  */
25
26 #ifndef __PPPTYPES_H__
27 #define __PPPTYPES_H__
28
29 /* Protocol types, from Linux "ppp_defs.h" and
30
31         http://www.isi.edu/in-notes/iana/assignments/ppp-numbers
32
33  */
34 #define PPP_IP          0x21    /* Internet Protocol */
35 #define PPP_OSI         0x23    /* OSI Protocol */
36 #define PPP_AT          0x29    /* AppleTalk Protocol */
37 #define PPP_IPX         0x2b    /* IPX protocol */
38 #define PPP_VJC_COMP    0x2d    /* VJ compressed TCP */
39 #define PPP_VJC_UNCOMP  0x2f    /* VJ uncompressed TCP */
40 #define PPP_BPDU        0x31    /* Bridging PDU (spanning tree BPDU?) */
41 #define PPP_VINES       0x35    /* Banyan Vines */
42 #define PPP_MP          0x3d    /* Multilink PPP */
43 #define PPP_IPV6        0x57    /* Internet Protocol Version 6 */
44 #define PPP_MUX         0x59    /* PPP Multiplexing */
45 #define PPP_COMP        0xfd    /* compressed packet */
46 #define PPP_DEC_LB      0x0205  /* DEC LANBridge100 Spanning Tree */
47 #define PPP_MPLS_UNI    0x0281  /* MPLS Unicast */
48 #define PPP_MPLS_MULTI  0x0283  /* MPLS Multicast */
49 #define PPP_IPCP        0x8021  /* IP Control Protocol */
50 #define PPP_OSICP       0x8023  /* OSI Control Protocol */
51 #define PPP_ATCP        0x8029  /* AppleTalk Control Protocol */
52 #define PPP_IPXCP       0x802b  /* IPX Control Protocol */
53 #define PPP_MUXCP       0x8059  /* PPPMux Control Protocol */ 
54 #define PPP_CCP         0x80fd  /* Compression Control Protocol */
55 #define PPP_LCP         0xc021  /* Link Control Protocol */
56 #define PPP_PAP         0xc023  /* Password Authentication Protocol */
57 #define PPP_LQR         0xc025  /* Link Quality Report protocol */
58 #define PPP_SPAP        0xc027  /* Shiva Password Authentication Protocol */
59 #define PPP_CHAP        0xc223  /* Cryptographic Handshake Auth. Protocol */
60 #define PPP_EAP         0xc227  /* Extensible Authentication Protocol */
61 #define PPP_CBCP        0xc029  /* Callback Control Protocol */
62 #define PPP_BACP        0xc02b  /* Bandwidth Allocation Control Protocol */
63 #define PPP_BAP         0xc02d  /* Bandwidth Allocation Protocol */
64
65 #endif /* ppptypes.h */