PcapPlusPlus  20.08
ProtocolType.h File Reference
#include <stdint.h>

Go to the source code of this file.

Namespaces

 pcpp
 The main namespace for the PcapPlusPlus lib.
 

Typedefs

typedef uint64_t pcpp::ProtocolType
 

Enumerations

enum  pcpp::OsiModelLayer {
  pcpp::OsiModelPhysicalLayer = 1, pcpp::OsiModelDataLinkLayer = 2, pcpp::OsiModelNetworkLayer = 3, pcpp::OsiModelTransportLayer = 4,
  pcpp::OsiModelSesionLayer = 5, pcpp::OsiModelPresentationLayer = 6, pcpp::OsiModelApplicationLayer = 7, pcpp::OsiModelLayerUnknown = 8
}
 

Variables

const ProtocolType pcpp::UnknownProtocol = 0x00
 
const ProtocolType pcpp::Ethernet = 0x01
 
const ProtocolType pcpp::IPv4 = 0x02
 
const ProtocolType pcpp::IPv6 = 0x04
 
const ProtocolType pcpp::IP = 0x06
 
const ProtocolType pcpp::TCP = 0x08
 
const ProtocolType pcpp::UDP = 0x10
 
const ProtocolType pcpp::HTTPRequest = 0x20
 
const ProtocolType pcpp::HTTPResponse = 0x40
 
const ProtocolType pcpp::HTTP = 0x60
 
const ProtocolType pcpp::ARP = 0x80
 
const ProtocolType pcpp::VLAN = 0x100
 
const ProtocolType pcpp::ICMP = 0x200
 
const ProtocolType pcpp::PPPoESession = 0x400
 
const ProtocolType pcpp::PPPoEDiscovery = 0x800
 
const ProtocolType pcpp::PPPoE = 0xc00
 
const ProtocolType pcpp::DNS = 0x1000
 
const ProtocolType pcpp::MPLS = 0x2000
 
const ProtocolType pcpp::GREv0 = 0x4000
 
const ProtocolType pcpp::GREv1 = 0x8000
 
const ProtocolType pcpp::GRE = 0xc000
 
const ProtocolType pcpp::PPP_PPTP = 0x10000
 
const ProtocolType pcpp::SSL = 0x20000
 
const ProtocolType pcpp::SLL = 0x40000
 
const ProtocolType pcpp::DHCP = 0x80000
 
const ProtocolType pcpp::NULL_LOOPBACK = 0x100000
 
const ProtocolType pcpp::IGMP = 0xE00000
 
const ProtocolType pcpp::IGMPv1 = 0x200000
 
const ProtocolType pcpp::IGMPv2 = 0x400000
 
const ProtocolType pcpp::IGMPv3 = 0x800000
 
const ProtocolType pcpp::GenericPayload = 0x1000000
 
const ProtocolType pcpp::VXLAN = 0x2000000
 
const ProtocolType pcpp::SIPRequest = 0x4000000
 
const ProtocolType pcpp::SIPResponse = 0x8000000
 
const ProtocolType pcpp::SIP = 0xc000000
 
const ProtocolType pcpp::SDP = 0x10000000
 
const ProtocolType pcpp::PacketTrailer = 0x20000000
 
const ProtocolType pcpp::Radius = 0x40000000
 
const ProtocolType pcpp::GTPv1 = 0x80000000
 
const ProtocolType pcpp::GTP = 0x80000000
 
const ProtocolType pcpp::EthernetDot3 = 0x100000000
 
const ProtocolType pcpp::BGP = 0x200000000