| Wireshark 4.7.3 The Wireshark network protocol analyzer

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