Line data Source code
1 : /*
2 : * Copyright (c) 2015 Cisco and/or its affiliates.
3 : * Licensed under the Apache License, Version 2.0 (the "License");
4 : * you may not use this file except in compliance with the License.
5 : * You may obtain a copy of the License at:
6 : *
7 : * http://www.apache.org/licenses/LICENSE-2.0
8 : *
9 : * Unless required by applicable law or agreed to in writing, software
10 : * distributed under the License is distributed on an "AS IS" BASIS,
11 : * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 : * See the License for the specific language governing permissions and
13 : * limitations under the License.
14 : */
15 : /* Emacs editing mode -*-C-*- Ethernet types. */
16 :
17 : /*
18 : * ethernet types
19 : *
20 : * Copyright (c) 2008 Eliot Dresselhaus
21 : *
22 : * Permission is hereby granted, free of charge, to any person obtaining
23 : * a copy of this software and associated documentation files (the
24 : * "Software"), to deal in the Software without restriction, including
25 : * without limitation the rights to use, copy, modify, merge, publish,
26 : * distribute, sublicense, and/or sell copies of the Software, and to
27 : * permit persons to whom the Software is furnished to do so, subject to
28 : * the following conditions:
29 : *
30 : * The above copyright notice and this permission notice shall be
31 : * included in all copies or substantial portions of the Software.
32 : *
33 : * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34 : * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
35 : * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36 : * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
37 : * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
38 : * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
39 : * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
40 : */
41 :
42 : /* Types < 0x600 (1536) are LLC packet lengths. */
43 575 : ethernet_type (0x600, LLC_LENGTH)
44 :
45 575 : ethernet_type (0x600, XNS_IDP)
46 575 : ethernet_type (0x800, IP4)
47 575 : ethernet_type (0x806, ARP)
48 575 : ethernet_type (0x0BAD, VINES_IP)
49 575 : ethernet_type (0x0BAE, VINES_LOOPBACK)
50 575 : ethernet_type (0x0BAF, VINES_ECHO)
51 575 : ethernet_type (0x1984, TRAIN)
52 575 : ethernet_type (0x2000, CDP)
53 575 : ethernet_type (0x2001, CGMP)
54 575 : ethernet_type (0x2007, SRP_CONTROL)
55 575 : ethernet_type (0x2452, CENTRINO_PROMISC)
56 575 : ethernet_type (0x6000, DECNET)
57 575 : ethernet_type (0x6001, DECNET_DUMP_LOAD)
58 575 : ethernet_type (0x6002, DECNET_REMOTE_CONSOLE)
59 575 : ethernet_type (0x6003, DECNET_ROUTE)
60 575 : ethernet_type (0x6004, DEC_LAT)
61 575 : ethernet_type (0x6005, DEC_DIAGNOSTIC)
62 575 : ethernet_type (0x6006, DEC_CUSTOMER)
63 575 : ethernet_type (0x6007, DEC_SCA)
64 575 : ethernet_type (0x6558, TRANSPARENT_BRIDGING)
65 575 : ethernet_type (0x6559, RAW_FRAME_RELAY)
66 575 : ethernet_type (0x8035, REVERSE_ARP)
67 575 : ethernet_type (0x8038, DEC_LAN_BRIDGE)
68 575 : ethernet_type (0x803D, DEC_ETHERNET_ENCRYPTION)
69 575 : ethernet_type (0x803F, DEC_LAN_TRAFFIC_MONITOR)
70 575 : ethernet_type (0x8041, DEC_LAST)
71 575 : ethernet_type (0x809B, APPLETALK)
72 575 : ethernet_type (0x80D5, IBM_SNA)
73 575 : ethernet_type (0x80F3, APPLETALK_AARP)
74 575 : ethernet_type (0x80FF, WELLFLEET_COMPRESSION)
75 575 : ethernet_type (0x8100, VLAN)
76 575 : ethernet_type (0x8137, IPX)
77 575 : ethernet_type (0x814C, SNMP)
78 575 : ethernet_type (0x81FD, CABLETRON_ISMP)
79 575 : ethernet_type (0x81FF, CABLETRON_ISMP_TBFLOOD)
80 575 : ethernet_type (0x86DD, IP6)
81 575 : ethernet_type (0x86DF, ATOMIC)
82 575 : ethernet_type (0x876B, TCP_IP_COMPRESSION)
83 575 : ethernet_type (0x876C, IP_AUTONOMOUS_SYSTEMS)
84 575 : ethernet_type (0x876D, SECURE_DATA)
85 575 : ethernet_type (0x8808, MAC_CONTROL)
86 575 : ethernet_type (0x8809, SLOW_PROTOCOLS)
87 575 : ethernet_type (0x880B, PPP)
88 575 : ethernet_type (0x8847, MPLS)
89 575 : ethernet_type (0x8848, MPLS_UPSTREAM_ASSIGNED)
90 575 : ethernet_type (0x8863, PPPOE_DISCOVERY)
91 575 : ethernet_type (0x8864, PPPOE_SESSION)
92 575 : ethernet_type (0x886D, INTEL_ANS)
93 575 : ethernet_type (0x886F, MICROSOFT_NLB_HEARTBEAT)
94 575 : ethernet_type (0x8881, CDMA_2000)
95 575 : ethernet_type (0x888e, 802_1X_AUTHENTICATION)
96 575 : ethernet_type (0x8892, PROFINET)
97 575 : ethernet_type (0x889a, HYPERSCSI)
98 575 : ethernet_type (0x88a2, AOE)
99 575 : ethernet_type (0x88a8, DOT1AD)
100 575 : ethernet_type (0x88AE, BRDWALK)
101 575 : ethernet_type (0x88B7, 802_OUI_EXTENDED)
102 575 : ethernet_type (0x88c7, 802_11I_PRE_AUTHENTICATION)
103 575 : ethernet_type (0x88cc, 802_1_LLDP)
104 575 : ethernet_type (0x88e7, DOT1AH)
105 575 : ethernet_type (0x894f, NSH)
106 575 : ethernet_type (0x9000, LOOPBACK)
107 575 : ethernet_type (0x9021, RTNET_MAC)
108 575 : ethernet_type (0x9022, RTNET_CONFIG)
109 575 : ethernet_type (0x9100, VLAN_9100)
110 575 : ethernet_type (0x9200, VLAN_9200)
111 575 : ethernet_type (0x9999, PGLAN)
112 575 : ethernet_type (0xFEFE, SRP_ISIS)
113 575 : ethernet_type (0xFFFF, RESERVED)
|