tcpdump  4.99.1
About: tcpdump is a tool for network monitoring and data acquisition.
  Fossies Dox: tcpdump-4.99.1.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

ethertype.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MAX_ETHERNET_LENGTH_VAL   1500
 
#define ETHERTYPE_LEN   2
 
#define ETHERTYPE_GRE_ISO   0x00FE /* not really an ethertype only used in GRE */
 
#define ETHERTYPE_PUP   0x0200 /* PUP protocol */
 
#define ETHERTYPE_IP   0x0800 /* IP protocol */
 
#define ETHERTYPE_ARP   0x0806 /* Addr. resolution protocol */
 
#define ETHERTYPE_REVARP   0x8035 /* reverse Addr. resolution protocol */
 
#define ETHERTYPE_NS   0x0600
 
#define ETHERTYPE_SPRITE   0x0500
 
#define ETHERTYPE_TRAIL   0x1000
 
#define ETHERTYPE_MOPDL   0x6001
 
#define ETHERTYPE_MOPRC   0x6002
 
#define ETHERTYPE_DN   0x6003
 
#define ETHERTYPE_LAT   0x6004
 
#define ETHERTYPE_SCA   0x6007
 
#define ETHERTYPE_TEB   0x6558
 
#define ETHERTYPE_LANBRIDGE   0x8038
 
#define ETHERTYPE_DECDNS   0x803c
 
#define ETHERTYPE_DECDTS   0x803e
 
#define ETHERTYPE_VEXP   0x805b
 
#define ETHERTYPE_VPROD   0x805c
 
#define ETHERTYPE_ATALK   0x809b
 
#define ETHERTYPE_AARP   0x80f3
 
#define ETHERTYPE_TIPC   0x88ca
 
#define ETHERTYPE_8021Q   0x8100
 
#define ETHERTYPE_8021Q9100   0x9100
 
#define ETHERTYPE_8021Q9200   0x9200
 
#define ETHERTYPE_8021QinQ   0x88a8
 
#define ETHERTYPE_MACSEC   0x88e5
 
#define ETHERTYPE_IPX   0x8137
 
#define ETHERTYPE_IPV6   0x86dd
 
#define ETHERTYPE_PPP   0x880b
 
#define ETHERTYPE_MPCP   0x8808
 
#define ETHERTYPE_SLOW   0x8809
 
#define ETHERTYPE_MPLS   0x8847
 
#define ETHERTYPE_MPLS_MULTI   0x8848
 
#define ETHERTYPE_PPPOED   0x8863
 
#define ETHERTYPE_PPPOES   0x8864
 
#define ETHERTYPE_NSH   0x894F
 
#define ETHERTYPE_PPPOED2   0x3c12
 
#define ETHERTYPE_PPPOES2   0x3c13
 
#define ETHERTYPE_MS_NLB_HB   0x886f /* MS Network Load Balancing Heartbeat */
 
#define ETHERTYPE_JUMBO   0x8870
 
#define ETHERTYPE_LLDP   0x88cc
 
#define ETHERTYPE_EAPOL   0x888e
 
#define ETHERTYPE_RRCP   0x8899
 
#define ETHERTYPE_AOE   0x88a2
 
#define ETHERTYPE_PTP   0x88f7
 
#define ETHERTYPE_LOOPBACK   0x9000
 
#define ETHERTYPE_VMAN   0x9100 /* Extreme VMAN Protocol */
 
#define ETHERTYPE_CFM_OLD   0xabcd /* 802.1ag depreciated */
 
#define ETHERTYPE_CFM   0x8902 /* 802.1ag */
 
#define ETHERTYPE_IEEE1905_1   0x893a /* IEEE 1905.1 */
 
#define ETHERTYPE_ISO   0xfefe /* nonstandard - used in Cisco HDLC encapsulation */
 
#define ETHERTYPE_CALM_FAST   0x1111 /* ISO CALM FAST */
 
#define ETHERTYPE_GEONET_OLD   0x0707 /* ETSI GeoNetworking (before Jan 2013) */
 
#define ETHERTYPE_GEONET   0x8947 /* ETSI GeoNetworking (Official IEEE registration from Jan 2013) */
 
#define ETHERTYPE_ARISTA   0xd28b /* Arista Networks vendor specific EtherType */
 

Variables

const struct tok ethertype_values []
 

Macro Definition Documentation

◆ ETHERTYPE_8021Q

#define ETHERTYPE_8021Q   0x8100

Definition at line 112 of file ethertype.h.

◆ ETHERTYPE_8021Q9100

#define ETHERTYPE_8021Q9100   0x9100

Definition at line 120 of file ethertype.h.

◆ ETHERTYPE_8021Q9200

#define ETHERTYPE_8021Q9200   0x9200

Definition at line 123 of file ethertype.h.

◆ ETHERTYPE_8021QinQ

#define ETHERTYPE_8021QinQ   0x88a8

Definition at line 126 of file ethertype.h.

◆ ETHERTYPE_AARP

#define ETHERTYPE_AARP   0x80f3

Definition at line 106 of file ethertype.h.

◆ ETHERTYPE_AOE

#define ETHERTYPE_AOE   0x88a2

Definition at line 183 of file ethertype.h.

◆ ETHERTYPE_ARISTA

#define ETHERTYPE_ARISTA   0xd28b /* Arista Networks vendor specific EtherType */

Definition at line 216 of file ethertype.h.

◆ ETHERTYPE_ARP

#define ETHERTYPE_ARP   0x0806 /* Addr. resolution protocol */

Definition at line 55 of file ethertype.h.

◆ ETHERTYPE_ATALK

#define ETHERTYPE_ATALK   0x809b

Definition at line 103 of file ethertype.h.

◆ ETHERTYPE_CALM_FAST

#define ETHERTYPE_CALM_FAST   0x1111 /* ISO CALM FAST */

Definition at line 207 of file ethertype.h.

◆ ETHERTYPE_CFM

#define ETHERTYPE_CFM   0x8902 /* 802.1ag */

Definition at line 198 of file ethertype.h.

◆ ETHERTYPE_CFM_OLD

#define ETHERTYPE_CFM_OLD   0xabcd /* 802.1ag depreciated */

Definition at line 195 of file ethertype.h.

◆ ETHERTYPE_DECDNS

#define ETHERTYPE_DECDNS   0x803c

Definition at line 91 of file ethertype.h.

◆ ETHERTYPE_DECDTS

#define ETHERTYPE_DECDTS   0x803e

Definition at line 94 of file ethertype.h.

◆ ETHERTYPE_DN

#define ETHERTYPE_DN   0x6003

Definition at line 76 of file ethertype.h.

◆ ETHERTYPE_EAPOL

#define ETHERTYPE_EAPOL   0x888e

Definition at line 177 of file ethertype.h.

◆ ETHERTYPE_GEONET

#define ETHERTYPE_GEONET   0x8947 /* ETSI GeoNetworking (Official IEEE registration from Jan 2013) */

Definition at line 213 of file ethertype.h.

◆ ETHERTYPE_GEONET_OLD

#define ETHERTYPE_GEONET_OLD   0x0707 /* ETSI GeoNetworking (before Jan 2013) */

Definition at line 210 of file ethertype.h.

◆ ETHERTYPE_GRE_ISO

#define ETHERTYPE_GRE_ISO   0x00FE /* not really an ethertype only used in GRE */

Definition at line 46 of file ethertype.h.

◆ ETHERTYPE_IEEE1905_1

#define ETHERTYPE_IEEE1905_1   0x893a /* IEEE 1905.1 */

Definition at line 201 of file ethertype.h.

◆ ETHERTYPE_IP

#define ETHERTYPE_IP   0x0800 /* IP protocol */

Definition at line 52 of file ethertype.h.

◆ ETHERTYPE_IPV6

#define ETHERTYPE_IPV6   0x86dd

Definition at line 135 of file ethertype.h.

◆ ETHERTYPE_IPX

#define ETHERTYPE_IPX   0x8137

Definition at line 132 of file ethertype.h.

◆ ETHERTYPE_ISO

#define ETHERTYPE_ISO   0xfefe /* nonstandard - used in Cisco HDLC encapsulation */

Definition at line 204 of file ethertype.h.

◆ ETHERTYPE_JUMBO

#define ETHERTYPE_JUMBO   0x8870

Definition at line 171 of file ethertype.h.

◆ ETHERTYPE_LANBRIDGE

#define ETHERTYPE_LANBRIDGE   0x8038

Definition at line 88 of file ethertype.h.

◆ ETHERTYPE_LAT

#define ETHERTYPE_LAT   0x6004

Definition at line 79 of file ethertype.h.

◆ ETHERTYPE_LEN

#define ETHERTYPE_LEN   2

Definition at line 42 of file ethertype.h.

◆ ETHERTYPE_LLDP

#define ETHERTYPE_LLDP   0x88cc

Definition at line 174 of file ethertype.h.

◆ ETHERTYPE_LOOPBACK

#define ETHERTYPE_LOOPBACK   0x9000

Definition at line 189 of file ethertype.h.

◆ ETHERTYPE_MACSEC

#define ETHERTYPE_MACSEC   0x88e5

Definition at line 129 of file ethertype.h.

◆ ETHERTYPE_MOPDL

#define ETHERTYPE_MOPDL   0x6001

Definition at line 70 of file ethertype.h.

◆ ETHERTYPE_MOPRC

#define ETHERTYPE_MOPRC   0x6002

Definition at line 73 of file ethertype.h.

◆ ETHERTYPE_MPCP

#define ETHERTYPE_MPCP   0x8808

Definition at line 141 of file ethertype.h.

◆ ETHERTYPE_MPLS

#define ETHERTYPE_MPLS   0x8847

Definition at line 147 of file ethertype.h.

◆ ETHERTYPE_MPLS_MULTI

#define ETHERTYPE_MPLS_MULTI   0x8848

Definition at line 150 of file ethertype.h.

◆ ETHERTYPE_MS_NLB_HB

#define ETHERTYPE_MS_NLB_HB   0x886f /* MS Network Load Balancing Heartbeat */

Definition at line 168 of file ethertype.h.

◆ ETHERTYPE_NS

#define ETHERTYPE_NS   0x0600

Definition at line 61 of file ethertype.h.

◆ ETHERTYPE_NSH

#define ETHERTYPE_NSH   0x894F

Definition at line 159 of file ethertype.h.

◆ ETHERTYPE_PPP

#define ETHERTYPE_PPP   0x880b

Definition at line 138 of file ethertype.h.

◆ ETHERTYPE_PPPOED

#define ETHERTYPE_PPPOED   0x8863

Definition at line 153 of file ethertype.h.

◆ ETHERTYPE_PPPOED2

#define ETHERTYPE_PPPOED2   0x3c12

Definition at line 162 of file ethertype.h.

◆ ETHERTYPE_PPPOES

#define ETHERTYPE_PPPOES   0x8864

Definition at line 156 of file ethertype.h.

◆ ETHERTYPE_PPPOES2

#define ETHERTYPE_PPPOES2   0x3c13

Definition at line 165 of file ethertype.h.

◆ ETHERTYPE_PTP

#define ETHERTYPE_PTP   0x88f7

Definition at line 186 of file ethertype.h.

◆ ETHERTYPE_PUP

#define ETHERTYPE_PUP   0x0200 /* PUP protocol */

Definition at line 49 of file ethertype.h.

◆ ETHERTYPE_REVARP

#define ETHERTYPE_REVARP   0x8035 /* reverse Addr. resolution protocol */

Definition at line 58 of file ethertype.h.

◆ ETHERTYPE_RRCP

#define ETHERTYPE_RRCP   0x8899

Definition at line 180 of file ethertype.h.

◆ ETHERTYPE_SCA

#define ETHERTYPE_SCA   0x6007

Definition at line 82 of file ethertype.h.

◆ ETHERTYPE_SLOW

#define ETHERTYPE_SLOW   0x8809

Definition at line 144 of file ethertype.h.

◆ ETHERTYPE_SPRITE

#define ETHERTYPE_SPRITE   0x0500

Definition at line 64 of file ethertype.h.

◆ ETHERTYPE_TEB

#define ETHERTYPE_TEB   0x6558

Definition at line 85 of file ethertype.h.

◆ ETHERTYPE_TIPC

#define ETHERTYPE_TIPC   0x88ca

Definition at line 109 of file ethertype.h.

◆ ETHERTYPE_TRAIL

#define ETHERTYPE_TRAIL   0x1000

Definition at line 67 of file ethertype.h.

◆ ETHERTYPE_VEXP

#define ETHERTYPE_VEXP   0x805b

Definition at line 97 of file ethertype.h.

◆ ETHERTYPE_VMAN

#define ETHERTYPE_VMAN   0x9100 /* Extreme VMAN Protocol */

Definition at line 192 of file ethertype.h.

◆ ETHERTYPE_VPROD

#define ETHERTYPE_VPROD   0x805c

Definition at line 100 of file ethertype.h.

◆ MAX_ETHERNET_LENGTH_VAL

#define MAX_ETHERNET_LENGTH_VAL   1500

Definition at line 27 of file ethertype.h.

Variable Documentation

◆ ethertype_values