PcapPlusPlus  22.11
EthLayer.h File Reference
#include "Layer.h"
#include "MacAddress.h"

Go to the source code of this file.

Classes

struct  pcpp::ether_header
 
class  pcpp::EthLayer
 

Namespaces

 pcpp
 The main namespace for the PcapPlusPlus lib.
 

Macros

#define PCPP_ETHERTYPE_IP   0x0800
 
#define PCPP_ETHERTYPE_ARP   0x0806
 
#define PCPP_ETHERTYPE_ETHBRIDGE   0x6558
 
#define PCPP_ETHERTYPE_REVARP   0x8035
 
#define PCPP_ETHERTYPE_AT   0x809B
 
#define PCPP_ETHERTYPE_AARP   0x80F3
 
#define PCPP_ETHERTYPE_VLAN   0x8100
 
#define PCPP_ETHERTYPE_IPX   0x8137
 
#define PCPP_ETHERTYPE_IPV6   0x86dd
 
#define PCPP_ETHERTYPE_LOOPBACK   0x9000
 
#define PCPP_ETHERTYPE_PPPOED   0x8863
 
#define PCPP_ETHERTYPE_PPPOES   0x8864
 
#define PCPP_ETHERTYPE_MPLS   0x8847
 
#define PCPP_ETHERTYPE_PPP   0x880B
 
#define PCPP_ETHERTYPE_ROCEV1   0x8915
 
#define PCPP_ETHERTYPE_IEEE_802_1AD   0x88A8
 
#define PCPP_ETHERTYPE_WAKE_ON_LAN   0x0842
 

Macro Definition Documentation

◆ PCPP_ETHERTYPE_AARP

#define PCPP_ETHERTYPE_AARP   0x80F3

AppleTalk ARP

◆ PCPP_ETHERTYPE_ARP

#define PCPP_ETHERTYPE_ARP   0x0806

Address resolution

◆ PCPP_ETHERTYPE_AT

#define PCPP_ETHERTYPE_AT   0x809B

AppleTalk protocol

◆ PCPP_ETHERTYPE_ETHBRIDGE

#define PCPP_ETHERTYPE_ETHBRIDGE   0x6558

Transparent Ethernet Bridging

◆ PCPP_ETHERTYPE_IEEE_802_1AD

#define PCPP_ETHERTYPE_IEEE_802_1AD   0x88A8

IEEE 802.1ad Provider Bridge, Q-in-Q

◆ PCPP_ETHERTYPE_IP

#define PCPP_ETHERTYPE_IP   0x0800

IP

◆ PCPP_ETHERTYPE_IPV6

#define PCPP_ETHERTYPE_IPV6   0x86dd

IP protocol version 6

◆ PCPP_ETHERTYPE_IPX

#define PCPP_ETHERTYPE_IPX   0x8137

IPX

◆ PCPP_ETHERTYPE_LOOPBACK

#define PCPP_ETHERTYPE_LOOPBACK   0x9000

used to test interfaces

◆ PCPP_ETHERTYPE_MPLS

#define PCPP_ETHERTYPE_MPLS   0x8847

MPLS

◆ PCPP_ETHERTYPE_PPP

#define PCPP_ETHERTYPE_PPP   0x880B

Point-to-point protocol (PPP)

◆ PCPP_ETHERTYPE_PPPOED

#define PCPP_ETHERTYPE_PPPOED   0x8863

PPPoE discovery

◆ PCPP_ETHERTYPE_PPPOES

#define PCPP_ETHERTYPE_PPPOES   0x8864

PPPoE session

◆ PCPP_ETHERTYPE_REVARP

#define PCPP_ETHERTYPE_REVARP   0x8035

Reverse ARP

◆ PCPP_ETHERTYPE_ROCEV1

#define PCPP_ETHERTYPE_ROCEV1   0x8915

RDMA over Converged Ethernet (RoCEv1)

◆ PCPP_ETHERTYPE_VLAN

#define PCPP_ETHERTYPE_VLAN   0x8100

IEEE 802.1Q VLAN tagging

◆ PCPP_ETHERTYPE_WAKE_ON_LAN

#define PCPP_ETHERTYPE_WAKE_ON_LAN   0x0842

Wake on LAN