netifd: fix compile error when both libnl and libnl-tiny are built
[openwrt.git] / package / ppp / patches / 404-remove_obsolete_protocol_names.patch
1 --- a/pppd/main.c
2 +++ b/pppd/main.c
3 @@ -882,14 +882,17 @@ struct protocol_list {
4 const char *name;
5 } protocol_list[] = {
6 { 0x21, "IP" },
7 +#if 0
8 { 0x23, "OSI Network Layer" },
9 { 0x25, "Xerox NS IDP" },
10 { 0x27, "DECnet Phase IV" },
11 { 0x29, "Appletalk" },
12 { 0x2b, "Novell IPX" },
13 +#endif
14 { 0x2d, "VJ compressed TCP/IP" },
15 { 0x2f, "VJ uncompressed TCP/IP" },
16 { 0x31, "Bridging PDU" },
17 +#if 0
18 { 0x33, "Stream Protocol ST-II" },
19 { 0x35, "Banyan Vines" },
20 { 0x39, "AppleTalk EDDP" },
21 @@ -903,8 +906,11 @@ struct protocol_list {
22 { 0x49, "Serial Data Transport Protocol (PPP-SDTP)" },
23 { 0x4b, "SNA over 802.2" },
24 { 0x4d, "SNA" },
25 +#endif
26 { 0x4f, "IP6 Header Compression" },
27 +#if 0
28 { 0x51, "KNX Bridging Data" },
29 +#endif
30 { 0x53, "Encryption" },
31 { 0x55, "Individual Link Encryption" },
32 { 0x57, "IPv6" },
33 @@ -915,12 +921,15 @@ struct protocol_list {
34 { 0x65, "RTP IPHC Compressed non-TCP" },
35 { 0x67, "RTP IPHC Compressed UDP 8" },
36 { 0x69, "RTP IPHC Compressed RTP 8" },
37 +#if 0
38 { 0x6f, "Stampede Bridging" },
39 { 0x73, "MP+" },
40 { 0xc1, "NTCITS IPI" },
41 +#endif
42 { 0xfb, "single-link compression" },
43 { 0xfd, "Compressed Datagram" },
44 { 0x0201, "802.1d Hello Packets" },
45 +#if 0
46 { 0x0203, "IBM Source Routing BPDU" },
47 { 0x0205, "DEC LANBridge100 Spanning Tree" },
48 { 0x0207, "Cisco Discovery Protocol" },
49 @@ -932,15 +941,19 @@ struct protocol_list {
50 { 0x0231, "Luxcom" },
51 { 0x0233, "Sigma Network Systems" },
52 { 0x0235, "Apple Client Server Protocol" },
53 +#endif
54 { 0x0281, "MPLS Unicast" },
55 { 0x0283, "MPLS Multicast" },
56 +#if 0
57 { 0x0285, "IEEE p1284.4 standard - data packets" },
58 { 0x0287, "ETSI TETRA Network Protocol Type 1" },
59 +#endif
60 { 0x0289, "Multichannel Flow Treatment Protocol" },
61 { 0x2063, "RTP IPHC Compressed TCP No Delta" },
62 { 0x2065, "RTP IPHC Context State" },
63 { 0x2067, "RTP IPHC Compressed UDP 16" },
64 { 0x2069, "RTP IPHC Compressed RTP 16" },
65 +#if 0
66 { 0x4001, "Cray Communications Control Protocol" },
67 { 0x4003, "CDPD Mobile Network Registration Protocol" },
68 { 0x4005, "Expand accelerator protocol" },
69 @@ -951,8 +964,10 @@ struct protocol_list {
70 { 0x4023, "RefTek Protocol" },
71 { 0x4025, "Fibre Channel" },
72 { 0x4027, "EMIT Protocols" },
73 +#endif
74 { 0x405b, "Vendor-Specific Protocol (VSP)" },
75 { 0x8021, "Internet Protocol Control Protocol" },
76 +#if 0
77 { 0x8023, "OSI Network Layer Control Protocol" },
78 { 0x8025, "Xerox NS IDP Control Protocol" },
79 { 0x8027, "DECnet Phase IV Control Protocol" },
80 @@ -961,7 +976,9 @@ struct protocol_list {
81 { 0x8031, "Bridging NCP" },
82 { 0x8033, "Stream Protocol Control Protocol" },
83 { 0x8035, "Banyan Vines Control Protocol" },
84 +#endif
85 { 0x803d, "Multi-Link Control Protocol" },
86 +#if 0
87 { 0x803f, "NETBIOS Framing Control Protocol" },
88 { 0x8041, "Cisco Systems Control Protocol" },
89 { 0x8043, "Ascom Timeplex" },
90 @@ -970,18 +987,24 @@ struct protocol_list {
91 { 0x8049, "Serial Data Control Protocol (PPP-SDCP)" },
92 { 0x804b, "SNA over 802.2 Control Protocol" },
93 { 0x804d, "SNA Control Protocol" },
94 +#endif
95 { 0x804f, "IP6 Header Compression Control Protocol" },
96 +#if 0
97 { 0x8051, "KNX Bridging Control Protocol" },
98 +#endif
99 { 0x8053, "Encryption Control Protocol" },
100 { 0x8055, "Individual Link Encryption Control Protocol" },
101 { 0x8057, "IPv6 Control Protocol" },
102 { 0x8059, "PPP Muxing Control Protocol" },
103 { 0x805b, "Vendor-Specific Network Control Protocol (VSNCP)" },
104 +#if 0
105 { 0x806f, "Stampede Bridging Control Protocol" },
106 { 0x8073, "MP+ Control Protocol" },
107 { 0x80c1, "NTCITS IPI Control Protocol" },
108 +#endif
109 { 0x80fb, "Single Link Compression Control Protocol" },
110 { 0x80fd, "Compression Control Protocol" },
111 +#if 0
112 { 0x8207, "Cisco Discovery Protocol Control" },
113 { 0x8209, "Netcs Twin Routing" },
114 { 0x820b, "STP - Control Protocol" },
115 @@ -990,24 +1013,29 @@ struct protocol_list {
116 { 0x8281, "MPLSCP" },
117 { 0x8285, "IEEE p1284.4 standard - Protocol Control" },
118 { 0x8287, "ETSI TETRA TNP1 Control Protocol" },
119 +#endif
120 { 0x8289, "Multichannel Flow Treatment Protocol" },
121 { 0xc021, "Link Control Protocol" },
122 { 0xc023, "Password Authentication Protocol" },
123 { 0xc025, "Link Quality Report" },
124 +#if 0
125 { 0xc027, "Shiva Password Authentication Protocol" },
126 { 0xc029, "CallBack Control Protocol (CBCP)" },
127 { 0xc02b, "BACP Bandwidth Allocation Control Protocol" },
128 { 0xc02d, "BAP" },
129 +#endif
130 { 0xc05b, "Vendor-Specific Authentication Protocol (VSAP)" },
131 { 0xc081, "Container Control Protocol" },
132 { 0xc223, "Challenge Handshake Authentication Protocol" },
133 { 0xc225, "RSA Authentication Protocol" },
134 { 0xc227, "Extensible Authentication Protocol" },
135 +#if 0
136 { 0xc229, "Mitsubishi Security Info Exch Ptcl (SIEP)" },
137 { 0xc26f, "Stampede Bridging Authorization Protocol" },
138 { 0xc281, "Proprietary Authentication Protocol" },
139 { 0xc283, "Proprietary Authentication Protocol" },
140 { 0xc481, "Proprietary Node ID Authentication Protocol" },
141 +#endif
142 { 0, NULL },
143 };
144
This page took 0.058545 seconds and 5 git commands to generate.