PcapPlusPlus  24.09
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 uint8_t pcpp::ProtocolType
 
typedef uint32_t pcpp::ProtocolTypeFamily
 

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 = 0
 
const ProtocolType pcpp::Ethernet = 1
 
const ProtocolType pcpp::IPv4 = 2
 
const ProtocolType pcpp::IPv6 = 3
 
const ProtocolTypeFamily pcpp::IP = 0x203
 
const ProtocolType pcpp::TCP = 4
 
const ProtocolType pcpp::UDP = 5
 
const ProtocolType pcpp::HTTPRequest = 6
 
const ProtocolType pcpp::HTTPResponse = 7
 
const ProtocolTypeFamily pcpp::HTTP = 0x607
 
const ProtocolType pcpp::ARP = 8
 
const ProtocolType pcpp::VLAN = 9
 
const ProtocolType pcpp::ICMP = 10
 
const ProtocolType pcpp::PPPoESession = 11
 
const ProtocolType pcpp::PPPoEDiscovery = 12
 
const ProtocolTypeFamily pcpp::PPPoE = 0xb0c
 
const ProtocolType pcpp::DNS = 13
 
const ProtocolType pcpp::MPLS = 14
 
const ProtocolType pcpp::GREv0 = 15
 
const ProtocolType pcpp::GREv1 = 16
 
const ProtocolTypeFamily pcpp::GRE = 0xf10
 
const ProtocolType pcpp::PPP_PPTP = 17
 
const ProtocolType pcpp::SSL = 18
 
const ProtocolType pcpp::SLL = 19
 
const ProtocolType pcpp::DHCP = 20
 
const ProtocolType pcpp::NULL_LOOPBACK = 21
 
const ProtocolType pcpp::IGMPv1 = 22
 
const ProtocolType pcpp::IGMPv2 = 23
 
const ProtocolType pcpp::IGMPv3 = 24
 
const ProtocolTypeFamily pcpp::IGMP = 0x161718
 
const ProtocolType pcpp::GenericPayload = 25
 
const ProtocolType pcpp::VXLAN = 26
 
const ProtocolType pcpp::SIPRequest = 27
 
const ProtocolType pcpp::SIPResponse = 28
 
const ProtocolTypeFamily pcpp::SIP = 0x1b1c
 
const ProtocolType pcpp::SDP = 29
 
const ProtocolType pcpp::PacketTrailer = 30
 
const ProtocolType pcpp::Radius = 31
 
const ProtocolType pcpp::GTPv1 = 32
 
const ProtocolTypeFamily pcpp::GTP = 0x20
 
const ProtocolType pcpp::EthernetDot3 = 33
 
const ProtocolType pcpp::BGP = 34
 
const ProtocolType pcpp::SSH = 35
 
const ProtocolType pcpp::AuthenticationHeader = 36
 
const ProtocolType pcpp::ESP = 37
 
const ProtocolTypeFamily pcpp::IPSec = 0x2425
 
const ProtocolType pcpp::DHCPv6 = 38
 
const ProtocolType pcpp::NTP = 39
 
const ProtocolType pcpp::Telnet = 40
 
const ProtocolType pcpp::FTP = 41
 
const ProtocolType pcpp::ICMPv6 = 42
 
const ProtocolType pcpp::STP = 43
 
const ProtocolType pcpp::LLC = 44
 
const ProtocolType pcpp::SomeIP = 45
 
const ProtocolType pcpp::WakeOnLan = 46
 
const ProtocolType pcpp::NFLOG = 47
 
const ProtocolType pcpp::TPKT = 48
 
const ProtocolType pcpp::VRRPv2 = 49
 
const ProtocolType pcpp::VRRPv3 = 50
 
const ProtocolTypeFamily pcpp::VRRP = 0x3132
 
const ProtocolType pcpp::COTP = 51
 
const ProtocolType pcpp::SLL2 = 52
 
const ProtocolType pcpp::S7COMM = 53