PcapPlusPlus
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_PUP   0x0200
 
#define PCPP_ETHERTYPE_SPRITE   0x0500
 
#define PCPP_ETHERTYPE_IP   0x0800
 
#define PCPP_ETHERTYPE_ARP   0x0806
 
#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
 

Macro Definition Documentation

#define PCPP_ETHERTYPE_AARP   0x80F3

AppleTalk ARP

#define PCPP_ETHERTYPE_ARP   0x0806

Address resolution

#define PCPP_ETHERTYPE_AT   0x809B

AppleTalk protocol

#define PCPP_ETHERTYPE_IP   0x0800

IP

#define PCPP_ETHERTYPE_IPV6   0x86dd

IP protocol version 6

#define PCPP_ETHERTYPE_IPX   0x8137

IPX

#define PCPP_ETHERTYPE_LOOPBACK   0x9000

used to test interfaces

#define PCPP_ETHERTYPE_MPLS   0x8847

MPLS

#define PCPP_ETHERTYPE_PPP   0x880B

Point-to-point protocol (PPP)

#define PCPP_ETHERTYPE_PPPOED   0x8863

PPPoE discovery

#define PCPP_ETHERTYPE_PPPOES   0x8864

PPPoE session

#define PCPP_ETHERTYPE_PUP   0x0200

Xerox PUP

#define PCPP_ETHERTYPE_REVARP   0x8035

Reverse ARP

#define PCPP_ETHERTYPE_SPRITE   0x0500

Sprite

#define PCPP_ETHERTYPE_VLAN   0x8100

IEEE 802.1Q VLAN tagging