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 559 : ethernet_type (0x600, LLC_LENGTH)
44 :
45 559 : ethernet_type (0x600, XNS_IDP)
46 559 : ethernet_type (0x800, IP4)
47 559 : ethernet_type (0x806, ARP)
48 559 : ethernet_type (0x0BAD, VINES_IP)
49 559 : ethernet_type (0x0BAE, VINES_LOOPBACK)
50 559 : ethernet_type (0x0BAF, VINES_ECHO)
51 559 : ethernet_type (0x1984, TRAIN)
52 559 : ethernet_type (0x2000, CDP)
53 559 : ethernet_type (0x2001, CGMP)
54 559 : ethernet_type (0x2007, SRP_CONTROL)
55 559 : ethernet_type (0x2452, CENTRINO_PROMISC)
56 559 : ethernet_type (0x6000, DECNET)
57 559 : ethernet_type (0x6001, DECNET_DUMP_LOAD)
58 559 : ethernet_type (0x6002, DECNET_REMOTE_CONSOLE)
59 559 : ethernet_type (0x6003, DECNET_ROUTE)
60 559 : ethernet_type (0x6004, DEC_LAT)
61 559 : ethernet_type (0x6005, DEC_DIAGNOSTIC)
62 559 : ethernet_type (0x6006, DEC_CUSTOMER)
63 559 : ethernet_type (0x6007, DEC_SCA)
64 559 : ethernet_type (0x6558, TRANSPARENT_BRIDGING)
65 559 : ethernet_type (0x6559, RAW_FRAME_RELAY)
66 559 : ethernet_type (0x8035, REVERSE_ARP)
67 559 : ethernet_type (0x8038, DEC_LAN_BRIDGE)
68 559 : ethernet_type (0x803D, DEC_ETHERNET_ENCRYPTION)
69 559 : ethernet_type (0x803F, DEC_LAN_TRAFFIC_MONITOR)
70 559 : ethernet_type (0x8041, DEC_LAST)
71 559 : ethernet_type (0x809B, APPLETALK)
72 559 : ethernet_type (0x80D5, IBM_SNA)
73 559 : ethernet_type (0x80F3, APPLETALK_AARP)
74 559 : ethernet_type (0x80FF, WELLFLEET_COMPRESSION)
75 559 : ethernet_type (0x8100, VLAN)
76 559 : ethernet_type (0x8137, IPX)
77 559 : ethernet_type (0x814C, SNMP)
78 559 : ethernet_type (0x81FD, CABLETRON_ISMP)
79 559 : ethernet_type (0x81FF, CABLETRON_ISMP_TBFLOOD)
80 559 : ethernet_type (0x86DD, IP6)
81 559 : ethernet_type (0x86DF, ATOMIC)
82 559 : ethernet_type (0x876B, TCP_IP_COMPRESSION)
83 559 : ethernet_type (0x876C, IP_AUTONOMOUS_SYSTEMS)
84 559 : ethernet_type (0x876D, SECURE_DATA)
85 559 : ethernet_type (0x8808, MAC_CONTROL)
86 559 : ethernet_type (0x8809, SLOW_PROTOCOLS)
87 559 : ethernet_type (0x880B, PPP)
88 559 : ethernet_type (0x8847, MPLS)
89 559 : ethernet_type (0x8848, MPLS_UPSTREAM_ASSIGNED)
90 559 : ethernet_type (0x8863, PPPOE_DISCOVERY)
91 559 : ethernet_type (0x8864, PPPOE_SESSION)
92 559 : ethernet_type (0x886D, INTEL_ANS)
93 559 : ethernet_type (0x886F, MICROSOFT_NLB_HEARTBEAT)
94 559 : ethernet_type (0x8881, CDMA_2000)
95 559 : ethernet_type (0x888e, 802_1X_AUTHENTICATION)
96 559 : ethernet_type (0x8892, PROFINET)
97 559 : ethernet_type (0x889a, HYPERSCSI)
98 559 : ethernet_type (0x88a2, AOE)
99 559 : ethernet_type (0x88a8, DOT1AD)
100 559 : ethernet_type (0x88AE, BRDWALK)
101 559 : ethernet_type (0x88B7, 802_OUI_EXTENDED)
102 559 : ethernet_type (0x88c7, 802_11I_PRE_AUTHENTICATION)
103 559 : ethernet_type (0x88cc, 802_1_LLDP)
104 559 : ethernet_type (0x88e7, DOT1AH)
105 559 : ethernet_type (0x894f, NSH)
106 559 : ethernet_type (0x9000, LOOPBACK)
107 559 : ethernet_type (0x9021, RTNET_MAC)
108 559 : ethernet_type (0x9022, RTNET_CONFIG)
109 559 : ethernet_type (0x9100, VLAN_9100)
110 559 : ethernet_type (0x9200, VLAN_9200)
111 559 : ethernet_type (0x9999, PGLAN)
112 559 : ethernet_type (0xFEFE, SRP_ISIS)
113 559 : ethernet_type (0xFFFF, RESERVED)
|