Subversion Repositories HelenOS

Rev

Rev 4075 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

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