2 * Defines PPP packet types.
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 1998 Gerald Combs
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.
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.
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.
26 #ifndef __PPPTYPES_H__
27 #define __PPPTYPES_H__
29 /* Protocol types, from Linux "ppp_defs.h" and
31 http://www.iana.org/assignments/ppp-numbers
34 #define PPP_PADDING 0x1 /* Padding Protocol */
35 #define PPP_ROHC_SCID 0x3 /* ROHC small-CID */
36 #define PPP_ROHC_LCID 0x5 /* ROHC large-CID */
37 #define PPP_IP 0x21 /* Internet Protocol */
38 #define PPP_OSI 0x23 /* OSI Protocol */
39 #define PPP_DEC4 0x25 /* DECnet Phase IV */
40 #define PPP_AT 0x29 /* AppleTalk Protocol */
41 #define PPP_IPX 0x2b /* IPX protocol */
42 #define PPP_VJC_COMP 0x2d /* VJ compressed TCP */
43 #define PPP_VJC_UNCOMP 0x2f /* VJ uncompressed TCP */
44 #define PPP_BPDU 0x31 /* Bridging PDU (spanning tree BPDU?) */
45 #define PPP_ST 0x33 /* Stream Protocol (ST-II) */
46 #define PPP_VINES 0x35 /* Banyan Vines */
47 #define PPP_AT_EDDP 0x39 /* AppleTalk EDDP */
48 #define PPP_AT_SB 0x3b /* AppleTalk SmartBuffered */
49 #define PPP_MP 0x3d /* Multilink PPP */
50 #define PPP_NB 0x3f /* NETBIOS Framing */
51 #define PPP_CISCO 0x41 /* Cisco Systems */
52 #define PPP_ASCOM 0x43 /* Ascom Timeplex */
53 #define PPP_LBLB 0x45 /* Fujitsu Link Backup and Load Balancing */
54 #define PPP_RL 0x47 /* DCA Remote Lan */
55 #define PPP_SDTP 0x49 /* Serial Data Transport Protocol */
56 #define PPP_LLC 0x4b /* SNA over LLC */
57 #define PPP_SNA 0x4d /* SNA */
58 #define PPP_IPV6HC 0x4f /* IPv6 Header Compression */
59 #define PPP_KNX 0x51 /* KNX Bridging Data */
60 #define PPP_ENCRYPT 0x53 /* Encryption */
61 #define PPP_ILE 0x55 /* Individual Link Encryption */
62 #define PPP_IPV6 0x57 /* Internet Protocol Version 6 */
63 #define PPP_MUX 0x59 /* PPP Multiplexing */
64 #define PPP_RTP_FH 0x61 /* RTP IPHC Full Header */
65 #define PPP_RTP_CTCP 0x63 /* RTP IPHC Compressed TCP */
66 #define PPP_RTP_CNTCP 0x65 /* RTP IPHC Compressed Non TCP */
67 #define PPP_RTP_CUDP8 0x67 /* RTP IPHC Compressed UDP 8 */
68 #define PPP_RTP_CRTP8 0x69 /* RTP IPHC Compressed RTP 8 */
69 #define PPP_STAMPEDE 0x6f /* Stampede Bridging */
70 #define PPP_MPPLUS 0x73 /* MP+ Protocol */
71 #define PPP_NTCITS_IPI 0xc1 /* NTCITS IPI */
72 #define PPP_ML_SLCOMP 0xfb /* single link compression in multilink */
73 #define PPP_COMP 0xfd /* compressed packet */
74 #define PPP_STP_HELLO 0x0201 /* 802.1d Hello Packet */
75 #define PPP_IBM_SR 0x0203 /* IBM Source Routing BPDU */
76 #define PPP_DEC_LB 0x0205 /* DEC LANBridge100 Spanning Tree */
77 #define PPP_CDP 0x0207 /* Cisco Discovery Protocol */
78 #define PPP_NETCS 0x0209 /* Netcs Twin Routing */
79 #define PPP_STP 0x020b /* Scheduled Transfer Protocol */
80 #define PPP_EDP 0x020d /* Extreme Discovery Protocol */
81 #define PPP_OSCP 0x0211 /* Optical Supervisory Channel Protocol */
82 #define PPP_OSCP2 0x0213 /* Optical Supervisory Channel Protocol */
83 #define PPP_LUXCOM 0x0231 /* Luxcom */
84 #define PPP_SIGMA 0x0233 /* Sigma Network Systems */
85 #define PPP_ACSP 0x0235 /* Apple Client Server Protocol */
86 #define PPP_MPLS_UNI 0x0281 /* MPLS Unicast */
87 #define PPP_MPLS_MULTI 0x0283 /* MPLS Multicast */
88 #define PPP_P12844 0x0285 /* IEEE p1284.4 standard - data packets */
89 #define PPP_ETSI 0x0287 /* ETSI TETRA Networks Procotol Type 1 */
90 #define PPP_MFTP 0x0289 /* Multichannel Flow Treatment Protocol */
91 #define PPP_RTP_CTCPND 0x2063 /* RTP IPHC Compressed TCP No Delta */
92 #define PPP_RTP_CS 0x2065 /* RTP IPHC Context State */
93 #define PPP_RTP_CUDP16 0x2067 /* RTP IPHC Compressed UDP 16 */
94 #define PPP_RTP_CRDP16 0x2069 /* RTP IPHC Compressed RTP 16 */
95 #define PPP_CCCP 0x4001 /* Cray Communications Control Protocol */
96 #define PPP_CDPD_MNRP 0x4003 /* CDPD Mobile Network Registration Protocol */
97 #define PPP_EXPANDAP 0x4005 /* Expand accelarator protocol */
98 #define PPP_ODSICP 0x4007 /* ODSICP NCP */
99 #define PPP_DOCSIS 0x4009 /* DOCSIS DLL */
100 #define PPP_LZS 0x4021 /* Stacker LZS */
101 #define PPP_REFTEK 0x4023 /* RefTek Protocol */
102 #define PPP_FC 0x4025 /* Fibre Channel */
103 #define PPP_EMIT 0x4027 /* EMIT Protocols */
104 #define PPP_IPCP 0x8021 /* IP Control Protocol */
105 #define PPP_OSICP 0x8023 /* OSI Control Protocol */
106 #define PPP_XNSIDPCP 0x8025 /* Xerox NS IDP Control Protocol */
107 #define PPP_DECNETCP 0x8027 /* DECnet Phase IV Control Protocol */
108 #define PPP_ATCP 0x8029 /* AppleTalk Control Protocol */
109 #define PPP_IPXCP 0x802b /* IPX Control Protocol */
110 #define PPP_BRIDGENCP 0x8031 /* Bridging NCP */
111 #define PPP_SPCP 0x8033 /* Stream Protocol Control Protocol */
112 #define PPP_BVCP 0x8035 /* Banyan Vines Control Protocol */
113 #define PPP_MLCP 0x803d /* Multi-Link Control Protocol */
114 #define PPP_NBCP 0x803f /* NETBIOS Framing Control Protocol */
115 #define PPP_CISCOCP 0x8041 /* Cisco Systems Control Protocol */
116 #define PPP_ASCOMCP 0x8043 /* Ascom Timeplex Control Protocol (?) */
117 #define PPP_LBLBCP 0x8045 /* Fujitsu LBLB Control Protocol */
118 #define PPP_RLNCP 0x8047 /* DCA Remote Lan Network Control Protocol */
119 #define PPP_SDCP 0x8049 /* Serial Data Control Protocol */
120 #define PPP_LLCCP 0x804b /* SNA over LLC Control Protocol */
121 #define PPP_SNACP 0x804d /* SNA Control Protocol */
122 #define PPP_KNXCP 0x8051 /* KNX Bridging Control Protocol */
123 #define PPP_ECP 0x8053 /* Encryption Control Protocol */
124 #define PPP_ILECP 0x8055 /* Individual Encryption Control Protocol */
125 #define PPP_IPV6CP 0x8057 /* IPv6 Control Protocol */
126 #define PPP_MUXCP 0x8059 /* PPPMux Control Protocol */
127 #define PPP_STAMPEDECP 0x806f /* Stampede Bridging Control Protocol */
128 #define PPP_MPPCP 0x8073 /* MP+ Contorol Protocol */
129 #define PPP_IPICP 0x80c1 /* NTCITS IPI Control Protocol */
130 #define PPP_SLCC 0x80fb /* single link compression in multilink control */
131 #define PPP_CCP 0x80fd /* Compression Control Protocol */
132 #define PPP_CDPCP 0x8207 /* Cisco Discovery Protocol Control Protocol */
133 #define PPP_NETCSCP 0x8209 /* Netcs Twin Routing */
134 #define PPP_STPCP 0x820b /* STP - Control Protocol */
135 #define PPP_EDPCP 0x820d /* Extreme Discovery Protocol Control Protocol */
136 #define PPP_ACSPC 0x8235 /* Apple Client Server Protocol Control */
137 #define PPP_MPLSCP 0x8281 /* MPLS Control Protocol */
138 #define PPP_P12844CP 0x8285 /* IEEE p1284.4 standard - Protocol Control */
139 #define PPP_ETSICP 0x8287 /* ETSI TETRA TNP1 Control Protocol */
140 #define PPP_MFTPCP 0x8287 /* Multichannel Flow Treatment Protocol */
141 #define PPP_LCP 0xc021 /* Link Control Protocol */
142 #define PPP_PAP 0xc023 /* Password Authentication Protocol */
143 #define PPP_LQR 0xc025 /* Link Quality Report protocol */
144 #define PPP_SPAP 0xc027 /* Shiva Password Authentication Protocol */
145 #define PPP_CBCP 0xc029 /* CallBack Control Protocol */
146 #define PPP_BACP 0xc02b /* Bandwidth Allocation Control Protocol */
147 #define PPP_BAP 0xc02d /* Bandwidth Allocation Protocol */
148 #define PPP_CONTCP 0xc081 /* Container Control Protocol */
149 #define PPP_CHAP 0xc223 /* Cryptographic Handshake Auth. Protocol */
150 #define PPP_RSAAP 0xc225 /* RSA Authentication Protocol */
151 #define PPP_EAP 0xc227 /* Extensible Authentication Protocol */
152 #define PPP_SIEP 0xc229 /* Mitsubishi Security Information Exchange Protocol*/
153 #define PPP_SBAP 0xc26f /* Stampede Bridging Authorization Protocol */
154 #define PPP_PRPAP 0x281 /* Proprietary Authentication Protocol */
155 #define PPP_PRPAP2 0x283 /* Proprietary Authentication Protocol */
156 #define PPP_PRPNIAP 0x481 /* Proprietary Node ID Authentication Protocol */
158 #endif /* ppptypes.h */