1998-09-16 02:39:15 +00:00
/* etypes.h
* Defines ethernet packet types , similar to tcpdump ' s ethertype . h
*
2004-07-18 00:24:25 +00:00
* $ Id $
1998-09-16 03:22:19 +00:00
*
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
*
1998-09-16 02:39:15 +00:00
* This program is free software ; you can redistribute it and / or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation ; either version 2
* of the License , or ( at your option ) any later version .
2002-08-28 21:04:11 +00:00
*
1998-09-16 02:39:15 +00:00
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU General Public License for more details .
2002-08-28 21:04:11 +00:00
*
1998-09-16 02:39:15 +00:00
* You should have received a copy of the GNU General Public License
* along with this program ; if not , write to the Free Software
* Foundation , Inc . , 59 Temple Place - Suite 330 , Boston , MA 02111 - 1307 , USA .
*/
# ifndef __ETYPES_H__
# define __ETYPES_H__
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
/*
* Minimum length of an Ethernet II frame ; Ethernet type / length values
* 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
*
* 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
2010-04-05 09:21:48 +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
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
# 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
# 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
2011-04-06 18:48:07 +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.
*/
# ifndef ETHERTYPE_TRILL /* Internet Engineering Task Force */
# define ETHERTYPE_TRILL 0x22F3
# endif
# ifndef ETHERTYPE_L2ISIS /* Internet Engineering Task Force */
# define ETHERTYPE_L2ISIS 0x22F4
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
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
2010-04-05 09:21:48 +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
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_DLR 0x80E1 /* Allen-Bradley Company, Inc., EtherNet/IP Device Level Ring */
# 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
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
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
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
2001-11-06 20:30:40 +00:00
# ifndef ETHERTYPE_EAPOL
2010-04-05 09:21:48 +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
2002-11-16 08:25:35 +00:00
# ifndef ETHERTYPE_HYPERSCSI
2010-04-05 09:21:48 +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
2010-04-05 09:21:48 +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
2010-04-05 09:21:48 +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
2010-04-05 09:21:48 +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
2010-04-05 09:21:48 +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
# 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 . */
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
2010-04-05 09:21:48 +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. */
/* 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
2010-04-05 09:21:48 +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
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_TIPC 0x88CA /* TIPC (Transparent Inter Process Communication, */
# 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
2010-04-05 09:21:48 +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
2010-04-05 09:21:48 +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
2010-04-05 09:21:48 +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
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_3GPP2 0x88D2 /* This will be used in a revision of the Interoperabi */
# 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
2007-03-21 16:14:23 +00:00
# ifndef ETHERTYPE_LLTD
2010-04-05 09:21:48 +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
# define ETHERTYPE_VMLAB 0x88DE /* VMware LabManager (used to be Akimbi Systems) */
# 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
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_MRP 0x88E3 /* IEC 61158-6-10 Media Redundancy Protocol (MRP) */
2006-06-13 18:26:49 +00:00
# endif
2007-08-17 21:21:18 +00:00
# ifndef ETHERTYPE_IEEE_802_1AH
2010-04-05 09:21:48 +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
2011-05-12 21:37:55 +00:00
# ifndef ETHERTYPE_MMRP
# define ETHERTYPE_MMRP 0x88F6 /* IEEE 802.1ak Multiple MAC Registration Protocol */
# 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 */
# endif /* in particular for the information exchange between IED's in a power */
/* transmission or distribution substation. */
/* There are three types of application services */
2008-02-27 21:52:17 +00:00
# ifndef ETHERTYPE_PRP
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_PRP 0x88FB /* Parallel Redundancy Protocol (IEC62439 Chapter 6) */
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
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_FLIP 0x8901 /* Nokia Siemens Networks Flow Layer Internal Protocol */
# 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
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
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
2010-04-05 09:21:48 +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
2008-12-10 07:00:26 +00:00
# ifndef ETHERTYPE_TTE_PCF
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_TTE_PCF 0x891D /* TTEthernet Protocol Control Frame */
2008-12-10 07:00:26 +00:00
# endif
2003-03-02 15:50:55 +00:00
# ifndef ETHERTYPE_LOOP
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_LOOP 0x9000 /* used for layer 2 testing (do i see my own frames on the wire) */
# endif
2011-05-12 21:37:55 +00:00
# ifndef ETHERTYPE_RTMAC
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_RTMAC 0x9021 /* RTnet: Real-Time Media Access Control */
2011-05-12 21:37:55 +00:00
# endif
# ifndef ETHERTYPE_RTCFG
2010-04-05 09:21:48 +00:00
# define ETHERTYPE_RTCFG 0x9022 /* RTnet: Real-Time Configuration Protocol */
2011-05-12 21:37:55 +00:00
# endif
# ifndef ETHERTYPE_LLT
2010-04-05 09:21:48 +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
# 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
2010-04-05 09:21:48 +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
2010-08-03 16:57:02 +00:00
# ifndef ETHERTYPE_ROCE
# define ETHERTYPE_ROCE 0x8915 /* Infiniband RDMA over Converged Ethernet */
# endif
2010-02-07 10:29:41 +00:00
WS_VAR_IMPORT const value_string etype_vals [ ] ;
1999-06-22 22:02:39 +00:00
2001-04-17 06:43:21 +00:00
# endif /* etypes.h */