14#include "ws_symbol_export.h"
26#define IEEE_802_3_MAX_LEN 1500
32#define ETHERNET_II_MIN_LEN 1536
35#define ETHERTYPE_UNK 0x0000
58#ifndef ETHERTYPE_XNS_IDP
59#define ETHERTYPE_XNS_IDP 0x0600
63#define ETHERTYPE_IP 0x0800
66#ifndef ETHERTYPE_X25L3
67#define ETHERTYPE_X25L3 0x0805
71#define ETHERTYPE_ARP 0x0806
75#define ETHERTYPE_WOL 0x0842
78#ifndef ETHERTYPE_WMX_M2M
79#define ETHERTYPE_WMX_M2M 0x08F0
83#define ETHERTYPE_BPQ 0x08FF
86#ifndef ETHERTYPE_VINES_IP
87#define ETHERTYPE_VINES_IP 0x0BAD
90#ifndef ETHERTYPE_VINES_ECHO
91#define ETHERTYPE_VINES_ECHO 0x0BAF
94#ifndef ETHERTYPE_C15_HBEAT
95#define ETHERTYPE_C15_HBEAT 0x0C15
98#ifndef ETHERTYPE_TRAIN
99#define ETHERTYPE_TRAIN 0x1984
102#ifndef ETHERTYPE_CGMP
103#define ETHERTYPE_CGMP 0x2001
106#ifndef ETHERTYPE_GIGAMON
107#define ETHERTYPE_GIGAMON 0x22E5
110#ifndef ETHERTYPE_MSRP
111#define ETHERTYPE_MSRP 0x22EA
114#ifndef ETHERTYPE_AVTP
115#define ETHERTYPE_AVTP 0x22F0
118#ifndef ETHERTYPE_ROHC
119#define ETHERTYPE_ROHC 0x22F1
124#ifndef ETHERTYPE_TRILL
125#define ETHERTYPE_TRILL 0x22F3
128#ifndef ETHERTYPE_L2ISIS
129#define ETHERTYPE_L2ISIS 0x22F4
132#ifndef ETHERTYPE_CENTRINO_PROMISC
133#define ETHERTYPE_CENTRINO_PROMISC 0x2452
136#ifndef ETHERTYPE_3C_NBP_DGRAM
137#define ETHERTYPE_3C_NBP_DGRAM 0x3C07
140#ifndef ETHERTYPE_EPL_V1
141#define ETHERTYPE_EPL_V1 0x3E3F
144#ifndef ETHERTYPE_C15_CH
145#define ETHERTYPE_C15_CH 0x4742
149#define ETHERTYPE_DEC 0x6000
152#ifndef ETHERTYPE_DNA_DL
153#define ETHERTYPE_DNA_DL 0x6001
156#ifndef ETHERTYPE_DNA_RC
157#define ETHERTYPE_DNA_RC 0x6002
160#ifndef ETHERTYPE_DNA_RT
161#define ETHERTYPE_DNA_RT 0x6003
165#define ETHERTYPE_LAT 0x6004
168#ifndef ETHERTYPE_DEC_DIAG
169#define ETHERTYPE_DEC_DIAG 0x6005
172#ifndef ETHERTYPE_DEC_CUST
173#define ETHERTYPE_DEC_CUST 0x6006
176#ifndef ETHERTYPE_DEC_SCA
177#define ETHERTYPE_DEC_SCA 0x6007
180#ifndef ETHERTYPE_ETHBRIDGE
181#define ETHERTYPE_ETHBRIDGE 0x6558
184#ifndef ETHERTYPE_RAW_FR
185#define ETHERTYPE_RAW_FR 0x6559
188#ifndef ETHERTYPE_REVARP
189#define ETHERTYPE_REVARP 0x8035
192#ifndef ETHERTYPE_DEC_LB
193#define ETHERTYPE_DEC_LB 0x8038
196#ifndef ETHERTYPE_DEC_LAST
197#define ETHERTYPE_DEC_LAST 0x8041
200#ifndef ETHERTYPE_ATALK
201#define ETHERTYPE_ATALK 0x809B
205#define ETHERTYPE_SNA 0x80D5
209#define ETHERTYPE_DLR 0x80E1
212#ifndef ETHERTYPE_AARP
213#define ETHERTYPE_AARP 0x80F3
216#ifndef ETHERTYPE_VLAN
217#define ETHERTYPE_VLAN 0x8100
220#ifndef ETHERTYPE_SLPP
221#define ETHERTYPE_SLPP 0x8102
224#ifndef ETHERTYPE_VLACP
225#define ETHERTYPE_VLACP 0x8103
228#ifndef ETHERTYPE_OLDSLPP
229#define ETHERTYPE_OLDSLPP 0x8104
232#ifndef ETHERTYPE_NSRP
233#define ETHERTYPE_NSRP 0x8133
237#define ETHERTYPE_IPX 0x8137
240#ifndef ETHERTYPE_SNMP
241#define ETHERTYPE_SNMP 0x814C
245#define ETHERTYPE_WCP 0x80FF
249#define ETHERTYPE_STP 0x8181
252#ifndef ETHERTYPE_ISMP
253#define ETHERTYPE_ISMP 0x81FD
256#ifndef ETHERTYPE_ISMP_TBFLOOD
257#define ETHERTYPE_ISMP_TBFLOOD 0x81FF
260#ifndef ETHERTYPE_QNX_QNET6
261#define ETHERTYPE_QNX_QNET6 0x8204
264#ifndef ETHERTYPE_IPv6
265#define ETHERTYPE_IPv6 0x86DD
268#ifndef ETHERTYPE_WLCCP
269#define ETHERTYPE_WLCCP 0x872D
272#ifndef ETHERTYPE_MINT
273#define ETHERTYPE_MINT 0x8783
276#ifndef ETHERTYPE_MAC_CONTROL
277#define ETHERTYPE_MAC_CONTROL 0x8808
280#ifndef ETHERTYPE_SLOW_PROTOCOLS
281#define ETHERTYPE_SLOW_PROTOCOLS 0x8809
285#define ETHERTYPE_PPP 0x880B
288#ifndef ETHERTYPE_COBRANET
289#define ETHERTYPE_COBRANET 0x8819
292#ifndef ETHERTYPE_MPLS
293#define ETHERTYPE_MPLS 0x8847
296#ifndef ETHERTYPE_MPLS_MULTI
297#define ETHERTYPE_MPLS_MULTI 0x8848
300#ifndef ETHERTYPE_FOUNDRY
301#define ETHERTYPE_FOUNDRY 0x885A
304#ifndef ETHERTYPE_PPPOED
305#define ETHERTYPE_PPPOED 0x8863
308#ifndef ETHERTYPE_PPPOES
309#define ETHERTYPE_PPPOES 0x8864
312#ifndef ETHERTYPE_LINK_CTL
313#define ETHERTYPE_LINK_CTL 0x886C
316#ifndef ETHERTYPE_INTEL_ANS
317#define ETHERTYPE_INTEL_ANS 0x886D
320#ifndef ETHERTYPE_MS_NLB_HEARTBEAT
321#define ETHERTYPE_MS_NLB_HEARTBEAT 0x886F
324#ifndef ETHERTYPE_JUMBO_LLC
325#define ETHERTYPE_JUMBO_LLC 0x8870
328#ifndef ETHERTYPE_BRCM_TYPE
329#define ETHERTYPE_BRCM_TYPE 0x8874
332#ifndef ETHERTYPE_HOMEPLUG
333#define ETHERTYPE_HOMEPLUG 0x887B
336#ifndef ETHERTYPE_CDMA2000_A10_UBS
337#define ETHERTYPE_CDMA2000_A10_UBS 0x8881
340#ifndef ETHERTYPE_ATMOE
341#define ETHERTYPE_ATMOE 0x8884
344#ifndef ETHERTYPE_EAPOL
345#define ETHERTYPE_EAPOL 0x888E
348#ifndef ETHERTYPE_FORTINET_FGCP_HB
349#define ETHERTYPE_FORTINET_FGCP_HB 0x8890
352#ifndef ETHERTYPE_PROFINET
353#define ETHERTYPE_PROFINET 0x8892
356#ifndef ETHERTYPE_FORTINET_FGCP_SESSION
357#define ETHERTYPE_FORTINET_FGCP_SESSION 0x8893
360#ifndef ETHERTYPE_REALTEK
361#define ETHERTYPE_REALTEK 0x8899
364#ifndef ETHERTYPE_HYPERSCSI
365#define ETHERTYPE_HYPERSCSI 0x889A
368#ifndef ETHERTYPE_CSM_ENCAPS
369#define ETHERTYPE_CSM_ENCAPS 0x889B
372#ifndef ETHERTYPE_TELKONET
373#define ETHERTYPE_TELKONET 0x88A1
377#define ETHERTYPE_AOE 0x88A2
380#ifndef ETHERTYPE_ECATF
381#define ETHERTYPE_ECATF 0x88A4
384#ifndef ETHERTYPE_IEEE_802_1AD
385#define ETHERTYPE_IEEE_802_1AD 0x88A8
388#ifndef ETHERTYPE_IEEE_EXTREME_MESH
389#define ETHERTYPE_IEEE_EXTREME_MESH 0x88A9
392#ifndef ETHERTYPE_EPL_V2
393#define ETHERTYPE_EPL_V2 0x88AB
396#ifndef ETHERTYPE_XIMETA
397#define ETHERTYPE_XIMETA 0x88AD
400#ifndef ETHERTYPE_BRDWALK
401#define ETHERTYPE_BRDWALK 0x88AE
405#define ETHERTYPE_WAI 0x88B4
413#ifndef ETHERTYPE_EXPERIMENTAL_ETH1
414#define ETHERTYPE_EXPERIMENTAL_ETH1 0x88B5
417#ifndef ETHERTYPE_EXPERIMENTAL_ETH2
418#define ETHERTYPE_EXPERIMENTAL_ETH2 0x88B6
421#ifndef ETHERTYPE_IEEE802_OUI_EXTENDED
422#define ETHERTYPE_IEEE802_OUI_EXTENDED 0x88B7
425#ifndef ETHERTYPE_IEC61850_GOOSE
426#define ETHERTYPE_IEC61850_GOOSE 0x88B8
438#ifndef ETHERTYPE_IEC61850_GSE
439#define ETHERTYPE_IEC61850_GSE 0x88B9
442#ifndef ETHERTYPE_IEC61850_SV
443#define ETHERTYPE_IEC61850_SV 0x88BA
446#ifndef ETHERTYPE_TIPC
447#define ETHERTYPE_TIPC 0x88CA
450#ifndef ETHERTYPE_RSN_PREAUTH
451#define ETHERTYPE_RSN_PREAUTH 0x88C7
454#ifndef ETHERTYPE_LLDP
455#define ETHERTYPE_LLDP 0x88CC
458#ifndef ETHERTYPE_SERCOS
459#define ETHERTYPE_SERCOS 0x88CD
462#ifndef ETHERTYPE_3GPP2
463#define ETHERTYPE_3GPP2 0x88D2
467#ifndef ETHERTYPE_CESOETH
468#define ETHERTYPE_CESOETH 0x88D8
471#ifndef ETHERTYPE_LLTD
472#define ETHERTYPE_LLTD 0x88D9
475#ifndef ETHERTYPE_WSMP
476#define ETHERTYPE_WSMP 0x88DC
479#ifndef ETHERTYPE_VMLAB
480#define ETHERTYPE_VMLAB 0x88DE
483#ifndef ETHERTYPE_HOMEPLUG_AV
484#define ETHERTYPE_HOMEPLUG_AV 0x88E1
488#define ETHERTYPE_MRP 0x88E3
491#ifndef ETHERTYPE_MACSEC
492#define ETHERTYPE_MACSEC 0x88E5
495#ifndef ETHERTYPE_IEEE_802_1AH
496#define ETHERTYPE_IEEE_802_1AH 0x88E7
499#ifndef ETHERTYPE_ELMI
500#define ETHERTYPE_ELMI 0x88EE
503#ifndef ETHERTYPE_MVRP
504#define ETHERTYPE_MVRP 0x88F5
507#ifndef ETHERTYPE_MMRP
508#define ETHERTYPE_MMRP 0x88F6
512#define ETHERTYPE_PTP 0x88F7
517#ifndef ETHERTYPE_NCSI
518#define ETHERTYPE_NCSI 0x88F8
522#define ETHERTYPE_PRP 0x88FB
525#ifndef ETHERTYPE_FLIP
526#define ETHERTYPE_FLIP 0x8901
530#define ETHERTYPE_CFM 0x8902
534#define ETHERTYPE_DCE 0x8903
537#ifndef ETHERTYPE_FCOE
538#define ETHERTYPE_FCOE 0x8906
542#define ETHERTYPE_CMD 0x8909
545#ifndef ETHERTYPE_IEEE80211_DATA_ENCAP
546#define ETHERTYPE_IEEE80211_DATA_ENCAP 0x890d
549#ifndef ETHERTYPE_LINX
550#define ETHERTYPE_LINX 0x8911
554#define ETHERTYPE_FIP 0x8914
557#ifndef ETHERTYPE_ROCE
558#define ETHERTYPE_ROCE 0x8915
562#define ETHERTYPE_MIH 0x8917
565#ifndef ETHERTYPE_TTE_PCF
566#define ETHERTYPE_TTE_PCF 0x891D
569#ifndef ETHERTYPE_VNTAG
570#define ETHERTYPE_VNTAG 0x8926
573#ifndef ETHERTYPE_SEL_L2
574#define ETHERTYPE_SEL_L2 0x892B
577#ifndef ETHERTYPE_BLUECOM
578#define ETHERTYPE_BLUECOM 0x892D
582#define ETHERTYPE_HSR 0x892F
585#ifndef ETHERTYPE_IEEE_1905
586#define ETHERTYPE_IEEE_1905 0x893A
589#ifndef ETHERTYPE_IEEE_802_1BR
590#define ETHERTYPE_IEEE_802_1BR 0x893F
594#define ETHERTYPE_ECP 0x8940
597#ifndef ETHERTYPE_ONOS
598#define ETHERTYPE_ONOS 0x8942
601#ifndef ETHERTYPE_GEONETWORKING
602#define ETHERTYPE_GEONETWORKING 0x8947
606#define ETHERTYPE_NSH 0x894F
609#ifndef ETHERTYPE_PA_HBBACKUP
610#define ETHERTYPE_PA_HBBACKUP 0x8988
613#ifndef ETHERTYPE_LOOP
614#define ETHERTYPE_LOOP 0x9000
617#ifndef ETHERTYPE_RTMAC
618#define ETHERTYPE_RTMAC 0x9021
621#ifndef ETHERTYPE_RTCFG
622#define ETHERTYPE_RTCFG 0x9022
625#ifndef ETHERTYPE_QINQ_OLD
626#define ETHERTYPE_QINQ_OLD 0x9100
629#ifndef ETHERTYPE_EERO
630#define ETHERTYPE_EERO 0x9104
633#ifndef ETHERTYPE_TECMP
634#define ETHERTYPE_TECMP 0x99FE
637#ifndef ETHERTYPE_6LOWPAN
638#define ETHERTYPE_6LOWPAN 0xA0ED
641#ifndef ETHERTYPE_ECPRI
642#define ETHERTYPE_ECPRI 0xAEFE
645#ifndef ETHERTYPE_CABLELABS
646#define ETHERTYPE_CABLELABS 0xB4E3
650#define ETHERTYPE_XIP 0xC0DE
654#define ETHERTYPE_NWP 0xC0DF
658#define ETHERTYPE_LLT 0xCAFE
661#ifndef ETHERTYPE_TDMOE
662#define ETHERTYPE_TDMOE 0xD00D
665#ifndef ETHERTYPE_AVSP
666#define ETHERTYPE_AVSP 0xD28B
669#ifndef ETHERTYPE_EXEH
670#define ETHERTYPE_EXEH 0xE555
673#ifndef ETHERTYPE_ATRL
674#define ETHERTYPE_ATRL 0xFBAC
677#ifndef ETHERTYPE_FCFT
678#define ETHERTYPE_FCFT 0xFCFC
681#ifndef ETHERTYPE_ACIGLEAN
682#define ETHERTYPE_ACIGLEAN 0xFFF2
685#ifndef ETHERTYPE_IEEE_802_1CB
686#define ETHERTYPE_IEEE_802_1CB 0xF1C1
Definition value_string.h:25