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