PcapPlusPlus
ProtocolType.h File Reference

Go to the source code of this file.

Namespaces

 pcpp
 The main namespace for the PcapPlusPlus lib.
 

Enumerations

enum  pcpp::ProtocolType {
  pcpp::UnknownProtocol = 0x00, pcpp::Ethernet = 0x01, pcpp::IPv4 = 0x02, pcpp::IPv6 = 0x04,
  pcpp::IP = 0x06, pcpp::TCP = 0x08, pcpp::UDP = 0x10, pcpp::HTTPRequest = 0x20,
  pcpp::HTTPResponse = 0x40, pcpp::HTTP = 0x20 | 0x40, pcpp::ARP = 0x80, pcpp::VLAN = 0x100,
  pcpp::ICMP = 0x200, pcpp::PPPoESession = 0x400, pcpp::PPPoEDiscovery = 0x800, pcpp::PPPoE = 0x400 | 0x800,
  pcpp::DNS = 0x1000, pcpp::MPLS = 0x2000, pcpp::GREv0 = 0x4000, pcpp::GREv1 = 0x8000,
  pcpp::GRE = 0x4000 | 0x8000, pcpp::PPP_PPTP = 0x10000, pcpp::SSL = 0x20000, pcpp::SLL = 0x40000,
  pcpp::DHCP = 0x80000, pcpp::NULL_LOOPBACK = 0x100000, pcpp::IGMP = 0xE00000, pcpp::IGMPv1 = 0x200000,
  pcpp::IGMPv2 = 0x400000, pcpp::IGMPv3 = 0x800000, pcpp::GenericPayload = 0x1000000, pcpp::VXLAN = 0x2000000,
  pcpp::SIPRequest = 0x4000000, pcpp::SIPResponse = 0x8000000, pcpp::SIP = 0x4000000 | 0x8000000, pcpp::SDP = 0x10000000,
  pcpp::PacketTrailer = 0x20000000
}
 
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
}