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