1 | /*
|
---|
2 | * Copyright (c) 2009 Lukas Mejdrech
|
---|
3 | * All rights reserved.
|
---|
4 | *
|
---|
5 | * Redistribution and use in source and binary forms, with or without
|
---|
6 | * modification, are permitted provided that the following conditions
|
---|
7 | * are met:
|
---|
8 | *
|
---|
9 | * - Redistributions of source code must retain the above copyright
|
---|
10 | * notice, this list of conditions and the following disclaimer.
|
---|
11 | * - Redistributions in binary form must reproduce the above copyright
|
---|
12 | * notice, this list of conditions and the following disclaimer in the
|
---|
13 | * documentation and/or other materials provided with the distribution.
|
---|
14 | * - The name of the author may not be used to endorse or promote products
|
---|
15 | * derived from this software without specific prior written permission.
|
---|
16 | *
|
---|
17 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
---|
18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
---|
19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
---|
20 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
---|
21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
---|
22 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
---|
23 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
---|
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
---|
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
---|
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
---|
27 | */
|
---|
28 |
|
---|
29 | /** @addtogroup eth
|
---|
30 | * @{
|
---|
31 | */
|
---|
32 |
|
---|
33 | /** @file
|
---|
34 | * Ethernet protocol numbers according to the on-line IANA - Ethernet numbers - <http://www.iana.org/assignments/ethernet-numbers>, cited January 17 2009.
|
---|
35 | */
|
---|
36 |
|
---|
37 | #ifndef __NET_ETHERNET_PROTOCOLS_H__
|
---|
38 | #define __NET_ETHERNET_PROTOCOLS_H__
|
---|
39 |
|
---|
40 | #include <sys/types.h>
|
---|
41 |
|
---|
42 | /** Ethernet protocol type definition.
|
---|
43 | */
|
---|
44 | typedef uint16_t eth_type_t;
|
---|
45 |
|
---|
46 | /** @name Ethernet protocols definitions
|
---|
47 | */
|
---|
48 | /*@{*/
|
---|
49 |
|
---|
50 | /** Ethernet minimal protocol number.
|
---|
51 | * According to the IEEE 802.3 specification.
|
---|
52 | */
|
---|
53 | #define ETH_MIN_PROTO 0x0600 /*1536*/
|
---|
54 |
|
---|
55 | /** Ethernet loopback packet protocol type.
|
---|
56 | */
|
---|
57 | #define ETH_P_LOOP 0x0060
|
---|
58 |
|
---|
59 | /** XEROX PUP (see 0A00) ethernet protocol type.
|
---|
60 | */
|
---|
61 | #define ETH_P_PUP 0x0200
|
---|
62 |
|
---|
63 | /** PUP Addr Trans (see 0A01) ethernet protocol type.
|
---|
64 | */
|
---|
65 | #define ETH_P_PUPAT 0x0201
|
---|
66 |
|
---|
67 | /** Nixdorf ethernet protocol type.
|
---|
68 | */
|
---|
69 | #define ETH_P_Nixdorf 0x0400
|
---|
70 |
|
---|
71 | /** XEROX NS IDP ethernet protocol type.
|
---|
72 | */
|
---|
73 | #define ETH_P_XEROX_NS_IDP 0x0600
|
---|
74 |
|
---|
75 | /** DLOG ethernet protocol type.
|
---|
76 | */
|
---|
77 | #define ETH_P_DLOG 0x0660
|
---|
78 |
|
---|
79 | /** DLOG ethernet protocol type.
|
---|
80 | */
|
---|
81 | #define ETH_P_DLOG2 0x0661
|
---|
82 |
|
---|
83 | /** Internet IP (IPv4) ethernet protocol type.
|
---|
84 | */
|
---|
85 | #define ETH_P_IP 0x0800
|
---|
86 |
|
---|
87 | /** X.75 Internet ethernet protocol type.
|
---|
88 | */
|
---|
89 | #define ETH_P_X_75 0x0801
|
---|
90 |
|
---|
91 | /** NBS Internet ethernet protocol type.
|
---|
92 | */
|
---|
93 | #define ETH_P_NBS 0x0802
|
---|
94 |
|
---|
95 | /** ECMA Internet ethernet protocol type.
|
---|
96 | */
|
---|
97 | #define ETH_P_ECMA 0x0803
|
---|
98 |
|
---|
99 | /** Chaosnet ethernet protocol type.
|
---|
100 | */
|
---|
101 | #define ETH_P_Chaosnet 0x0804
|
---|
102 |
|
---|
103 | /** X.25 Level 3 ethernet protocol type.
|
---|
104 | */
|
---|
105 | #define ETH_P_X25 0x0805
|
---|
106 |
|
---|
107 | /** ARP ethernet protocol type.
|
---|
108 | */
|
---|
109 | #define ETH_P_ARP 0x0806
|
---|
110 |
|
---|
111 | /** XNS Compatability ethernet protocol type.
|
---|
112 | */
|
---|
113 | #define ETH_P_XNS_Compatability 0x0807
|
---|
114 |
|
---|
115 | /** Frame Relay ARP ethernet protocol type.
|
---|
116 | */
|
---|
117 | #define ETH_P_Frame_Relay_ARP 0x0808
|
---|
118 |
|
---|
119 | /** Symbolics Private ethernet protocol type.
|
---|
120 | */
|
---|
121 | #define ETH_P_Symbolics_Private 0x081C
|
---|
122 |
|
---|
123 | /** Xyplex ethernet protocol type.
|
---|
124 | */
|
---|
125 | #define ETH_P_Xyplex_MIN 0x0888
|
---|
126 |
|
---|
127 | /** Xyplex ethernet protocol type.
|
---|
128 | */
|
---|
129 | #define ETH_P_Xyplex_MAX 0x088A
|
---|
130 |
|
---|
131 | /** Ungermann-Bass net debugr ethernet protocol type.
|
---|
132 | */
|
---|
133 | #define ETH_P_Ungermann_Bass_net_debugr 0x0900
|
---|
134 |
|
---|
135 | /** Xerox IEEE802.3 PUP ethernet protocol type.
|
---|
136 | */
|
---|
137 | #define ETH_P_IEEEPUP 0x0A00
|
---|
138 |
|
---|
139 | /** PUP Addr Trans ethernet protocol type.
|
---|
140 | */
|
---|
141 | #define ETH_P_IEEEPUPAT 0x0A01
|
---|
142 |
|
---|
143 | /** Banyan VINES ethernet protocol type.
|
---|
144 | */
|
---|
145 | #define ETH_P_Banyan_VINES 0x0BAD
|
---|
146 |
|
---|
147 | /** VINES Loopback ethernet protocol type.
|
---|
148 | */
|
---|
149 | #define ETH_P_VINES_Loopback 0x0BAE
|
---|
150 |
|
---|
151 | /** VINES Echo ethernet protocol type.
|
---|
152 | */
|
---|
153 | #define ETH_P_VINES_Echo 0x0BAF
|
---|
154 |
|
---|
155 | /** Berkeley Trailer nego ethernet protocol type.
|
---|
156 | */
|
---|
157 | #define ETH_P_Berkeley_Trailer_nego 0x1000
|
---|
158 |
|
---|
159 | /** Berkeley Trailer encap/IP ethernet protocol type.
|
---|
160 | */
|
---|
161 | #define ETH_P_Berkeley_Trailer_encapIP_MIN 0x1001
|
---|
162 |
|
---|
163 | /** Berkeley Trailer encap/IP ethernet protocol type.
|
---|
164 | */
|
---|
165 | #define ETH_P_Berkeley_Trailer_encapIP_MAX 0x100F
|
---|
166 |
|
---|
167 | /** Valid Systems ethernet protocol type.
|
---|
168 | */
|
---|
169 | #define ETH_P_Valid_Systems 0x1600
|
---|
170 |
|
---|
171 | /** PCS Basic Block Protocol ethernet protocol type.
|
---|
172 | */
|
---|
173 | #define ETH_P_PCS_Basic_Block_Protocol 0x4242
|
---|
174 |
|
---|
175 | /** BBN Simnet ethernet protocol type.
|
---|
176 | */
|
---|
177 | #define ETH_P_BBN_Simnet 0x5208
|
---|
178 |
|
---|
179 | /** DEC Unassigned (Exp.) ethernet protocol type.
|
---|
180 | */
|
---|
181 | #define ETH_P_DEC 0x6000
|
---|
182 |
|
---|
183 | /** DEC MOP Dump/Load ethernet protocol type.
|
---|
184 | */
|
---|
185 | #define ETH_P_DNA_DL 0x6001
|
---|
186 |
|
---|
187 | /** DEC MOP Remote Console ethernet protocol type.
|
---|
188 | */
|
---|
189 | #define ETH_P_DNA_RC 0x6002
|
---|
190 |
|
---|
191 | /** DEC DECNET Phase IV Route ethernet protocol type.
|
---|
192 | */
|
---|
193 | #define ETH_P_DNA_RT 0x6003
|
---|
194 |
|
---|
195 | /** DEC LAT ethernet protocol type.
|
---|
196 | */
|
---|
197 | #define ETH_P_LAT 0x6004
|
---|
198 |
|
---|
199 | /** DEC Diagnostic Protocol ethernet protocol type.
|
---|
200 | */
|
---|
201 | #define ETH_P_DIAG 0x6005
|
---|
202 |
|
---|
203 | /** DEC Customer Protocol ethernet protocol type.
|
---|
204 | */
|
---|
205 | #define ETH_P_CUST 0x6006
|
---|
206 |
|
---|
207 | /** DEC LAVC, SCA ethernet protocol type.
|
---|
208 | */
|
---|
209 | #define ETH_P_SCA 0x6007
|
---|
210 |
|
---|
211 | /** DEC Unassigned ethernet protocol type.
|
---|
212 | */
|
---|
213 | #define ETH_P_DEC_Unassigned_MIN 0x6008
|
---|
214 |
|
---|
215 | /** DEC Unassigned ethernet protocol type.
|
---|
216 | */
|
---|
217 | #define ETH_P_DEC_Unassigned_MAX 0x6009
|
---|
218 |
|
---|
219 | /** Com Corporation ethernet protocol type.
|
---|
220 | */
|
---|
221 | #define ETH_P_Com_Corporation_MIN 0x6010
|
---|
222 |
|
---|
223 | /** Com Corporation ethernet protocol type.
|
---|
224 | */
|
---|
225 | #define ETH_P_Com_Corporation_MAX 0x6014
|
---|
226 |
|
---|
227 | /** Trans Ether Bridging ethernet protocol type.
|
---|
228 | */
|
---|
229 | #define ETH_P_Trans_Ether_Bridging 0x6558
|
---|
230 |
|
---|
231 | /** Raw Frame Relay ethernet protocol type.
|
---|
232 | */
|
---|
233 | #define ETH_P_Raw_Frame_Relay 0x6559
|
---|
234 |
|
---|
235 | /** Ungermann-Bass download ethernet protocol type.
|
---|
236 | */
|
---|
237 | #define ETH_P_Ungermann_Bass_download 0x7000
|
---|
238 |
|
---|
239 | /** Ungermann-Bass dia/loop ethernet protocol type.
|
---|
240 | */
|
---|
241 | #define ETH_P_Ungermann_Bass_dialoop 0x7002
|
---|
242 |
|
---|
243 | /** LRT ethernet protocol type.
|
---|
244 | */
|
---|
245 | #define ETH_P_LRT_MIN 0x7020
|
---|
246 |
|
---|
247 | /** LRT ethernet protocol type.
|
---|
248 | */
|
---|
249 | #define ETH_P_LRT_MAX 0x7029
|
---|
250 |
|
---|
251 | /** Proteon ethernet protocol type.
|
---|
252 | */
|
---|
253 | #define ETH_P_Proteon 0x7030
|
---|
254 |
|
---|
255 | /** Cabletron ethernet protocol type.
|
---|
256 | */
|
---|
257 | #define ETH_P_Cabletron 0x7034
|
---|
258 |
|
---|
259 | /** Cronus VLN ethernet protocol type.
|
---|
260 | */
|
---|
261 | #define ETH_P_Cronus_VLN 0x8003
|
---|
262 |
|
---|
263 | /** Cronus Direct ethernet protocol type.
|
---|
264 | */
|
---|
265 | #define ETH_P_Cronus_Direct 0x8004
|
---|
266 |
|
---|
267 | /** HP Probe ethernet protocol type.
|
---|
268 | */
|
---|
269 | #define ETH_P_HP_Probe 0x8005
|
---|
270 |
|
---|
271 | /** Nestar ethernet protocol type.
|
---|
272 | */
|
---|
273 | #define ETH_P_Nestar 0x8006
|
---|
274 |
|
---|
275 | /** AT&T ethernet protocol type.
|
---|
276 | */
|
---|
277 | #define ETH_P_AT_T 0x8008
|
---|
278 |
|
---|
279 | /** Excelan ethernet protocol type.
|
---|
280 | */
|
---|
281 | #define ETH_P_Excelan 0x8010
|
---|
282 |
|
---|
283 | /** SGI diagnostics ethernet protocol type.
|
---|
284 | */
|
---|
285 | #define ETH_P_SGI_diagnostics 0x8013
|
---|
286 |
|
---|
287 | /** SGI network games ethernet protocol type.
|
---|
288 | */
|
---|
289 | #define ETH_P_SGI_network_games 0x8014
|
---|
290 |
|
---|
291 | /** SGI reserved ethernet protocol type.
|
---|
292 | */
|
---|
293 | #define ETH_P_SGI_reserved 0x8015
|
---|
294 |
|
---|
295 | /** SGI bounce server ethernet protocol type.
|
---|
296 | */
|
---|
297 | #define ETH_P_SGI_bounce_server 0x8016
|
---|
298 |
|
---|
299 | /** Apollo Domain ethernet protocol type.
|
---|
300 | */
|
---|
301 | #define ETH_P_Apollo_Domain 0x8019
|
---|
302 |
|
---|
303 | /** Tymshare ethernet protocol type.
|
---|
304 | */
|
---|
305 | #define ETH_P_Tymshare 0x802E
|
---|
306 |
|
---|
307 | /** Tigan, Inc. ethernet protocol type.
|
---|
308 | */
|
---|
309 | #define ETH_P_Tigan 0x802F
|
---|
310 |
|
---|
311 | /** Reverse ARP ethernet protocol type.
|
---|
312 | */
|
---|
313 | #define ETH_P_RARP 0x8035
|
---|
314 |
|
---|
315 | /** Aeonic Systems ethernet protocol type.
|
---|
316 | */
|
---|
317 | #define ETH_P_Aeonic_Systems 0x8036
|
---|
318 |
|
---|
319 | /** DEC LANBridge ethernet protocol type.
|
---|
320 | */
|
---|
321 | #define ETH_P_DEC_LANBridge 0x8038
|
---|
322 |
|
---|
323 | /** DEC Unassigned ethernet protocol type.
|
---|
324 | */
|
---|
325 | #define ETH_P_DEC_Unassigned_MIN1 0x8039
|
---|
326 |
|
---|
327 | /** DEC Unassigned ethernet protocol type.
|
---|
328 | */
|
---|
329 | #define ETH_P_DEC_Unassigned_MAX2 0x803C
|
---|
330 |
|
---|
331 | /** DEC Ethernet Encryption ethernet protocol type.
|
---|
332 | */
|
---|
333 | #define ETH_P_DEC_Ethernet_Encryption 0x803D
|
---|
334 |
|
---|
335 | /** DEC Unassigned ethernet protocol type.
|
---|
336 | */
|
---|
337 | #define ETH_P_DEC_Unassigned 0x803E
|
---|
338 |
|
---|
339 | /** DEC LAN Traffic Monitor ethernet protocol type.
|
---|
340 | */
|
---|
341 | #define ETH_P_DEC_LAN_Traffic_Monitor 0x803F
|
---|
342 |
|
---|
343 | /** DEC Unassigned ethernet protocol type.
|
---|
344 | */
|
---|
345 | #define ETH_P_DEC_Unassigned_MIN3 0x8040
|
---|
346 |
|
---|
347 | /** DEC Unassigned ethernet protocol type.
|
---|
348 | */
|
---|
349 | #define ETH_P_DEC_Unassigned_MAX3 0x8042
|
---|
350 |
|
---|
351 | /** Planning Research Corp. ethernet protocol type.
|
---|
352 | */
|
---|
353 | #define ETH_P_Planning_Research_Corp 0x8044
|
---|
354 |
|
---|
355 | /** AT&T ethernet protocol type.
|
---|
356 | */
|
---|
357 | #define ETH_P_AT_T2 0x8046
|
---|
358 |
|
---|
359 | /** AT&T ethernet protocol type.
|
---|
360 | */
|
---|
361 | #define ETH_P_AT_T3 0x8047
|
---|
362 |
|
---|
363 | /** ExperData ethernet protocol type.
|
---|
364 | */
|
---|
365 | #define ETH_P_ExperData 0x8049
|
---|
366 |
|
---|
367 | /** Stanford V Kernel exp. ethernet protocol type.
|
---|
368 | */
|
---|
369 | #define ETH_P_Stanford_V_Kernel_exp 0x805B
|
---|
370 |
|
---|
371 | /** Stanford V Kernel prod. ethernet protocol type.
|
---|
372 | */
|
---|
373 | #define ETH_P_Stanford_V_Kernel_prod 0x805C
|
---|
374 |
|
---|
375 | /** Evans &Sutherland ethernet protocol type.
|
---|
376 | */
|
---|
377 | #define ETH_P_Evans_Sutherland 0x805D
|
---|
378 |
|
---|
379 | /** Little Machines ethernet protocol type.
|
---|
380 | */
|
---|
381 | #define ETH_P_Little_Machines 0x8060
|
---|
382 |
|
---|
383 | /** Counterpoint Computers ethernet protocol type.
|
---|
384 | */
|
---|
385 | #define ETH_P_Counterpoint_Computers 0x8062
|
---|
386 |
|
---|
387 | /** Univ. of Mass. @ Amherst ethernet protocol type.
|
---|
388 | */
|
---|
389 | #define ETH_P_Univ_of_Mass 0x8065
|
---|
390 |
|
---|
391 | /** Univ. of Mass. @ Amherst ethernet protocol type.
|
---|
392 | */
|
---|
393 | #define ETH_P_Univ_of_Mass2 0x8066
|
---|
394 |
|
---|
395 | /** Veeco Integrated Auto. ethernet protocol type.
|
---|
396 | */
|
---|
397 | #define ETH_P_Veeco_Integrated_Auto 0x8067
|
---|
398 |
|
---|
399 | /** General Dynamics ethernet protocol type.
|
---|
400 | */
|
---|
401 | #define ETH_P_General_Dynamics 0x8068
|
---|
402 |
|
---|
403 | /** AT&T ethernet protocol type.
|
---|
404 | */
|
---|
405 | #define ETH_P_AT_T4 0x8069
|
---|
406 |
|
---|
407 | /** Autophon ethernet protocol type.
|
---|
408 | */
|
---|
409 | #define ETH_P_Autophon 0x806A
|
---|
410 |
|
---|
411 | /** ComDesign ethernet protocol type.
|
---|
412 | */
|
---|
413 | #define ETH_P_ComDesign 0x806C
|
---|
414 |
|
---|
415 | /** Computgraphic Corp. ethernet protocol type.
|
---|
416 | */
|
---|
417 | #define ETH_P_Computgraphic_Corp 0x806D
|
---|
418 |
|
---|
419 | /** Landmark Graphics Corp. ethernet protocol type.
|
---|
420 | */
|
---|
421 | #define ETH_P_Landmark_Graphics_Corp_MIN 0x806E
|
---|
422 |
|
---|
423 | /** Landmark Graphics Corp. ethernet protocol type.
|
---|
424 | */
|
---|
425 | #define ETH_P_Landmark_Graphics_Corp_MAX 0x8077
|
---|
426 |
|
---|
427 | /** Matra ethernet protocol type.
|
---|
428 | */
|
---|
429 | #define ETH_P_Matra 0x807A
|
---|
430 |
|
---|
431 | /** Dansk Data Elektronik ethernet protocol type.
|
---|
432 | */
|
---|
433 | #define ETH_P_Dansk_Data_Elektronik 0x807B
|
---|
434 |
|
---|
435 | /** Merit Internodal ethernet protocol type.
|
---|
436 | */
|
---|
437 | #define ETH_P_Merit_Internodal 0x807C
|
---|
438 |
|
---|
439 | /** Vitalink Communications ethernet protocol type.
|
---|
440 | */
|
---|
441 | #define ETH_P_Vitalink_Communications_MIN 0x807D
|
---|
442 |
|
---|
443 | /** Vitalink Communications ethernet protocol type.
|
---|
444 | */
|
---|
445 | #define ETH_P_Vitalink_Communications_MAX 0x807F
|
---|
446 |
|
---|
447 | /** Vitalink TransLAN III ethernet protocol type.
|
---|
448 | */
|
---|
449 | #define ETH_P_Vitalink_TransLAN_III 0x8080
|
---|
450 |
|
---|
451 | /** Counterpoint Computers ethernet protocol type.
|
---|
452 | */
|
---|
453 | #define ETH_P_Counterpoint_Computers_MIN 0x8081
|
---|
454 |
|
---|
455 | /** Counterpoint Computers ethernet protocol type.
|
---|
456 | */
|
---|
457 | #define ETH_P_Counterpoint_Computers_MAX 0x8083
|
---|
458 |
|
---|
459 | /** Appletalk ethernet protocol type.
|
---|
460 | */
|
---|
461 | #define ETH_P_ATALK 0x809B
|
---|
462 |
|
---|
463 | /** Datability ethernet protocol type.
|
---|
464 | */
|
---|
465 | #define ETH_P_Datability_MIN 0x809C
|
---|
466 |
|
---|
467 | /** Datability ethernet protocol type.
|
---|
468 | */
|
---|
469 | #define ETH_P_Datability_MAX 0x809E
|
---|
470 |
|
---|
471 | /** Spider Systems Ltd. ethernet protocol type.
|
---|
472 | */
|
---|
473 | #define ETH_P_Spider_Systems_Ltd 0x809F
|
---|
474 |
|
---|
475 | /** Nixdorf Computers ethernet protocol type.
|
---|
476 | */
|
---|
477 | #define ETH_P_Nixdorf_Computers 0x80A3
|
---|
478 |
|
---|
479 | /** Siemens Gammasonics Inc. ethernet protocol type.
|
---|
480 | */
|
---|
481 | #define ETH_P_Siemens_Gammasonics_Inc_MIN 0x80A4
|
---|
482 |
|
---|
483 | /** Siemens Gammasonics Inc. ethernet protocol type.
|
---|
484 | */
|
---|
485 | #define ETH_P_Siemens_Gammasonics_Inc_MAX 0x80B3
|
---|
486 |
|
---|
487 | /** DCA Data Exchange Cluster ethernet protocol type.
|
---|
488 | */
|
---|
489 | #define ETH_P_DCA_Data_Exchange_Cluster_MIN 0x80C0
|
---|
490 |
|
---|
491 | /** DCA Data Exchange Cluster ethernet protocol type.
|
---|
492 | */
|
---|
493 | #define ETH_P_DCA_Data_Exchange_Cluster_MAX 0x80C3
|
---|
494 |
|
---|
495 | /** Banyan Systems ethernet protocol type.
|
---|
496 | */
|
---|
497 | #define ETH_P_Banyan_Systems 0x80C4
|
---|
498 |
|
---|
499 | /** Banyan Systems ethernet protocol type.
|
---|
500 | */
|
---|
501 | #define ETH_P_Banyan_Systems2 0x80C5
|
---|
502 |
|
---|
503 | /** Pacer Software ethernet protocol type.
|
---|
504 | */
|
---|
505 | #define ETH_P_Pacer_Software 0x80C6
|
---|
506 |
|
---|
507 | /** Applitek Corporation ethernet protocol type.
|
---|
508 | */
|
---|
509 | #define ETH_P_Applitek_Corporation 0x80C7
|
---|
510 |
|
---|
511 | /** Intergraph Corporation ethernet protocol type.
|
---|
512 | */
|
---|
513 | #define ETH_P_Intergraph_Corporation_MIN 0x80C8
|
---|
514 |
|
---|
515 | /** Intergraph Corporation ethernet protocol type.
|
---|
516 | */
|
---|
517 | #define ETH_P_Intergraph_Corporation_MAX 0x80CC
|
---|
518 |
|
---|
519 | /** Harris Corporation ethernet protocol type.
|
---|
520 | */
|
---|
521 | #define ETH_P_Harris_Corporation_MIN 0x80CD
|
---|
522 |
|
---|
523 | /** Harris Corporation ethernet protocol type.
|
---|
524 | */
|
---|
525 | #define ETH_P_Harris_Corporation_MAX 0x80CE
|
---|
526 |
|
---|
527 | /** Taylor Instrument ethernet protocol type.
|
---|
528 | */
|
---|
529 | #define ETH_P_Taylor_Instrument_MIN 0x80CF
|
---|
530 |
|
---|
531 | /** Taylor Instrument ethernet protocol type.
|
---|
532 | */
|
---|
533 | #define ETH_P_Taylor_Instrument_MAX 0x80D2
|
---|
534 |
|
---|
535 | /** Rosemount Corporation ethernet protocol type.
|
---|
536 | */
|
---|
537 | #define ETH_P_Rosemount_Corporation_MIN 0x80D3
|
---|
538 |
|
---|
539 | /** Rosemount Corporation ethernet protocol type.
|
---|
540 | */
|
---|
541 | #define ETH_P_Rosemount_Corporation_MAX 0x80D4
|
---|
542 |
|
---|
543 | /** IBM SNA Service on Ether ethernet protocol type.
|
---|
544 | */
|
---|
545 | #define ETH_P_IBM_SNA_Service_on_Ether 0x80D5
|
---|
546 |
|
---|
547 | /** Varian Associates ethernet protocol type.
|
---|
548 | */
|
---|
549 | #define ETH_P_Varian_Associates 0x80DD
|
---|
550 |
|
---|
551 | /** Integrated Solutions TRFS ethernet protocol type.
|
---|
552 | */
|
---|
553 | #define ETH_P_Integrated_Solutions_TRFS_MIN 0x80DE
|
---|
554 |
|
---|
555 | /** Integrated Solutions TRFS ethernet protocol type.
|
---|
556 | */
|
---|
557 | #define ETH_P_Integrated_Solutions_TRFS_MAX 0x80DF
|
---|
558 |
|
---|
559 | /** Allen-Bradley ethernet protocol type.
|
---|
560 | */
|
---|
561 | #define ETH_P_Allen_Bradley_MIN 0x80E0
|
---|
562 |
|
---|
563 | /** Allen-Bradley ethernet protocol type.
|
---|
564 | */
|
---|
565 | #define ETH_P_Allen_Bradley_MAX 0x80E3
|
---|
566 |
|
---|
567 | /** Datability ethernet protocol type.
|
---|
568 | */
|
---|
569 | #define ETH_P_Datability_MIN2 0x80E4
|
---|
570 |
|
---|
571 | /** Datability ethernet protocol type.
|
---|
572 | */
|
---|
573 | #define ETH_P_Datability_MAX2 0x80F0
|
---|
574 |
|
---|
575 | /** Retix ethernet protocol type.
|
---|
576 | */
|
---|
577 | #define ETH_P_Retix 0x80F2
|
---|
578 |
|
---|
579 | /** AppleTalk AARP (Kinetics) ethernet protocol type.
|
---|
580 | */
|
---|
581 | #define ETH_P_AARP 0x80F3
|
---|
582 |
|
---|
583 | /** Kinetics ethernet protocol type.
|
---|
584 | */
|
---|
585 | #define ETH_P_Kinetics_MIN 0x80F4
|
---|
586 |
|
---|
587 | /** Kinetics ethernet protocol type.
|
---|
588 | */
|
---|
589 | #define ETH_P_Kinetics_MAX 0x80F5
|
---|
590 |
|
---|
591 | /** Apollo Computer ethernet protocol type.
|
---|
592 | */
|
---|
593 | #define ETH_P_Apollo_Computer 0x80F7
|
---|
594 |
|
---|
595 | /** Wellfleet Communications ethernet protocol type.
|
---|
596 | */
|
---|
597 | #define ETH_P_Wellfleet_Communications 0x80FF
|
---|
598 |
|
---|
599 | /** IEEE 802.1Q VLAN-tagged frames (initially Wellfleet) ethernet protocol type.
|
---|
600 | */
|
---|
601 | #define ETH_P_8021Q 0x8100
|
---|
602 |
|
---|
603 | /** Wellfleet Communications ethernet protocol type.
|
---|
604 | */
|
---|
605 | #define ETH_P_Wellfleet_Communications_MIN 0x8101
|
---|
606 |
|
---|
607 | /** Wellfleet Communications ethernet protocol type.
|
---|
608 | */
|
---|
609 | #define ETH_P_Wellfleet_Communications_MAX 0x8103
|
---|
610 |
|
---|
611 | /** Symbolics Private ethernet protocol type.
|
---|
612 | */
|
---|
613 | #define ETH_P_Symbolics_Private_MIN 0x8107
|
---|
614 |
|
---|
615 | /** Symbolics Private ethernet protocol type.
|
---|
616 | */
|
---|
617 | #define ETH_P_Symbolics_Private_MAX 0x8109
|
---|
618 |
|
---|
619 | /** Hayes Microcomputers ethernet protocol type.
|
---|
620 | */
|
---|
621 | #define ETH_P_Hayes_Microcomputers 0x8130
|
---|
622 |
|
---|
623 | /** VG Laboratory Systems ethernet protocol type.
|
---|
624 | */
|
---|
625 | #define ETH_P_VG_Laboratory_Systems 0x8131
|
---|
626 |
|
---|
627 | /** Bridge Communications ethernet protocol type.
|
---|
628 | */
|
---|
629 | #define ETH_P_Bridge_Communications_MIN 0x8132
|
---|
630 |
|
---|
631 | /** Bridge Communications ethernet protocol type.
|
---|
632 | */
|
---|
633 | #define ETH_P_Bridge_Communications_MAX 0x8136
|
---|
634 |
|
---|
635 | /** Novell, Inc. ethernet protocol type.
|
---|
636 | */
|
---|
637 | #define ETH_P_Novell_Inc_MIN 0x8137
|
---|
638 |
|
---|
639 | /** Novell, Inc. ethernet protocol type.
|
---|
640 | */
|
---|
641 | #define ETH_P_Novell_Inc_MAX 0x8138
|
---|
642 |
|
---|
643 | /** KTI ethernet protocol type.
|
---|
644 | */
|
---|
645 | #define ETH_P_KTI_MIN 0x8139
|
---|
646 |
|
---|
647 | /** KTI ethernet protocol type.
|
---|
648 | */
|
---|
649 | #define ETH_P_KTI_MAX 0x813D
|
---|
650 |
|
---|
651 | /** Logicraft ethernet protocol type.
|
---|
652 | */
|
---|
653 | #define ETH_P_Logicraft 0x8148
|
---|
654 |
|
---|
655 | /** Network Computing Devices ethernet protocol type.
|
---|
656 | */
|
---|
657 | #define ETH_P_Network_Computing_Devices 0x8149
|
---|
658 |
|
---|
659 | /** Alpha Micro ethernet protocol type.
|
---|
660 | */
|
---|
661 | #define ETH_P_Alpha_Micro 0x814A
|
---|
662 |
|
---|
663 | /** SNMP ethernet protocol type.
|
---|
664 | */
|
---|
665 | #define ETH_P_SNMP 0x814C
|
---|
666 |
|
---|
667 | /** BIIN ethernet protocol type.
|
---|
668 | */
|
---|
669 | #define ETH_P_BIIN 0x814D
|
---|
670 |
|
---|
671 | /** BIIN ethernet protocol type.
|
---|
672 | */
|
---|
673 | #define ETH_P_BIIN2 0x814E
|
---|
674 |
|
---|
675 | /** Technically Elite Concept ethernet protocol type.
|
---|
676 | */
|
---|
677 | #define ETH_P_Technically_Elite_Concept 0x814F
|
---|
678 |
|
---|
679 | /** Rational Corp ethernet protocol type.
|
---|
680 | */
|
---|
681 | #define ETH_P_Rational_Corp 0x8150
|
---|
682 |
|
---|
683 | /** Qualcomm ethernet protocol type.
|
---|
684 | */
|
---|
685 | #define ETH_P_Qualcomm_MIN 0x8151
|
---|
686 |
|
---|
687 | /** Qualcomm ethernet protocol type.
|
---|
688 | */
|
---|
689 | #define ETH_P_Qualcomm_MAX 0x8153
|
---|
690 |
|
---|
691 | /** Computer Protocol Pty Ltd ethernet protocol type.
|
---|
692 | */
|
---|
693 | #define ETH_P_Computer_Protocol_Pty_Ltd_MIN 0x815C
|
---|
694 |
|
---|
695 | /** Computer Protocol Pty Ltd ethernet protocol type.
|
---|
696 | */
|
---|
697 | #define ETH_P_Computer_Protocol_Pty_Ltd_MAX 0x815E
|
---|
698 |
|
---|
699 | /** Charles River Data System ethernet protocol type.
|
---|
700 | */
|
---|
701 | #define ETH_P_Charles_River_Data_System_MIN 0x8164
|
---|
702 |
|
---|
703 | /** Charles River Data System ethernet protocol type.
|
---|
704 | */
|
---|
705 | #define ETH_P_Charles_River_Data_System_MAX 0x8166
|
---|
706 |
|
---|
707 | /** XTP ethernet protocol type.
|
---|
708 | */
|
---|
709 | #define ETH_P_XTP 0x817D
|
---|
710 |
|
---|
711 | /** SGI/Time Warner prop. ethernet protocol type.
|
---|
712 | */
|
---|
713 | #define ETH_P_SGITime_Warner_prop 0x817E
|
---|
714 |
|
---|
715 | /** HIPPI-FP encapsulation ethernet protocol type.
|
---|
716 | */
|
---|
717 | #define ETH_P_HIPPI_FP_encapsulation 0x8180
|
---|
718 |
|
---|
719 | /** STP, HIPPI-ST ethernet protocol type.
|
---|
720 | */
|
---|
721 | #define ETH_P_STP_HIPPI_ST 0x8181
|
---|
722 |
|
---|
723 | /** Reserved for HIPPI-6400 ethernet protocol type.
|
---|
724 | */
|
---|
725 | #define ETH_P_Reserved_for_HIPPI_6400 0x8182
|
---|
726 |
|
---|
727 | /** Reserved for HIPPI-6400 ethernet protocol type.
|
---|
728 | */
|
---|
729 | #define ETH_P_Reserved_for_HIPPI_64002 0x8183
|
---|
730 |
|
---|
731 | /** Silicon Graphics prop. ethernet protocol type.
|
---|
732 | */
|
---|
733 | #define ETH_P_Silicon_Graphics_prop_MIN 0x8184
|
---|
734 |
|
---|
735 | /** Silicon Graphics prop. ethernet protocol type.
|
---|
736 | */
|
---|
737 | #define ETH_P_Silicon_Graphics_prop_MAX 0x818C
|
---|
738 |
|
---|
739 | /** Motorola Computer ethernet protocol type.
|
---|
740 | */
|
---|
741 | #define ETH_P_Motorola_Computer 0x818D
|
---|
742 |
|
---|
743 | /** Qualcomm ethernet protocol type.
|
---|
744 | */
|
---|
745 | #define ETH_P_Qualcomm_MIN2 0x819A
|
---|
746 |
|
---|
747 | /** Qualcomm ethernet protocol type.
|
---|
748 | */
|
---|
749 | #define ETH_P_Qualcomm_MAX2 0x81A3
|
---|
750 |
|
---|
751 | /** ARAI Bunkichi ethernet protocol type.
|
---|
752 | */
|
---|
753 | #define ETH_P_ARAI_Bunkichi 0x81A4
|
---|
754 |
|
---|
755 | /** RAD Network Devices ethernet protocol type.
|
---|
756 | */
|
---|
757 | #define ETH_P_RAD_Network_Devices_MIN 0x81A5
|
---|
758 |
|
---|
759 | /** RAD Network Devices ethernet protocol type.
|
---|
760 | */
|
---|
761 | #define ETH_P_RAD_Network_Devices_MAX 0x81AE
|
---|
762 |
|
---|
763 | /** Xyplex ethernet protocol type.
|
---|
764 | */
|
---|
765 | #define ETH_P_Xyplex_MIN2 0x81B7
|
---|
766 |
|
---|
767 | /** Xyplex ethernet protocol type.
|
---|
768 | */
|
---|
769 | #define ETH_P_Xyplex_MAX2 0x81B9
|
---|
770 |
|
---|
771 | /** Apricot Computers ethernet protocol type.
|
---|
772 | */
|
---|
773 | #define ETH_P_Apricot_Computers_MIN 0x81CC
|
---|
774 |
|
---|
775 | /** Apricot Computers ethernet protocol type.
|
---|
776 | */
|
---|
777 | #define ETH_P_Apricot_Computers_MAX 0x81D5
|
---|
778 |
|
---|
779 | /** Artisoft ethernet protocol type.
|
---|
780 | */
|
---|
781 | #define ETH_P_Artisoft_MIN 0x81D6
|
---|
782 |
|
---|
783 | /** Artisoft ethernet protocol type.
|
---|
784 | */
|
---|
785 | #define ETH_P_Artisoft_MAX 0x81DD
|
---|
786 |
|
---|
787 | /** Polygon ethernet protocol type.
|
---|
788 | */
|
---|
789 | #define ETH_P_Polygon_MIN 0x81E6
|
---|
790 |
|
---|
791 | /** Polygon ethernet protocol type.
|
---|
792 | */
|
---|
793 | #define ETH_P_Polygon_MAX 0x81EF
|
---|
794 |
|
---|
795 | /** Comsat Labs ethernet protocol type.
|
---|
796 | */
|
---|
797 | #define ETH_P_Comsat_Labs_MIN 0x81F0
|
---|
798 |
|
---|
799 | /** Comsat Labs ethernet protocol type.
|
---|
800 | */
|
---|
801 | #define ETH_P_Comsat_Labs_MAX 0x81F2
|
---|
802 |
|
---|
803 | /** SAIC ethernet protocol type.
|
---|
804 | */
|
---|
805 | #define ETH_P_SAIC_MIN 0x81F3
|
---|
806 |
|
---|
807 | /** SAIC ethernet protocol type.
|
---|
808 | */
|
---|
809 | #define ETH_P_SAIC_MAX 0x81F5
|
---|
810 |
|
---|
811 | /** VG Analytical ethernet protocol type.
|
---|
812 | */
|
---|
813 | #define ETH_P_VG_Analytical_MIN 0x81F6
|
---|
814 |
|
---|
815 | /** VG Analytical ethernet protocol type.
|
---|
816 | */
|
---|
817 | #define ETH_P_VG_Analytical_MAX 0x81F8
|
---|
818 |
|
---|
819 | /** Quantum Software ethernet protocol type.
|
---|
820 | */
|
---|
821 | #define ETH_P_Quantum_Software_MIN 0x8203
|
---|
822 |
|
---|
823 | /** Quantum Software ethernet protocol type.
|
---|
824 | */
|
---|
825 | #define ETH_P_Quantum_Software_MAX 0x8205
|
---|
826 |
|
---|
827 | /** Ascom Banking Systems ethernet protocol type.
|
---|
828 | */
|
---|
829 | #define ETH_P_Ascom_Banking_Systems_MIN 0x8221
|
---|
830 |
|
---|
831 | /** Ascom Banking Systems ethernet protocol type.
|
---|
832 | */
|
---|
833 | #define ETH_P_Ascom_Banking_Systems_MAX 0x8222
|
---|
834 |
|
---|
835 | /** Advanced Encryption Syste ethernet protocol type.
|
---|
836 | */
|
---|
837 | #define ETH_P_Advanced_Encryption_Syste_MIN 0x823E
|
---|
838 |
|
---|
839 | /** Advanced Encryption Syste ethernet protocol type.
|
---|
840 | */
|
---|
841 | #define ETH_P_Advanced_Encryption_Syste_MAX 0x8240
|
---|
842 |
|
---|
843 | /** Athena Programming ethernet protocol type.
|
---|
844 | */
|
---|
845 | #define ETH_P_Athena_Programming_MIN 0x827F
|
---|
846 |
|
---|
847 | /** Athena Programming ethernet protocol type.
|
---|
848 | */
|
---|
849 | #define ETH_P_Athena_Programming_MAX 0x8282
|
---|
850 |
|
---|
851 | /** Charles River Data System ethernet protocol type.
|
---|
852 | */
|
---|
853 | #define ETH_P_Charles_River_Data_System_MIN2 0x8263
|
---|
854 |
|
---|
855 | /** Charles River Data System ethernet protocol type.
|
---|
856 | */
|
---|
857 | #define ETH_P_Charles_River_Data_System_MAX2 0x826A
|
---|
858 |
|
---|
859 | /** Inst Ind Info Tech ethernet protocol type.
|
---|
860 | */
|
---|
861 | #define ETH_P_Inst_Ind_Info_Tech_MIN 0x829A
|
---|
862 |
|
---|
863 | /** Inst Ind Info Tech ethernet protocol type.
|
---|
864 | */
|
---|
865 | #define ETH_P_Inst_Ind_Info_Tech_MAX 0x829B
|
---|
866 |
|
---|
867 | /** Taurus Controls ethernet protocol type.
|
---|
868 | */
|
---|
869 | #define ETH_P_Taurus_Controls_MIN 0x829C
|
---|
870 |
|
---|
871 | /** Taurus Controls ethernet protocol type.
|
---|
872 | */
|
---|
873 | #define ETH_P_Taurus_Controls_MAX 0x82AB
|
---|
874 |
|
---|
875 | /** Walker Richer &Quinn ethernet protocol type.
|
---|
876 | */
|
---|
877 | #define ETH_P_Walker_Richer_Quinn_MIN 0x82AC
|
---|
878 |
|
---|
879 | /** Walker Richer &Quinn ethernet protocol type.
|
---|
880 | */
|
---|
881 | #define ETH_P_Walker_Richer_Quinn_MAX 0x8693
|
---|
882 |
|
---|
883 | /** Idea Courier ethernet protocol type.
|
---|
884 | */
|
---|
885 | #define ETH_P_Idea_Courier_MIN 0x8694
|
---|
886 |
|
---|
887 | /** Idea Courier ethernet protocol type.
|
---|
888 | */
|
---|
889 | #define ETH_P_Idea_Courier_MAX 0x869D
|
---|
890 |
|
---|
891 | /** Computer Network Tech ethernet protocol type.
|
---|
892 | */
|
---|
893 | #define ETH_P_Computer_Network_Tech_MIN 0x869E
|
---|
894 |
|
---|
895 | /** Computer Network Tech ethernet protocol type.
|
---|
896 | */
|
---|
897 | #define ETH_P_Computer_Network_Tech_MAX 0x86A1
|
---|
898 |
|
---|
899 | /** Gateway Communications ethernet protocol type.
|
---|
900 | */
|
---|
901 | #define ETH_P_Gateway_Communications_MIN 0x86A3
|
---|
902 |
|
---|
903 | /** Gateway Communications ethernet protocol type.
|
---|
904 | */
|
---|
905 | #define ETH_P_Gateway_Communications_MAX 0x86AC
|
---|
906 |
|
---|
907 | /** SECTRA ethernet protocol type.
|
---|
908 | */
|
---|
909 | #define ETH_P_SECTRA 0x86DB
|
---|
910 |
|
---|
911 | /** Delta Controls ethernet protocol type.
|
---|
912 | */
|
---|
913 | #define ETH_P_Delta_Controls 0x86DE
|
---|
914 |
|
---|
915 | /** IPv6 ethernet protocol type.
|
---|
916 | */
|
---|
917 | #define ETH_P_IPV6 0x86DD
|
---|
918 |
|
---|
919 | /** ATOMIC ethernet protocol type.
|
---|
920 | */
|
---|
921 | #define ETH_P_ATOMIC 0x86DF
|
---|
922 |
|
---|
923 | /** Landis &Gyr Powers ethernet protocol type.
|
---|
924 | */
|
---|
925 | #define ETH_P_Landis_Gyr_Powers_MIN 0x86E0
|
---|
926 |
|
---|
927 | /** Landis &Gyr Powers ethernet protocol type.
|
---|
928 | */
|
---|
929 | #define ETH_P_Landis_Gyr_Powers_MAX 0x86EF
|
---|
930 |
|
---|
931 | /** Motorola ethernet protocol type.
|
---|
932 | */
|
---|
933 | #define ETH_P_Motorola_MIN 0x8700
|
---|
934 |
|
---|
935 | /** Motorola ethernet protocol type.
|
---|
936 | */
|
---|
937 | #define ETH_P_Motorola_MAX 0x8710
|
---|
938 |
|
---|
939 | /** TCP/IP Compression ethernet protocol type.
|
---|
940 | */
|
---|
941 | #define ETH_P_TCPIP_Compression 0x876B
|
---|
942 |
|
---|
943 | /** IP Autonomous Systems ethernet protocol type.
|
---|
944 | */
|
---|
945 | #define ETH_P_IP_Autonomous_Systems 0x876C
|
---|
946 |
|
---|
947 | /** Secure Data ethernet protocol type.
|
---|
948 | */
|
---|
949 | #define ETH_P_Secure_Data 0x876D
|
---|
950 |
|
---|
951 | /** PPP ethernet protocol type.
|
---|
952 | */
|
---|
953 | #define ETH_P_PPP 0x880B
|
---|
954 |
|
---|
955 | /** MPLS ethernet protocol type.
|
---|
956 | */
|
---|
957 | #define ETH_P_MPLS_UC 0x8847
|
---|
958 |
|
---|
959 | /** MPLS with upstream-assigned label ethernet protocol type.
|
---|
960 | */
|
---|
961 | #define ETH_P_MPLS_MC 0x8848
|
---|
962 |
|
---|
963 | /** Invisible Software ethernet protocol type.
|
---|
964 | */
|
---|
965 | #define ETH_P_Invisible_Software_MIN 0x8A96
|
---|
966 |
|
---|
967 | /** Invisible Software ethernet protocol type.
|
---|
968 | */
|
---|
969 | #define ETH_P_Invisible_Software_MAX 0x8A97
|
---|
970 |
|
---|
971 | /** PPPoE Discovery Stage ethernet protocol type.
|
---|
972 | */
|
---|
973 | #define ETH_P_PPP_DISC 0x8863
|
---|
974 |
|
---|
975 | /** PPPoE Session Stage ethernet protocol type.
|
---|
976 | */
|
---|
977 | #define ETH_P_PPP_SES 0x8864
|
---|
978 |
|
---|
979 | /** Loopback ethernet protocol type.
|
---|
980 | */
|
---|
981 | #define ETH_P_Loopback 0x9000
|
---|
982 |
|
---|
983 | /** Com(Bridge) XNS Sys Mgmt ethernet protocol type.
|
---|
984 | */
|
---|
985 | #define ETH_P_Com_XNS_Sys_Mgmt 0x9001
|
---|
986 |
|
---|
987 | /** Com(Bridge) TCP-IP Sys ethernet protocol type.
|
---|
988 | */
|
---|
989 | #define ETH_P_Com_TCP_IP_Sys 0x9002
|
---|
990 |
|
---|
991 | /** Com(Bridge) loop detect ethernet protocol type.
|
---|
992 | */
|
---|
993 | #define ETH_P_Com_loop_detect 0x9003
|
---|
994 |
|
---|
995 | /** BBN VITAL-LanBridge cache ethernet protocol type.
|
---|
996 | */
|
---|
997 | #define ETH_P_BBN_VITAL_LanBridge_cache 0xFF00
|
---|
998 |
|
---|
999 | /** ISC Bunker Ramo ethernet protocol type.
|
---|
1000 | */
|
---|
1001 | #define ETH_P_ISC_Bunker_Ramo_MIN 0xFF00
|
---|
1002 |
|
---|
1003 | /** ISC Bunker Ramo ethernet protocol type.
|
---|
1004 | */
|
---|
1005 | #define ETH_P_ISC_Bunker_Ramo_MAX 0xFF0F
|
---|
1006 |
|
---|
1007 | /*@}*/
|
---|
1008 |
|
---|
1009 | #endif
|
---|
1010 |
|
---|
1011 | /** @}
|
---|
1012 | */
|
---|