| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
etypes.h
Go to the documentation of this file.
1
11#ifndef __ETYPES_H__
12#define __ETYPES_H__
13
14#include "ws_symbol_export.h"
15
16#include <wsutil/value_string.h>
17
18#ifdef __cplusplus
19extern "C" {
20#endif /* __cplusplus */
21
22/*
23 * Maximum length of an IEEE 802.3 frame; Ethernet type/length values
24 * less than or equal to it are lengths.
25 */
26#define IEEE_802_3_MAX_LEN 1500
27
28/*
29 * Minimum length of an Ethernet II frame; Ethernet type/length values
30 * greater than or equal to it are types.
31 */
32#define ETHERNET_II_MIN_LEN 1536
33
34#ifndef ETHERTYPE_UNK
35#define ETHERTYPE_UNK 0x0000
36#endif
37
38/* Sources:
39 * http://www.iana.org/assignments/ethernet-numbers
40 * TCP/IP Illustrated, Volume 1
41 * RFCs 894, 1042, 826
42 * tcpdump's ethertype.h
43 * http://www.cavebear.com/CaveBear/Ethernet/
44 * http://standards.ieee.org/regauth/ethertype/type-pub.html
45 * http://standards.ieee.org/regauth/ethertype/eth.txt
46 * (The first of the two IEEE URLs is the one that the "EtherType Field
47 * Public Assignments" link on the page at
48 *
49 * http://standards.ieee.org/regauth/ethertype/index.shtml
50 * http://standards-oui.ieee.org/ethertype/eth.txt
51 *
52 * goes to, but it is redirected to the second of those - i.e., both
53 * of the IEEE URLs ultimately go to the same page.)
54 */
55
56/* Order these values by number */
57
58#ifndef ETHERTYPE_XNS_IDP
59#define ETHERTYPE_XNS_IDP 0x0600
60#endif
61
62#ifndef ETHERTYPE_IP
63#define ETHERTYPE_IP 0x0800
64#endif
65
66#ifndef ETHERTYPE_X25L3
67#define ETHERTYPE_X25L3 0x0805
68#endif
69
70#ifndef ETHERTYPE_ARP
71#define ETHERTYPE_ARP 0x0806
72#endif
73
74#ifndef ETHERTYPE_WOL
75#define ETHERTYPE_WOL 0x0842 /* Wake on LAN. Not officially registered. */
76#endif
77
78#ifndef ETHERTYPE_WMX_M2M
79#define ETHERTYPE_WMX_M2M 0x08F0
80#endif
81
82#ifndef ETHERTYPE_BPQ
83#define ETHERTYPE_BPQ 0x08FF /* AX.25 over ethernet (not officially registered) */
84#endif
85
86#ifndef ETHERTYPE_VINES_IP
87#define ETHERTYPE_VINES_IP 0x0BAD
88#endif
89
90#ifndef ETHERTYPE_VINES_ECHO
91#define ETHERTYPE_VINES_ECHO 0x0BAF
92#endif
93
94#ifndef ETHERTYPE_C15_HBEAT
95#define ETHERTYPE_C15_HBEAT 0x0C15
96#endif
97
98#ifndef ETHERTYPE_TRAIN
99#define ETHERTYPE_TRAIN 0x1984 /* Created by Microsoft Network Monitor as a summary packet */
100#endif
101
102#ifndef ETHERTYPE_CGMP
103#define ETHERTYPE_CGMP 0x2001
104#endif
105
106#ifndef ETHERTYPE_GIGAMON
107#define ETHERTYPE_GIGAMON 0x22E5 /* Gigamon Header */
108#endif
109
110#ifndef ETHERTYPE_MSRP
111#define ETHERTYPE_MSRP 0x22EA
112#endif
113
114#ifndef ETHERTYPE_AVTP
115#define ETHERTYPE_AVTP 0x22F0
116#endif
117
118#ifndef ETHERTYPE_ROHC /* ROHC (Robust Header Compression) is an IP header compression protocol specified in */
119#define ETHERTYPE_ROHC 0x22F1 /* IETF RFC 3095 "RObust Header Compression (ROHC): Framework and four profiles: RTP, */
120#endif /* UDP, ESP, and uncompressed". The specification is available at
121 * http://www.ietf.org/rfc/rfc3095.txt.
122 */
123
124#ifndef ETHERTYPE_TRILL
125#define ETHERTYPE_TRILL 0x22F3 /* Internet Engineering Task Force */
126#endif
127
128#ifndef ETHERTYPE_L2ISIS
129#define ETHERTYPE_L2ISIS 0x22F4 /* Internet Engineering Task Force */
130#endif
131
132#ifndef ETHERTYPE_CENTRINO_PROMISC
133#define ETHERTYPE_CENTRINO_PROMISC 0x2452 /* Intel Centrino promiscuous packets */
134#endif
135
136#ifndef ETHERTYPE_3C_NBP_DGRAM
137#define ETHERTYPE_3C_NBP_DGRAM 0x3C07
138#endif
139
140#ifndef ETHERTYPE_EPL_V1
141#define ETHERTYPE_EPL_V1 0x3E3F
142#endif
143
144#ifndef ETHERTYPE_C15_CH
145#define ETHERTYPE_C15_CH 0x4742
146#endif
147
148#ifndef ETHERTYPE_DEC
149#define ETHERTYPE_DEC 0x6000
150#endif
151
152#ifndef ETHERTYPE_DNA_DL
153#define ETHERTYPE_DNA_DL 0x6001
154#endif
155
156#ifndef ETHERTYPE_DNA_RC
157#define ETHERTYPE_DNA_RC 0x6002
158#endif
159
160#ifndef ETHERTYPE_DNA_RT
161#define ETHERTYPE_DNA_RT 0x6003
162#endif
163
164#ifndef ETHERTYPE_LAT
165#define ETHERTYPE_LAT 0x6004
166#endif
167
168#ifndef ETHERTYPE_DEC_DIAG
169#define ETHERTYPE_DEC_DIAG 0x6005
170#endif
171
172#ifndef ETHERTYPE_DEC_CUST
173#define ETHERTYPE_DEC_CUST 0x6006
174#endif
175
176#ifndef ETHERTYPE_DEC_SCA
177#define ETHERTYPE_DEC_SCA 0x6007
178#endif
179
180#ifndef ETHERTYPE_ETHBRIDGE
181#define ETHERTYPE_ETHBRIDGE 0x6558 /* transparent Ethernet bridging [RFC1701]*/
182#endif
183
184#ifndef ETHERTYPE_RAW_FR
185#define ETHERTYPE_RAW_FR 0x6559 /* Raw Frame Relay [RFC1701] */
186#endif
187
188#ifndef ETHERTYPE_REVARP
189#define ETHERTYPE_REVARP 0x8035
190#endif
191
192#ifndef ETHERTYPE_DEC_LB
193#define ETHERTYPE_DEC_LB 0x8038
194#endif
195
196#ifndef ETHERTYPE_DEC_LAST
197#define ETHERTYPE_DEC_LAST 0x8041 /* DEC Local Area Systems Transport */
198#endif
199
200#ifndef ETHERTYPE_ATALK
201#define ETHERTYPE_ATALK 0x809B
202#endif
203
204#ifndef ETHERTYPE_SNA
205#define ETHERTYPE_SNA 0x80D5
206#endif
207
208#ifndef ETHERTYPE_DLR
209#define ETHERTYPE_DLR 0x80E1 /* Allen-Bradley Company, Inc., EtherNet/IP Device Level Ring */
210#endif
211
212#ifndef ETHERTYPE_AARP
213#define ETHERTYPE_AARP 0x80F3
214#endif
215
216#ifndef ETHERTYPE_VLAN
217#define ETHERTYPE_VLAN 0x8100 /* 802.1Q Virtual LAN */
218#endif
219
220#ifndef ETHERTYPE_SLPP
221#define ETHERTYPE_SLPP 0x8102 /* Nortel/Avaya/Extremenetworks Simple Loop Protection Protocol */
222#endif
223
224#ifndef ETHERTYPE_VLACP
225#define ETHERTYPE_VLACP 0x8103 /* Nortel/Avaya/Extremenetworks virtual LACP */
226#endif
227
228#ifndef ETHERTYPE_OLDSLPP
229#define ETHERTYPE_OLDSLPP 0x8104 /* Nortel/Avaya/Extremenetworks Simple Loop Protection Protocol */
230#endif
231
232#ifndef ETHERTYPE_NSRP
233#define ETHERTYPE_NSRP 0x8133
234#endif
235
236#ifndef ETHERTYPE_IPX
237#define ETHERTYPE_IPX 0x8137
238#endif
239
240#ifndef ETHERTYPE_SNMP
241#define ETHERTYPE_SNMP 0x814C /* SNMP over Ethernet, RFC 1089 */
242#endif
243
244#ifndef ETHERTYPE_WCP
245#define ETHERTYPE_WCP 0x80FF /* Wellfleet Compression Protocol */
246#endif
247
248#ifndef ETHERTYPE_STP
249#define ETHERTYPE_STP 0x8181 /* STP, HIPPI-ST */
250#endif
251
252#ifndef ETHERTYPE_ISMP
253#define ETHERTYPE_ISMP 0x81FD /* Cabletron Interswitch Message Protocol */
254#endif
255
256#ifndef ETHERTYPE_ISMP_TBFLOOD
257#define ETHERTYPE_ISMP_TBFLOOD 0x81FF /* Cabletron Interswitch Message Protocol */
258#endif
259
260#ifndef ETHERTYPE_QNX_QNET6
261#define ETHERTYPE_QNX_QNET6 0x8204 /* 0x8204 QNX QNET/LWL4 for QNX6 OS; 0x8203 for QNX4 OS QNET */
262#endif
263
264#ifndef ETHERTYPE_IPv6
265#define ETHERTYPE_IPv6 0x86DD
266#endif
267
268#ifndef ETHERTYPE_WLCCP
269#define ETHERTYPE_WLCCP 0x872D /* Cisco Wireless Lan Context Control Protocol */
270#endif
271
272#ifndef ETHERTYPE_MINT
273#define ETHERTYPE_MINT 0x8783 /* Motorola Media Independent Network Transport */
274#endif
275
276#ifndef ETHERTYPE_MAC_CONTROL
277#define ETHERTYPE_MAC_CONTROL 0x8808
278#endif
279
280#ifndef ETHERTYPE_SLOW_PROTOCOLS
281#define ETHERTYPE_SLOW_PROTOCOLS 0x8809
282#endif
283
284#ifndef ETHERTYPE_PPP
285#define ETHERTYPE_PPP 0x880B /* no, this is not PPPoE */
286#endif
287
288#ifndef ETHERTYPE_COBRANET
289#define ETHERTYPE_COBRANET 0x8819 /* Cirrus cobranet */
290#endif
291
292#ifndef ETHERTYPE_MPLS
293#define ETHERTYPE_MPLS 0x8847 /* MPLS unicast packet */
294#endif
295
296#ifndef ETHERTYPE_MPLS_MULTI
297#define ETHERTYPE_MPLS_MULTI 0x8848 /* MPLS multicast packet */
298#endif
299
300#ifndef ETHERTYPE_FOUNDRY
301#define ETHERTYPE_FOUNDRY 0x885A /* Some Foundry proprietary protocol */
302#endif
303
304#ifndef ETHERTYPE_PPPOED
305#define ETHERTYPE_PPPOED 0x8863 /* PPPoE Discovery Protocol */
306#endif
307
308#ifndef ETHERTYPE_PPPOES
309#define ETHERTYPE_PPPOES 0x8864 /* PPPoE Session Protocol */
310#endif
311
312#ifndef ETHERTYPE_LINK_CTL
313#define ETHERTYPE_LINK_CTL 0x886C /* HPNA, wlan link local tunnel */
314#endif
315
316#ifndef ETHERTYPE_INTEL_ANS
317#define ETHERTYPE_INTEL_ANS 0x886D /* Intel ANS (NIC teaming) http://www.intel.com/support/network/adapter/ans/probes.htm */
318#endif
319
320#ifndef ETHERTYPE_MS_NLB_HEARTBEAT
321#define ETHERTYPE_MS_NLB_HEARTBEAT 0x886F /* MS Network Load Balancing heartbeat http://www.microsoft.com/technet/treeview/default.asp?url=/TechNet/prodtechnol/windows2000serv/deploy/confeat/nlbovw.asp */
322#endif
323
324#ifndef ETHERTYPE_JUMBO_LLC
325#define ETHERTYPE_JUMBO_LLC 0x8870 /* 802.2 jumbo frames http://tools.ietf.org/html/draft-ietf-isis-ext-eth */
326#endif
327
328#ifndef ETHERTYPE_BRCM_TYPE
329#define ETHERTYPE_BRCM_TYPE 0x8874 /* Broadcom Ethernet switches management tag */
330#endif
331
332#ifndef ETHERTYPE_HOMEPLUG
333#define ETHERTYPE_HOMEPLUG 0x887B /* IEEE assigned Ethertype */
334#endif
335
336#ifndef ETHERTYPE_CDMA2000_A10_UBS
337#define ETHERTYPE_CDMA2000_A10_UBS 0x8881 /* the byte stream protocol that is used for IP based micro-mobility bearer interfaces (A10) in CDMA2000(R)-based wireless networks */
338#endif
339
340#ifndef ETHERTYPE_ATMOE
341#define ETHERTYPE_ATMOE 0x8884 /* A simple ATM over Ethernet encapsulation */
342#endif
343
344#ifndef ETHERTYPE_EAPOL
345#define ETHERTYPE_EAPOL 0x888E /* 802.1x Authentication */
346#endif
347
348#ifndef ETHERTYPE_FORTINET_FGCP_HB /* Not register https://community.fortinet.com/t5/FortiGate/Technical-Tip-FortiGate-HA-Heartbeat-packet-Ethertypes/ta-p/197807 */
349#define ETHERTYPE_FORTINET_FGCP_HB 0x8890 /* Fortinet FGCP HeartBeat */
350#endif
351
352#ifndef ETHERTYPE_PROFINET
353#define ETHERTYPE_PROFINET 0x8892 /* PROFIBUS PROFINET protocol */
354#endif
355
356#ifndef ETHERTYPE_FORTINET_FGCP_SESSION /* Not register https://community.fortinet.com/t5/FortiGate/Technical-Tip-FortiGate-HA-Heartbeat-packet-Ethertypes/ta-p/197807 */
357#define ETHERTYPE_FORTINET_FGCP_SESSION 0x8893 /* Fortinet FGCP HeartBeat */
358#endif
359
360#ifndef ETHERTYPE_REALTEK
361#define ETHERTYPE_REALTEK 0x8899 /* Realtek Layer 2 Protocols */
362#endif
363
364#ifndef ETHERTYPE_HYPERSCSI
365#define ETHERTYPE_HYPERSCSI 0x889A /* HyperSCSI */
366#endif
367
368#ifndef ETHERTYPE_CSM_ENCAPS
369#define ETHERTYPE_CSM_ENCAPS 0x889B /* Mindspeed Technologies www.mindspeed.com */
370#endif
371
372#ifndef ETHERTYPE_TELKONET
373#define ETHERTYPE_TELKONET 0x88A1 /* Telkonet powerline ethernet */
374#endif
375
376#ifndef ETHERTYPE_AOE
377#define ETHERTYPE_AOE 0x88A2
378#endif
379
380#ifndef ETHERTYPE_ECATF
381#define ETHERTYPE_ECATF 0x88A4 /* Ethernet type for EtherCAT frames */
382#endif
383
384#ifndef ETHERTYPE_IEEE_802_1AD
385#define ETHERTYPE_IEEE_802_1AD 0x88A8 /* IEEE 802.1ad Provider Bridge, Q-in-Q */
386#endif
387
388#ifndef ETHERTYPE_IEEE_EXTREME_MESH
389#define ETHERTYPE_IEEE_EXTREME_MESH 0x88A9 /* Ethernet type for Extreme Mesh */
390#endif
391
392#ifndef ETHERTYPE_EPL_V2
393#define ETHERTYPE_EPL_V2 0x88AB /* communication profile for Real-Time Ethernet */
394#endif
395
396#ifndef ETHERTYPE_XIMETA
397#define ETHERTYPE_XIMETA 0x88AD /* XiMeta Technology Americas Inc. proprietary communication protocol */
398#endif
399
400#ifndef ETHERTYPE_BRDWALK
401#define ETHERTYPE_BRDWALK 0x88AE
402#endif
403
404#ifndef ETHERTYPE_WAI
405#define ETHERTYPE_WAI 0x88B4 /* Instant Wireless Network Communications, Co. Ltd. */
406#endif /* WAI is a new authentication protocol that
407 will be used to access authentication in
408 IP based networks. This protocol establishes
409 a logic channel between a station and access
410 equipment by using an EtherType Field to
411 accomplish authentication. */
412
413#ifndef ETHERTYPE_EXPERIMENTAL_ETH1
414#define ETHERTYPE_EXPERIMENTAL_ETH1 0x88B5 /* IEEE Std 802 - Local Experimental Ethertype 1. */
415#endif
416
417#ifndef ETHERTYPE_EXPERIMENTAL_ETH2
418#define ETHERTYPE_EXPERIMENTAL_ETH2 0x88B6 /* IEEE Std 802 - Local Experimental Ethertype 2. */
419#endif
420
421#ifndef ETHERTYPE_IEEE802_OUI_EXTENDED
422#define ETHERTYPE_IEEE802_OUI_EXTENDED 0x88B7 /* IEEE 802a OUI Extended Ethertype */
423#endif
424
425#ifndef ETHERTYPE_IEC61850_GOOSE
426#define ETHERTYPE_IEC61850_GOOSE 0x88B8 /* IEC 61850 is a global standard for the use in utility communication,*/
427#endif /* in particular for the information exchange between IED's in a power */
428 /* transmission or distribution substation. */
429 /* There are three types of application services
430 that use a specific EtherType. GOOSE uses
431 EtherType field 88b8, GSE management services
432 uses EtherType field 88b9. These two protocols
433 are defined in IEC 61850-8-1. SV (Sampled
434 Value Transmission) uses EtherType field
435 88ba; the protocol is defined in IEC 61850-9-1
436 and IEC 61850-9-2. */
437
438#ifndef ETHERTYPE_IEC61850_GSE
439#define ETHERTYPE_IEC61850_GSE 0x88B9 /* IEC 61850 is a global standard for the use in utility communication,*/
440#endif /* in particular for the information exchange between IED's in a power */
441
442#ifndef ETHERTYPE_IEC61850_SV
443#define ETHERTYPE_IEC61850_SV 0x88BA /* IEC 61850 is a global standard for the use in utility communication,*/
444#endif /* in particular for the information exchange between IED's in a power */
445
446#ifndef ETHERTYPE_TIPC
447#define ETHERTYPE_TIPC 0x88CA /* TIPC (Transparent Inter Process Communication, */
448#endif /* http://tipc.sourceforge.net/) Ericsson Research Canada Inc */
449
450#ifndef ETHERTYPE_RSN_PREAUTH
451#define ETHERTYPE_RSN_PREAUTH 0x88C7 /* 802.11i Pre-Authentication */
452#endif
453
454#ifndef ETHERTYPE_LLDP
455#define ETHERTYPE_LLDP 0x88CC /* IEEE 802.1AB Link Layer Discovery Protocol (LLDP) */
456#endif
457
458#ifndef ETHERTYPE_SERCOS
459#define ETHERTYPE_SERCOS 0x88CD /* SERCOS interface real-time protocol for motion control */
460#endif
461
462#ifndef ETHERTYPE_3GPP2
463#define ETHERTYPE_3GPP2 0x88D2 /* This will be used in a revision of the Interoperability */
464#endif /* Specification (IOS) for cdma2000 Access Network Interfaces (document numbers A.S0011-B */
465 /* through A.S0017-B v1.0). This document already uses the Ether type 8881 */
466
467#ifndef ETHERTYPE_CESOETH
468#define ETHERTYPE_CESOETH 0x88D8 /* Circuit Emulation Services over Ethernet (MEF 8) */
469#endif
470
471#ifndef ETHERTYPE_LLTD
472#define ETHERTYPE_LLTD 0x88D9 /* Link Layer Topology Discovery (LLTD) */
473#endif
474
475#ifndef ETHERTYPE_WSMP /* Wireless Access in a Vehicle Environment */
476#define ETHERTYPE_WSMP 0x88DC /* (WAVE) Short Message Protocol (WSM) as defined */
477#endif /* in IEEE P1609.3. */
478
479#ifndef ETHERTYPE_VMLAB
480#define ETHERTYPE_VMLAB 0x88DE /* VMware LabManager (used to be Akimbi Systems) */
481#endif
482
483#ifndef ETHERTYPE_HOMEPLUG_AV
484#define ETHERTYPE_HOMEPLUG_AV 0x88E1 /* HomePlug AV */
485#endif
486
487#ifndef ETHERTYPE_MRP
488#define ETHERTYPE_MRP 0x88E3 /* IEC 61158-6-10 Media Redundancy Protocol (MRP) */
489#endif
490
491#ifndef ETHERTYPE_MACSEC
492#define ETHERTYPE_MACSEC 0x88E5 /* IEEE 802.1ae Media access control security (MACSEC) */
493#endif
494
495#ifndef ETHERTYPE_IEEE_802_1AH
496#define ETHERTYPE_IEEE_802_1AH 0x88E7 /* IEEE 802.1ah Provider Backbone Bridge Mac-in-Mac */
497#endif
498
499#ifndef ETHERTYPE_ELMI
500#define ETHERTYPE_ELMI 0x88EE /* Ethernet Local Management Interface (E-LMI) (MEF16) */
501#endif
502
503#ifndef ETHERTYPE_MVRP
504#define ETHERTYPE_MVRP 0x88F5 /* IEEE 802.1ak Multiple VLAN Registration Protocol */
505#endif
506
507#ifndef ETHERTYPE_MMRP
508#define ETHERTYPE_MMRP 0x88F6 /* IEEE 802.1ak Multiple MAC Registration Protocol */
509#endif
510
511#ifndef ETHERTYPE_PTP
512#define ETHERTYPE_PTP 0x88F7 /* IEEE1588v2 (PTPv2) over Ethernet */
513#endif /* in particular for the information exchange between IED's in a power */
514 /* transmission or distribution substation. */
515 /* There are three types of application services */
516
517#ifndef ETHERTYPE_NCSI
518#define ETHERTYPE_NCSI 0x88F8 /* DMTF NC-SI: Network Controller Sideband Interface */
519#endif
520
521#ifndef ETHERTYPE_PRP
522#define ETHERTYPE_PRP 0x88FB /* Parallel Redundancy Protocol (IEC62439 Part 3) */
523#endif
524
525#ifndef ETHERTYPE_FLIP
526#define ETHERTYPE_FLIP 0x8901 /* Nokia Solutions and Networks Flow Layer Internal Protocol */
527#endif
528
529#ifndef ETHERTYPE_CFM
530#define ETHERTYPE_CFM 0x8902 /* IEEE 802.1Q Connectivity Fault Management(CFM) protocol */
531#endif
532
533#ifndef ETHERTYPE_DCE
534#define ETHERTYPE_DCE 0x8903 /* Cisco Systems Inc DCE */
535#endif
536
537#ifndef ETHERTYPE_FCOE
538#define ETHERTYPE_FCOE 0x8906 /* Fibre Channel over Ethernet */
539#endif
540
541#ifndef ETHERTYPE_CMD
542#define ETHERTYPE_CMD 0x8909 /* Cisco Systems Inc - Cisco MetaData */
543#endif
544
545#ifndef ETHERTYPE_IEEE80211_DATA_ENCAP
546#define ETHERTYPE_IEEE80211_DATA_ENCAP 0x890d /* IEEE 802.11 data encapsulation */
547#endif
548
549#ifndef ETHERTYPE_LINX
550#define ETHERTYPE_LINX 0x8911 /* ENEA LINX IPC protocol over Ethernet */
551#endif
552
553#ifndef ETHERTYPE_FIP
554#define ETHERTYPE_FIP 0x8914 /* FCoE Initialization Protocol */
555#endif
556
557#ifndef ETHERTYPE_ROCE
558#define ETHERTYPE_ROCE 0x8915 /* Infiniband RDMA over Converged Ethernet */
559#endif
560
561#ifndef ETHERTYPE_MIH
562#define ETHERTYPE_MIH 0x8917 /* Media Independent Handover Protocol */
563#endif
564
565#ifndef ETHERTYPE_TTE_PCF
566#define ETHERTYPE_TTE_PCF 0x891D /* TTEthernet Protocol Control Frame */
567#endif
568
569#ifndef ETHERTYPE_VNTAG
570#define ETHERTYPE_VNTAG 0x8926 /* VN-Tag */
571#endif
572
573#ifndef ETHERTYPE_SEL_L2
574#define ETHERTYPE_SEL_L2 0x892B /* Schweitzer Engineering Labs Layer 2 */
575#endif
576
577#ifndef ETHERTYPE_BLUECOM
578#define ETHERTYPE_BLUECOM 0x892D /* Bachmann bluecom protocol */
579#endif
580
581#ifndef ETHERTYPE_HSR
582#define ETHERTYPE_HSR 0x892F /* High-availability Seamless Redundancy (IEC62439 Part 3) */
583#endif
584
585#ifndef ETHERTYPE_IEEE_1905
586#define ETHERTYPE_IEEE_1905 0x893A /* IEEE 1905 */
587#endif
588
589#ifndef ETHERTYPE_IEEE_802_1BR
590#define ETHERTYPE_IEEE_802_1BR 0x893F /* IEEE 802.1br E-Tag, Bridge Port Extension */
591#endif
592
593#ifndef ETHERTYPE_ECP
594#define ETHERTYPE_ECP 0x8940 /* Edge Control Protocol */
595#endif
596
597#ifndef ETHERTYPE_ONOS
598#define ETHERTYPE_ONOS 0x8942 /* Open Network OS */
599#endif
600
601#ifndef ETHERTYPE_GEONETWORKING
602#define ETHERTYPE_GEONETWORKING 0x8947 /* GeoNetworking as defined in ETSI EN 302 636-4-1. */
603#endif
604
605#ifndef ETHERTYPE_NSH
606#define ETHERTYPE_NSH 0x894F /* Network Service Header (draft-ietf-sfc-nsh-01.txt) */
607#endif
608
609#ifndef ETHERTYPE_PA_HBBACKUP
610#define ETHERTYPE_PA_HBBACKUP 0x8988 /* Paloalto Networks Cluster heartbeat backup via mgmt interfaces */
611#endif
612
613#ifndef ETHERTYPE_LOOP
614#define ETHERTYPE_LOOP 0x9000 /* used for layer 2 testing (do i see my own frames on the wire) */
615#endif
616
617#ifndef ETHERTYPE_RTMAC
618#define ETHERTYPE_RTMAC 0x9021 /* RTnet: Real-Time Media Access Control */
619#endif
620
621#ifndef ETHERTYPE_RTCFG
622#define ETHERTYPE_RTCFG 0x9022 /* RTnet: Real-Time Configuration Protocol */
623#endif
624
625#ifndef ETHERTYPE_QINQ_OLD
626#define ETHERTYPE_QINQ_OLD 0x9100 /* QinQ: old non-standard 802.1ad */
627#endif
628
629#ifndef ETHERTYPE_EERO
630#define ETHERTYPE_EERO 0x9104 /* EERO: broadcast packets sent by EERO MESH AP's (not officially registered) */
631#endif
632
633#ifndef ETHERTYPE_TECMP
634#define ETHERTYPE_TECMP 0x99FE /* Technically Enhanced Capture Module Protocol (TECMP) and ASAM Capture Module Protocol (CMP)*/
635#endif
636
637#ifndef ETHERTYPE_6LOWPAN
638#define ETHERTYPE_6LOWPAN 0xA0ED /* RFC 4944: Transmission of IPv6 Packets over IEEE 802.15.4 Networks */
639#endif
640
641#ifndef ETHERTYPE_ECPRI
642#define ETHERTYPE_ECPRI 0xAEFE /* Ethernet type of eCPRI */
643#endif
644
645#ifndef ETHERTYPE_CABLELABS
646#define ETHERTYPE_CABLELABS 0xB4E3 /* Ethernet type for CableLabs layer-3 protocol */
647#endif
648
649#ifndef ETHERTYPE_XIP
650#define ETHERTYPE_XIP 0xC0DE /* eXpressive Internet Protocol (not officially registered) */
651#endif
652
653#ifndef ETHERTYPE_NWP
654#define ETHERTYPE_NWP 0xC0DF /* Neighborhood Watch Protocol (not officially registered) */
655#endif
656
657#ifndef ETHERTYPE_LLT
658#define ETHERTYPE_LLT 0xCAFE /* Veritas Low Latency Transport (not officially registered) */
659#endif
660
661#ifndef ETHERTYPE_TDMOE
662#define ETHERTYPE_TDMOE 0xD00D /* Digium TDMoE packets (not officially registered) */
663#endif
664
665#ifndef ETHERTYPE_AVSP
666#define ETHERTYPE_AVSP 0xD28B /* Ethernet type for Arista vendor specific packet frames */
667#endif
668
669#ifndef ETHERTYPE_EXEH
670#define ETHERTYPE_EXEH 0xE555 /* EXos internal Extra Header */
671#endif
672
673#ifndef ETHERTYPE_ATMF
674#define ETHERTYPE_ATMF 0xFBAE /* Allied Telesis Autonomous Management Framework frames */
675#endif
676
677#ifndef ETHERTYPE_ATRL
678#define ETHERTYPE_ATRL 0xFBAC /* Allied Telesis Resiliency Link frames */
679#endif
680
681#ifndef ETHERTYPE_FCFT
682#define ETHERTYPE_FCFT 0xFCFC /* used to transport FC frames+MDS hdr internal to Cisco's MDS switch */
683#endif
684
685#ifndef ETHERTYPE_ACIGLEAN
686#define ETHERTYPE_ACIGLEAN 0xFFF2 /* Used to transport Cisco ACI internal frames for ARP gleaning (not registered) */
687#endif
688
689#ifndef ETHERTYPE_IEEE_802_1CB
690#define ETHERTYPE_IEEE_802_1CB 0xF1C1 /* IEEE 802.1CB Frame Replication and Elimination for Reliability */
691#endif
692
693WS_DLL_PUBLIC const value_string etype_vals[];
694
695#ifdef __cplusplus
696}
697#endif /* __cplusplus */
698
699#endif /* __ETYPES_H__ */
700
701/*
702 * Editor modelines - https://www.wireshark.org/tools/modelines.html
703 *
704 * Local variables:
705 * c-basic-offset: 8
706 * tab-width: 8
707 * indent-tabs-mode: t
708 * End:
709 *
710 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
711 * :indentSize=8:tabSize=8:noTabs=false:
712 */
_value_string
Mapping between a 32-bit integer value and its string representation.
Definition value_string.h:33
value_string.h