1998-09-16 02:39:15 +00:00
/* etypes.h
* Defines ethernet packet types , similar to tcpdump ' s ethertype . h
*
2006-05-21 05:12:17 +00:00
* Wireshark - Network traffic analyzer
* By Gerald Combs < gerald @ wireshark . org >
1998-09-16 02:39:15 +00:00
* Copyright 1998 Gerald Combs
2002-08-28 21:04:11 +00:00
*
2018-02-08 16:59:17 +00:00
* SPDX - License - Identifier : GPL - 2.0 - or - later
1998-09-16 02:39:15 +00:00
*/
# ifndef __ETYPES_H__
# define __ETYPES_H__
2013-03-01 23:53:11 +00:00
# include "ws_symbol_export.h"
2013-08-13 07:58:06 +00:00
# ifdef __cplusplus
extern " C " {
# endif /* __cplusplus */
2013-06-19 14:56:11 +00:00
# include <epan/value_string.h>
2013-03-01 23:53:11 +00:00
1999-08-22 01:35:34 +00:00
/*
* Maximum length of an IEEE 802.3 frame ; Ethernet type / length values
2011-06-29 16:05:56 +00:00
* less than or equal to it are lengths .
1999-08-22 01:35:34 +00:00
*/
2011-06-29 16:05:56 +00:00
# define IEEE_802_3_MAX_LEN 1500
2013-08-07 22:52:43 +00:00
/*
2018-11-17 11:48:05 +00:00
* Minimum length of an Ethernet II frame ; Ethernet type / length values
2011-06-29 16:05:56 +00:00
* greater than or equal to it are types .
*/
# define ETHERNET_II_MIN_LEN 1536
DLT_NULL, from "libpcap", means different things on different platforms
and in different capture files; throw in some heuristics to try to
figure out whether the 4-byte header is:
1) PPP-over-HDLC (some version of ISDN4BSD?);
2) big-endian AF_ value (BSD on big-endian platforms);
3) little-endian AF_ value (BSD on little-endian platforms);
4) two octets of 0 followed by an Ethernet type (Linux, at least
on little-endian platforms, as mutated by "libpcap").
Make a separate Wiretap encapsulation type, WTAP_ENCAP_NULL,
corresponding to DLT_NULL.
Have the PPP code dissect the frame if it's PPP-over-HDLC, and have
"ethertype()" dissect the Ethernet type and the rest of the packet if
it's a Linux-style header; dissect it ourselves only if it's an AF_
value.
Have Wiretap impose a maximum packet size of 65535 bytes, so that it
fails more gracefully when handed a corrupt "libpcap" capture file
(other capture file formats with more than a 16-bit capture length
field, if any, will have that check added later), and put that size in
"wtap.h" and have Ethereal use it as its notion of a maximum packet
size.
Have Ethereal put up a "this file appears to be damaged or corrupt"
message box if Wiretap returns a WTAP_ERR_BAD_RECORD error when opening
or reading a capture file.
Include loopback interfaces in the list of interfaces offered by the
"Capture" dialog box, but put them at the end of the list so that it
doesn't default to a loopback interface unless there are no other
interfaces. Also, don't require that an interface in the list have an
IP address associated with it, and only put one entry in the list for a
given interface (SIOCGIFCONF returns one entry per interface *address*,
not per *interface* - and even if you were to use only IP addresses, an
interface could conceivably have more than one IP address).
Exclusively use Wiretap encapsulation types internally, even when
capturing; don't use DLT_ types.
svn path=/trunk/; revision=540
1999-08-22 00:47:56 +00:00
1998-09-16 02:39:15 +00:00
# ifndef ETHERTYPE_UNK
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_UNK 0x0000
1998-09-16 02:39:15 +00:00
# endif
/* Sources:
2004-02-28 22:56:36 +00:00
* http : //www.iana.org/assignments/ethernet-numbers
1998-09-16 02:39:15 +00:00
* TCP / IP Illustrated , Volume 1
* RFCs 894 , 1042 , 826
* tcpdump ' s ethertype . h
* http : //www.cavebear.com/CaveBear/Ethernet/
2003-11-17 18:23:34 +00:00
* http : //standards.ieee.org/regauth/ethertype/type-pub.html
2004-12-01 20:57:27 +00:00
* http : //standards.ieee.org/regauth/ethertype/eth.txt
2004-12-01 21:11:48 +00:00
* ( The first of the two IEEE URLs is the one that the " EtherType Field
* Public Assignments " link on the page at
*
* http : //standards.ieee.org/regauth/ethertype/index.shtml
2018-12-12 14:50:42 +00:00
* http : //standards-oui.ieee.org/ethertype/eth.txt
2004-12-01 21:11:48 +00:00
*
* goes to , but it is redirected to the second of those - i . e . , both
* of the IEEE URLs ultimately go to the same page . )
1998-09-16 02:39:15 +00:00
*/
2006-10-31 14:36:32 +00:00
/* Order these values by number */
# ifndef ETHERTYPE_XNS_IDP
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_XNS_IDP 0x0600
2006-10-31 14:36:32 +00:00
# endif
# ifndef ETHERTYPE_IP
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_IP 0x0800
2006-10-31 14:36:32 +00:00
# endif
# ifndef ETHERTYPE_X25L3
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_X25L3 0x0805
2006-10-31 14:36:32 +00:00
# endif
# ifndef ETHERTYPE_ARP
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_ARP 0x0806
2006-10-31 14:36:32 +00:00
# endif
2007-11-06 05:30:04 +00:00
# ifndef ETHERTYPE_WOL
2018-11-17 11:48:05 +00:00
# define ETHERTYPE_WOL 0x0842 /* Wake on LAN. Not offically registered. */
2007-11-06 05:30:04 +00:00
# endif
2007-08-01 17:42:43 +00:00
# ifndef ETHERTYPE_WMX_M2M
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_WMX_M2M 0x08F0
2007-08-01 17:42:43 +00:00
# endif
2012-08-02 23:55:42 +00:00
# ifndef ETHERTYPE_BPQ
2013-02-16 10:31:20 +00:00
# define ETHERTYPE_BPQ 0x08FF /* AX.25 over ethernet (not officially registered) */
2012-08-02 23:55:42 +00:00
# endif
2003-04-22 08:50:07 +00:00
# ifndef ETHERTYPE_VINES_IP
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_VINES_IP 0x0BAD
2003-04-22 08:50:07 +00:00
# endif
# ifndef ETHERTYPE_VINES_ECHO
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_VINES_ECHO 0x0BAF
2001-04-03 05:42:11 +00:00
# endif
2015-04-09 01:27:10 +00:00
# ifndef ETHERTYPE_C15_HBEAT
# define ETHERTYPE_C15_HBEAT 0x0C15
# endif
2001-04-03 05:42:11 +00:00
# ifndef ETHERTYPE_TRAIN
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_TRAIN 0x1984 /* Created by Microsoft Network Monitor as a summary packet */
2001-04-03 05:42:11 +00:00
# endif
2002-03-23 22:02:20 +00:00
# ifndef ETHERTYPE_CGMP
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_CGMP 0x2001
2002-03-23 22:02:20 +00:00
# endif
2011-04-06 18:48:07 +00:00
# ifndef ETHERTYPE_GIGAMON
2016-05-16 14:22:41 +00:00
# define ETHERTYPE_GIGAMON 0x22E5 /* Gigamon Header */
2010-06-02 19:29:14 +00:00
# endif
2010-05-14 22:55:55 +00:00
# ifndef ETHERTYPE_MSRP
# define ETHERTYPE_MSRP 0x22EA
# endif
2010-05-17 04:08:08 +00:00
# ifndef ETHERTYPE_AVBTP
# define ETHERTYPE_AVBTP 0x22F0
# endif
2016-05-16 14:22:41 +00:00
# ifndef ETHERTYPE_ROHC /* ROHC (Robust Header Compression) is an IP header compression protocol specified in */
# define ETHERTYPE_ROHC 0x22F1 /* IETF RFC 3095 "RObust Header Compression (ROHC): Framework and four profiles: RTP, */
# endif / * UDP, ESP, and uncompressed". The specification is available at
* http : //www.ietf.org/rfc/rfc3095.txt.
*/
2011-04-06 18:48:07 +00:00
2016-05-16 14:22:41 +00:00
# ifndef ETHERTYPE_TRILL
# define ETHERTYPE_TRILL 0x22F3 /* Internet Engineering Task Force */
2011-04-06 18:48:07 +00:00
# endif
2016-05-16 14:22:41 +00:00
# ifndef ETHERTYPE_L2ISIS
# define ETHERTYPE_L2ISIS 0x22F4 /* Internet Engineering Task Force */
2010-06-18 04:18:08 +00:00
# endif
2004-07-21 05:44:03 +00:00
# ifndef ETHERTYPE_CENTRINO_PROMISC
# define ETHERTYPE_CENTRINO_PROMISC 0x2452 /* Intel Centrino promiscuous packets */
# endif
2000-08-09 22:10:23 +00:00
# ifndef ETHERTYPE_3C_NBP_DGRAM
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_3C_NBP_DGRAM 0x3C07
2000-08-09 22:10:23 +00:00
# endif
2006-09-02 23:18:38 +00:00
# ifndef ETHERTYPE_EPL_V1
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_EPL_V1 0x3E3F
2006-09-02 23:18:38 +00:00
# endif
2015-04-09 01:27:10 +00:00
# ifndef ETHERTYPE_C15_CH
# define ETHERTYPE_C15_CH 0x4742
# endif
2000-08-09 22:10:23 +00:00
# ifndef ETHERTYPE_DEC
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_DEC 0x6000
2000-08-09 22:10:23 +00:00
# endif
# ifndef ETHERTYPE_DNA_DL
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_DNA_DL 0x6001
2000-08-09 22:10:23 +00:00
# endif
# ifndef ETHERTYPE_DNA_RC
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_DNA_RC 0x6002
2000-08-09 22:10:23 +00:00
# endif
# ifndef ETHERTYPE_DNA_RT
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_DNA_RT 0x6003
2000-08-09 22:10:23 +00:00
# endif
# ifndef ETHERTYPE_LAT
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_LAT 0x6004
2000-08-09 22:10:23 +00:00
# endif
# ifndef ETHERTYPE_DEC_DIAG
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_DEC_DIAG 0x6005
2000-08-09 22:10:23 +00:00
# endif
# ifndef ETHERTYPE_DEC_CUST
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_DEC_CUST 0x6006
2000-08-09 22:10:23 +00:00
# endif
# ifndef ETHERTYPE_DEC_SCA
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_DEC_SCA 0x6007
2000-08-09 22:10:23 +00:00
# endif
2001-04-03 05:42:11 +00:00
# ifndef ETHERTYPE_ETHBRIDGE
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_ETHBRIDGE 0x6558 /* transparent Ethernet bridging [RFC1701]*/
2004-12-01 20:57:27 +00:00
# endif
# ifndef ETHERTYPE_RAW_FR
2018-11-17 11:48:05 +00:00
# define ETHERTYPE_RAW_FR 0x6559 /* Raw Frame Relay [RFC1701] */
2000-01-13 04:49:54 +00:00
# endif
1998-09-16 02:39:15 +00:00
# ifndef ETHERTYPE_REVARP
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_REVARP 0x8035
1998-09-16 02:39:15 +00:00
# endif
2000-08-09 22:10:23 +00:00
# ifndef ETHERTYPE_DEC_LB
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_DEC_LB 0x8038
2000-08-09 22:10:23 +00:00
# endif
2004-12-29 00:44:45 +00:00
# ifndef ETHERTYPE_DEC_LAST
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_DEC_LAST 0x8041 /* DEC Local Area Systems Transport */
2004-12-29 00:44:45 +00:00
# endif
1998-09-16 02:39:15 +00:00
# ifndef ETHERTYPE_ATALK
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_ATALK 0x809B
1998-09-16 02:39:15 +00:00
# endif
2002-02-17 00:16:19 +00:00
# ifndef ETHERTYPE_SNA
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_SNA 0x80D5
2002-02-17 00:16:19 +00:00
# endif
2009-07-09 20:44:28 +00:00
# ifndef ETHERTYPE_DLR
2016-05-16 14:22:41 +00:00
# define ETHERTYPE_DLR 0x80E1 /* Allen-Bradley Company, Inc., EtherNet/IP Device Level Ring */
2010-04-05 09:21:48 +00:00
# endif
2009-07-09 20:44:28 +00:00
1998-09-16 02:39:15 +00:00
# ifndef ETHERTYPE_AARP
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_AARP 0x80F3
1998-09-16 02:39:15 +00:00
# endif
2001-04-03 05:42:11 +00:00
# ifndef ETHERTYPE_VLAN
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_VLAN 0x8100 /* 802.1Q Virtual LAN */
1998-09-17 02:37:47 +00:00
# endif
1998-12-19 00:12:23 +00:00
2007-04-27 06:34:31 +00:00
# ifndef ETHERTYPE_NSRP
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_NSRP 0x8133
2007-04-27 06:34:31 +00:00
# endif
2006-10-31 14:36:32 +00:00
# ifndef ETHERTYPE_IPX
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_IPX 0x8137
2006-10-31 14:36:32 +00:00
# endif
2001-04-03 05:42:11 +00:00
# ifndef ETHERTYPE_SNMP
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_SNMP 0x814C /* SNMP over Ethernet, RFC 1089 */
1999-06-22 22:02:39 +00:00
# endif
2001-03-29 08:05:07 +00:00
# ifndef ETHERTYPE_WCP
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_WCP 0x80FF /* Wellfleet Compression Protocol */
1998-12-19 00:12:23 +00:00
# endif
2006-09-12 12:58:16 +00:00
# ifndef ETHERTYPE_STP
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_STP 0x8181 /* STP, HIPPI-ST */
2006-09-12 12:58:16 +00:00
# endif
2003-10-08 06:44:15 +00:00
# ifndef ETHERTYPE_ISMP
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_ISMP 0x81FD /* Cabletron Interswitch Message Protocol */
2003-10-08 06:44:15 +00:00
# endif
# ifndef ETHERTYPE_ISMP_TBFLOOD
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_ISMP_TBFLOOD 0x81FF /* Cabletron Interswitch Message Protocol */
2003-10-08 06:44:15 +00:00
# endif
2009-08-26 05:10:12 +00:00
# ifndef ETHERTYPE_QNX_QNET6
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_QNX_QNET6 0x8204 /* 0x8204 QNX QNET/LWL4 for QNX6 OS; 0x8203 for QNX4 OS QNET */
2009-08-26 05:10:12 +00:00
# endif
2001-04-03 05:42:11 +00:00
# ifndef ETHERTYPE_IPv6
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_IPv6 0x86DD
1999-06-11 15:30:55 +00:00
# endif
2006-10-07 14:48:04 +00:00
# ifndef ETHERTYPE_WLCCP
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_WLCCP 0x872D /* Cisco Wireless Lan Context Control Protocol */
2005-08-27 05:17:35 +00:00
# endif
2013-10-18 13:09:22 +00:00
# ifndef ETHERTYPE_MINT
2016-01-06 00:58:42 +00:00
# define ETHERTYPE_MINT 0x8783 /* Motorola Media Independent Network Transport */
2013-10-18 13:09:22 +00:00
# endif
2004-07-27 06:05:20 +00:00
# ifndef ETHERTYPE_MAC_CONTROL
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_MAC_CONTROL 0x8808
2004-07-27 06:05:20 +00:00
# endif
2002-06-13 07:18:49 +00:00
# ifndef ETHERTYPE_SLOW_PROTOCOLS
2004-07-27 06:05:20 +00:00
# define ETHERTYPE_SLOW_PROTOCOLS 0x8809
2002-06-13 07:18:49 +00:00
# endif
2001-04-03 05:42:11 +00:00
# ifndef ETHERTYPE_PPP
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_PPP 0x880B /* no, this is not PPPoE */
1999-06-11 15:30:55 +00:00
# endif
2006-11-25 12:04:21 +00:00
# ifndef ETHERTYPE_COBRANET
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_COBRANET 0x8819 /* Cirrus cobranet */
2006-11-25 12:04:21 +00:00
# endif
2001-04-03 05:42:11 +00:00
# ifndef ETHERTYPE_MPLS
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_MPLS 0x8847 /* MPLS unicast packet */
1999-10-20 22:41:12 +00:00
# endif
2001-04-03 05:42:11 +00:00
# ifndef ETHERTYPE_MPLS_MULTI
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_MPLS_MULTI 0x8848 /* MPLS multicast packet */
1999-11-26 04:52:36 +00:00
# endif
1999-06-11 15:30:55 +00:00
2005-09-28 17:16:30 +00:00
# ifndef ETHERTYPE_FOUNDRY
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_FOUNDRY 0x885A /* Some Foundry proprietary protocol */
2005-09-28 17:16:30 +00:00
# endif
2006-10-31 14:36:32 +00:00
# ifndef ETHERTYPE_PPPOED
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_PPPOED 0x8863 /* PPPoE Discovery Protocol */
2006-10-31 14:36:32 +00:00
# endif
2001-04-03 05:42:11 +00:00
# ifndef ETHERTYPE_PPPOES
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_PPPOES 0x8864 /* PPPoE Session Protocol */
2000-03-09 18:31:51 +00:00
# endif
2016-08-18 17:15:53 +00:00
# ifndef ETHERTYPE_LINK_CTL
2018-11-17 11:48:05 +00:00
# define ETHERTYPE_LINK_CTL 0x886C /* HPNA, wlan link local tunnel */
2016-08-18 17:15:53 +00:00
# endif
2003-03-02 15:50:55 +00:00
# ifndef ETHERTYPE_INTEL_ANS
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_INTEL_ANS 0x886D /* Intel ANS (NIC teaming) http://www.intel.com/support/network/adapter/ans/probes.htm */
2003-03-02 15:50:55 +00:00
# endif
# ifndef ETHERTYPE_MS_NLB_HEARTBEAT
2010-04-05 09:21:48 +00:00
# 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 */
2003-03-02 15:50:55 +00:00
# endif
2010-11-02 07:54:24 +00:00
# ifndef ETHERTYPE_JUMBO_LLC
# define ETHERTYPE_JUMBO_LLC 0x8870 /* 802.2 jumbo frames http://tools.ietf.org/html/draft-ietf-isis-ext-eth */
# endif
2017-09-17 04:45:49 +00:00
# ifndef ETHERTYPE_BRCM_TYPE
# define ETHERTYPE_BRCM_TYPE 0x8874 /* Broadcom Ethernet switches management tag */
# endif
2007-01-17 16:34:11 +00:00
# ifndef ETHERTYPE_HOMEPLUG
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_HOMEPLUG 0x887B /* IEEE assigned Ethertype */
2007-01-17 16:34:11 +00:00
# endif
2004-12-01 20:57:27 +00:00
# ifndef ETHERTYPE_CDMA2000_A10_UBS
2004-12-01 21:11:48 +00:00
# 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 */
2004-12-01 20:57:27 +00:00
# endif
2012-11-06 19:56:37 +00:00
# ifndef ETHERTYPE_ATMOE
# define ETHERTYPE_ATMOE 0x8884 /* A simple ATM over Ethernet encapsulation */
# endif
2001-11-06 20:30:40 +00:00
# ifndef ETHERTYPE_EAPOL
2016-05-16 14:22:41 +00:00
# define ETHERTYPE_EAPOL 0x888E /* 802.1x Authentication */
2001-11-06 20:30:40 +00:00
# endif
2003-11-17 18:23:34 +00:00
# ifndef ETHERTYPE_PROFINET
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_PROFINET 0x8892 /* PROFIBUS PROFINET protocol */
2003-11-17 18:23:34 +00:00
# endif
2017-04-25 08:10:38 +00:00
# ifndef ETHERTYPE_REALTEK
# define ETHERTYPE_REALTEK 0x8899 /* Realtek Layer 2 Protocols */
# endif
2002-11-16 08:25:35 +00:00
# ifndef ETHERTYPE_HYPERSCSI
2012-09-24 11:39:28 +00:00
# define ETHERTYPE_HYPERSCSI 0x889A /* HyperSCSI */
2002-11-16 08:25:35 +00:00
# endif
2005-06-07 20:56:54 +00:00
# ifndef ETHERTYPE_CSM_ENCAPS
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_CSM_ENCAPS 0x889B /* Mindspeed Technologies www.mindspeed.com */
2005-06-07 20:56:54 +00:00
# endif
2006-06-04 13:07:13 +00:00
# ifndef ETHERTYPE_TELKONET
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_TELKONET 0x88A1 /* Telkonet powerline ethernet */
2006-06-04 13:07:13 +00:00
# endif
2004-12-07 03:16:34 +00:00
# ifndef ETHERTYPE_AOE
2012-09-24 11:39:28 +00:00
# define ETHERTYPE_AOE 0x88A2
2004-12-07 03:16:34 +00:00
# endif
2007-10-14 15:45:24 +00:00
# ifndef ETHERTYPE_ECATF
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_ECATF 0x88A4 /* Ethernet type for EtherCAT frames */
2007-10-14 15:45:24 +00:00
# endif
2007-08-17 21:21:18 +00:00
# ifndef ETHERTYPE_IEEE_802_1AD
2012-09-24 11:39:28 +00:00
# define ETHERTYPE_IEEE_802_1AD 0x88A8 /* IEEE 802.1ad Provider Bridge, Q-in-Q */
2007-08-17 21:21:18 +00:00
# endif
2006-08-22 19:55:31 +00:00
# ifndef ETHERTYPE_EPL_V2
2012-09-24 11:39:28 +00:00
# define ETHERTYPE_EPL_V2 0x88AB /* communication profile for Real-Time Ethernet */
2006-08-22 19:55:31 +00:00
# endif
2009-04-13 18:32:24 +00:00
# ifndef ETHERTYPE_XIMETA
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_XIMETA 0x88AD /* XiMeta Technology Americas Inc. proprietary communication protocol */
# endif
2009-04-13 18:32:24 +00:00
2003-01-14 01:17:44 +00:00
# ifndef ETHERTYPE_BRDWALK
2012-09-24 11:39:28 +00:00
# define ETHERTYPE_BRDWALK 0x88AE
2003-01-14 01:17:44 +00:00
# endif
2010-09-22 13:14:46 +00:00
# ifndef ETHERTYPE_WAI
2018-11-17 11:48:05 +00:00
# define ETHERTYPE_WAI 0x88B4 /* Instant Wireless Network Communications, Co. Ltd. */
# endif / * WAI is a new authentication protocol that
will be used to access authentication in
IP based networks . This protocol establishes
a logic channel between a station and access
equipment by using an EtherType Field to
accomplish authentication . */
2010-09-22 13:14:46 +00:00
2016-06-14 21:59:12 +00:00
# ifndef ETHERTYPE_EXPERIMENTAL_ETH1
# define ETHERTYPE_EXPERIMENTAL_ETH1 0x88B5 /* IEEE Std 802 - Local Experimental Ethertype 1. */
# endif
# ifndef ETHERTYPE_EXPERIMENTAL_ETH2
# define ETHERTYPE_EXPERIMENTAL_ETH2 0x88B6 /* IEEE Std 802 - Local Experimental Ethertype 2. */
# endif
2009-04-13 18:32:24 +00:00
2005-01-06 08:37:43 +00:00
# ifndef ETHERTYPE_IEEE802_OUI_EXTENDED
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_IEEE802_OUI_EXTENDED 0x88B7 /* IEEE 802a OUI Extended Ethertype */
2005-01-06 08:37:43 +00:00
# endif
2006-01-17 21:50:43 +00:00
# ifndef ETHERTYPE_IEC61850_GOOSE
2016-05-16 14:22:41 +00:00
# define ETHERTYPE_IEC61850_GOOSE 0x88B8 /* IEC 61850 is a global standard for the use in utility communication,*/
2008-02-27 21:52:17 +00:00
# endif /* in particular for the information exchange between IED's in a power */
/* transmission or distribution substation. */
2018-11-17 11:48:05 +00:00
/* There are three types of application services
that use a specific EtherType . GOOSE uses
EtherType field 88 b8 , GSE management services
uses EtherType field 88 b9 . These two protocols
are defined in IEC 61850 - 8 - 1. SV ( Sampled
Value Transmission ) uses EtherType field
88 ba ; the protocol is defined in IEC 61850 - 9 - 1
and IEC 61850 - 9 - 2. */
2006-01-17 21:50:43 +00:00
# ifndef ETHERTYPE_IEC61850_GSE
2016-05-16 14:22:41 +00:00
# define ETHERTYPE_IEC61850_GSE 0x88B9 /* IEC 61850 is a global standard for the use in utility communication,*/
2008-02-27 21:52:17 +00:00
# endif /* in particular for the information exchange between IED's in a power */
2006-01-17 21:50:43 +00:00
# ifndef ETHERTYPE_IEC61850_SV
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_IEC61850_SV 0x88BA /* IEC 61850 is a global standard for the use in utility communication,*/
2008-02-27 21:52:17 +00:00
# endif /* in particular for the information exchange between IED's in a power */
2006-01-17 21:50:43 +00:00
2005-11-21 19:01:07 +00:00
# ifndef ETHERTYPE_TIPC
2018-11-17 11:48:05 +00:00
# define ETHERTYPE_TIPC 0x88CA /* TIPC (Transparent Inter Process Communication, */
2010-04-05 09:21:48 +00:00
# endif /* http://tipc.sourceforge.net/) Ericsson Research Canada Inc */
2005-11-21 19:01:07 +00:00
2006-10-31 14:36:32 +00:00
# ifndef ETHERTYPE_RSN_PREAUTH
2016-05-16 14:22:41 +00:00
# define ETHERTYPE_RSN_PREAUTH 0x88C7 /* 802.11i Pre-Authentication */
2006-10-31 14:36:32 +00:00
# endif
2005-02-21 20:19:15 +00:00
# ifndef ETHERTYPE_LLDP
2016-05-16 14:22:41 +00:00
# define ETHERTYPE_LLDP 0x88CC /* IEEE 802.1AB Link Layer Discovery Protocol (LLDP) */
2005-02-21 20:19:15 +00:00
# endif
2008-02-13 17:34:05 +00:00
# ifndef ETHERTYPE_SERCOS
2016-05-16 14:22:41 +00:00
# define ETHERTYPE_SERCOS 0x88CD /* SERCOS interface real-time protocol for motion control */
2008-02-13 17:34:05 +00:00
# endif
2005-06-07 20:56:54 +00:00
# ifndef ETHERTYPE_3GPP2
2016-05-16 14:22:41 +00:00
# define ETHERTYPE_3GPP2 0x88D2 /* This will be used in a revision of the Interoperabi */
2010-04-05 09:21:48 +00:00
# endif /* Specification (IOS) for cdma2000 Access Network Interfaces (document numbers A.S0011-B */
/* through A.S0017-B v1.0). This document already uses the Ether type 8881 */
2005-06-07 20:56:54 +00:00
2012-07-20 06:26:35 +00:00
# ifndef ETHERTYPE_CESOETH
2016-05-16 14:22:41 +00:00
# define ETHERTYPE_CESOETH 0x88D8 /* Circuit Emulation Services over Ethernet (MEF 8) */
2012-07-20 06:26:35 +00:00
# endif
2007-03-21 16:14:23 +00:00
# ifndef ETHERTYPE_LLTD
2016-05-16 14:22:41 +00:00
# define ETHERTYPE_LLTD 0x88D9 /* Link Layer Topology Discovery (LLTD) */
2007-03-21 16:14:23 +00:00
# endif
2010-04-05 09:21:48 +00:00
# ifndef ETHERTYPE_WSMP /* Wireless Access in a Vehicle Environment */
# define ETHERTYPE_WSMP 0x88DC /* (WAVE) Short Message Protocol (WSM) as defined */
# endif /* in IEEE P1609.3. */
# ifndef ETHERTYPE_VMLAB
2016-05-16 14:22:41 +00:00
# define ETHERTYPE_VMLAB 0x88DE /* VMware LabManager (used to be Akimbi Systems) */
2010-04-05 09:21:48 +00:00
# endif
2008-08-14 17:03:30 +00:00
2011-05-25 05:33:00 +00:00
# ifndef ETHERTYPE_HOMEPLUG_AV
# define ETHERTYPE_HOMEPLUG_AV 0x88E1 /* HomePlug AV */
# endif
2006-06-13 18:26:49 +00:00
# ifndef ETHERTYPE_MRP
2016-05-16 14:22:41 +00:00
# define ETHERTYPE_MRP 0x88E3 /* IEC 61158-6-10 Media Redundancy Protocol (MRP) */
2006-06-13 18:26:49 +00:00
# endif
2013-09-03 17:35:00 +00:00
# ifndef ETHERTYPE_MACSEC
2016-05-16 14:22:41 +00:00
# define ETHERTYPE_MACSEC 0x88E5 /* IEEE 802.1ae Media access control security (MACSEC) */
2013-09-03 17:35:00 +00:00
# endif
2007-08-17 21:21:18 +00:00
# ifndef ETHERTYPE_IEEE_802_1AH
2016-05-16 14:22:41 +00:00
# define ETHERTYPE_IEEE_802_1AH 0x88E7 /* IEEE 802.1ah Provider Backbone Bridge Mac-in-Mac */
2007-08-17 21:21:18 +00:00
# endif
2012-07-20 06:26:35 +00:00
# ifndef ETHERTYPE_ELMI
2016-05-16 14:22:41 +00:00
# define ETHERTYPE_ELMI 0x88EE /* Ethernet Local Management Interface (E-LMI) (MEF16) */
2012-07-20 06:26:35 +00:00
# endif
2011-10-19 21:22:42 +00:00
# ifndef ETHERTYPE_MVRP
2016-05-16 14:22:41 +00:00
# define ETHERTYPE_MVRP 0x88F5 /* IEEE 802.1ak Multiple VLAN Registration Protocol */
2011-10-19 21:22:42 +00:00
# endif
2011-05-12 21:37:55 +00:00
# ifndef ETHERTYPE_MMRP
2016-05-16 14:22:41 +00:00
# define ETHERTYPE_MMRP 0x88F6 /* IEEE 802.1ak Multiple MAC Registration Protocol */
2011-05-12 21:37:55 +00:00
# endif
2007-07-06 10:03:19 +00:00
# ifndef ETHERTYPE_PTP
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_PTP 0x88F7 /* IEEE1588v2 (PTPv2) over Ethernet */
2013-02-16 10:31:20 +00:00
# endif /* in particular for the information exchange between IED's in a power */
/* transmission or distribution substation. */
2018-11-17 11:48:05 +00:00
/* There are three types of application services */
2013-02-16 10:31:20 +00:00
# ifndef ETHERTYPE_NCSI
2018-11-17 11:48:05 +00:00
# define ETHERTYPE_NCSI 0x88F8 /* DMTF NC-SI: Network Controller Sideband Interface */
2013-02-16 10:31:20 +00:00
# endif
2008-02-27 21:52:17 +00:00
# ifndef ETHERTYPE_PRP
2016-05-16 14:22:41 +00:00
# define ETHERTYPE_PRP 0x88FB /* Parallel Redundancy Protocol (IEC62439 Part 3) */
2008-02-27 21:52:17 +00:00
# endif
2007-07-06 10:03:19 +00:00
2009-11-24 23:11:11 +00:00
# ifndef ETHERTYPE_FLIP
2015-01-19 08:33:22 +00:00
# define ETHERTYPE_FLIP 0x8901 /* Nokia Solutions and Networks Flow Layer Internal Protocol */
2010-04-05 09:21:48 +00:00
# endif
2009-11-24 23:11:11 +00:00
2007-10-07 15:14:27 +00:00
# ifndef ETHERTYPE_CFM
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_CFM 0x8902 /* IEEE 802.1ag Connectivity Fault Management(CFM) protocol */
# endif
2007-10-07 15:14:27 +00:00
2011-09-07 08:26:36 +00:00
# ifndef ETHERTYPE_DCE
# define ETHERTYPE_DCE 0x8903 /* Cisco Systems Inc DCE */
# endif
2007-05-28 06:38:30 +00:00
# ifndef ETHERTYPE_FCOE
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_FCOE 0x8906 /* Fibre Channel over Ethernet */
2007-05-28 06:38:30 +00:00
# endif
2013-08-07 22:52:43 +00:00
# ifndef ETHERTYPE_CMD
# define ETHERTYPE_CMD 0x8909 /* Cisco Systems Inc - Cisco MetaData */
# endif
2010-12-16 21:49:55 +00:00
# ifndef ETHERTYPE_IEEE80211_DATA_ENCAP
# define ETHERTYPE_IEEE80211_DATA_ENCAP 0x890d /* IEEE 802.11 data encapsulation */
# endif
2009-03-20 11:06:20 +00:00
# ifndef ETHERTYPE_LINX
2016-05-16 14:22:41 +00:00
# define ETHERTYPE_LINX 0x8911 /* ENEA LINX IPC protocol over Ethernet */
2009-03-20 11:06:20 +00:00
# endif
2008-07-15 20:56:22 +00:00
# ifndef ETHERTYPE_FIP
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_FIP 0x8914 /* FCoE Initialization Protocol */
2008-07-15 20:56:22 +00:00
# endif
2017-09-11 01:28:37 +00:00
# ifndef ETHERTYPE_ROCE
# define ETHERTYPE_ROCE 0x8915 /* Infiniband RDMA over Converged Ethernet */
# endif
2012-12-27 11:19:46 +00:00
# ifndef ETHERTYPE_MIH
2013-02-16 10:31:20 +00:00
# define ETHERTYPE_MIH 0x8917 /* Media Independent Handover Protocol */
2012-12-27 11:19:46 +00:00
# endif
2008-12-10 07:00:26 +00:00
# ifndef ETHERTYPE_TTE_PCF
2016-05-16 14:22:41 +00:00
# define ETHERTYPE_TTE_PCF 0x891D /* TTEthernet Protocol Control Frame */
2008-12-10 07:00:26 +00:00
# endif
2015-05-20 11:51:00 +00:00
# ifndef ETHERTYPE_VNTAG
2016-05-16 14:22:41 +00:00
# define ETHERTYPE_VNTAG 0x8926 /* VN-Tag */
2015-05-20 11:51:00 +00:00
# endif
2017-01-20 18:30:31 +00:00
# ifndef ETHERTYPE_SEL_L2
# define ETHERTYPE_SEL_L2 0x892B /* Schweitzer Engineering Labs Layer 2 */
# endif
2017-09-11 01:28:37 +00:00
# ifndef ETHERTYPE_BLUECOM
# define ETHERTYPE_BLUECOM 0x892D /* Bachmann bluecom protocol */
# endif
2011-10-31 18:37:58 +00:00
# ifndef ETHERTYPE_HSR
2016-05-16 14:22:41 +00:00
# define ETHERTYPE_HSR 0x892F /* High-availability Seamless Redundancy (IEC62439 Part 3) */
2011-10-31 18:37:58 +00:00
# endif
2017-10-26 02:38:33 +00:00
# ifndef ETHERTYPE_IEEE_1905
2018-11-17 11:48:05 +00:00
# define ETHERTYPE_IEEE_1905 0x893A /* IEEE 1905 */
2017-10-26 02:38:33 +00:00
# endif
2016-07-12 17:28:38 +00:00
# ifndef ETHERTYPE_IEEE_802_1BR
# define ETHERTYPE_IEEE_802_1BR 0x893F /* IEEE 802.1br E-Tag, Bridge Port Extension */
# endif
2016-04-08 13:34:19 +00:00
# ifndef ETHERTYPE_ECP
2016-05-16 14:22:41 +00:00
# define ETHERTYPE_ECP 0x8940 /* Edge Control Protocol */
2016-04-08 13:34:19 +00:00
# endif
2018-12-12 14:50:42 +00:00
# ifndef ETHERTYPE_GEONETWORKING
# define ETHERTYPE_GEONETWORKING 0x8947 /* GeoNetworking as defined in ETSI EN 302 636-4-1. */
# endif
2016-02-01 05:01:11 +00:00
# ifndef ETHERTYPE_NSH
2016-05-16 14:22:41 +00:00
# define ETHERTYPE_NSH 0x894F /* Network Service Header (draft-ietf-sfc-nsh-01.txt) */
2016-02-01 05:01:11 +00:00
# endif
2003-03-02 15:50:55 +00:00
# ifndef ETHERTYPE_LOOP
2012-09-24 11:39:28 +00:00
# define ETHERTYPE_LOOP 0x9000 /* used for layer 2 testing (do i see my own frames on the wire) */
2010-04-05 09:21:48 +00:00
# endif
2011-05-12 21:37:55 +00:00
# ifndef ETHERTYPE_RTMAC
2012-09-24 11:39:28 +00:00
# define ETHERTYPE_RTMAC 0x9021 /* RTnet: Real-Time Media Access Control */
2011-05-12 21:37:55 +00:00
# endif
# ifndef ETHERTYPE_RTCFG
2012-09-24 11:39:28 +00:00
# define ETHERTYPE_RTCFG 0x9022 /* RTnet: Real-Time Configuration Protocol */
2011-05-12 21:37:55 +00:00
# endif
2017-07-11 11:49:07 +00:00
# ifndef ETHERTYPE_QINQ_OLD
2016-05-16 14:26:34 +00:00
# define ETHERTYPE_QINQ_OLD 0x9100 /* QinQ: old non-standard 802.1ad */
# endif
2019-02-25 23:08:17 +00:00
# ifndef ETHERTYPE_EERO
# define ETHERTYPE_EERO 0x9104 /* EERO: broadcast packets sent by EERO MESH AP's (not officially registered) */
# endif
2017-07-11 09:37:08 +00:00
# ifndef ETHERTYPE_6LOWPAN
# define ETHERTYPE_6LOWPAN 0xA0ED /* RFC 4944: Transmission of IPv6 Packets over IEEE 802.15.4 Networks */
# endif
2019-02-15 14:15:55 +00:00
# ifndef ETHERTYPE_ECPRI
# define ETHERTYPE_ECPRI 0xAEFE /* Ethernet type of eCPRI */
# endif
2011-05-12 21:37:55 +00:00
# ifndef ETHERTYPE_LLT
2012-09-24 11:39:28 +00:00
# define ETHERTYPE_LLT 0xCAFE /* Veritas Low Latency Transport (not officially registered) */
2011-05-12 21:37:55 +00:00
# endif
2010-06-23 20:08:11 +00:00
2015-06-19 20:20:51 +00:00
# ifndef ETHERTYPE_XIP
# define ETHERTYPE_XIP 0xC0DE /* eXpressive Internet Protocol (not officially registered) */
# endif
2015-08-30 03:57:11 +00:00
# ifndef ETHERTYPE_NWP
# define ETHERTYPE_NWP 0xC0DF /* Neighborhood Watch Protocol (not officially registered) */
# endif
2010-06-23 20:08:11 +00:00
# ifndef ETHERTYPE_TDMOE
# define ETHERTYPE_TDMOE 0xD00D /* Digium TDMoE packets (not officially registered) */
# endif
2011-05-12 21:37:55 +00:00
# ifndef ETHERTYPE_FCFT
2012-09-24 11:39:28 +00:00
# define ETHERTYPE_FCFT 0xFCFC /* used to transport FC frames+MDS hdr internal to Cisco's MDS switch */
2003-03-05 07:41:24 +00:00
# endif
2018-03-19 11:51:01 +00:00
# ifndef ETHERTYPE_AVSP
# define ETHERTYPE_AVSP 0xD28B /* Ethernet type for Arista vendor specific packet frames */
# endif
2019-06-11 20:12:38 +00:00
# ifndef ETHERTYPE_CABLELABS
# define ETHERTYPE_CABLELABS 0xB4E3 /* Ethernet type for CableLabs layer-3 protocol */
# endif
2013-03-01 23:53:11 +00:00
WS_DLL_PUBLIC const value_string etype_vals [ ] ;
1999-06-22 22:02:39 +00:00
2013-08-13 07:58:06 +00:00
# ifdef __cplusplus
}
# endif /* __cplusplus */
# endif /* __ETYPES_H__ */
2016-05-16 14:22:41 +00:00
/*
* Editor modelines - http : //www.wireshark.org/tools/modelines.html
*
* Local variables :
* c - basic - offset : 8
* tab - width : 8
* indent - tabs - mode : t
* End :
*
* vi : set shiftwidth = 8 tabstop = 8 noexpandtab :
* : indentSize = 8 : tabSize = 8 : noTabs = false :
*/