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