PcapPlusPlus
22.05
IPLayer.h
Go to the documentation of this file.
1
#ifndef PACKETPP_IP_LAYER
2
#define PACKETPP_IP_LAYER
3
4
#include "
IpAddress.h
"
5
#include "
Layer.h
"
6
8
13
namespace
pcpp
14
{
22
class
IPLayer
23
{
24
protected
:
25
IPLayer
() {}
26
public
:
31
virtual
IPAddress
getSrcIPAddress
()
const
= 0;
32
37
virtual
IPAddress
getDstIPAddress
()
const
= 0;
38
42
virtual
~IPLayer
() {}
43
};
44
}
45
46
#endif // PACKETPP_IP_LAYER
pcpp
The main namespace for the PcapPlusPlus lib.
pcpp::IPLayer::getDstIPAddress
virtual IPAddress getDstIPAddress() const =0
pcpp::IPLayer::getSrcIPAddress
virtual IPAddress getSrcIPAddress() const =0
pcpp::IPLayer
Definition:
IPLayer.h:22
Layer.h
pcpp::IPLayer::~IPLayer
virtual ~IPLayer()
Definition:
IPLayer.h:42
IpAddress.h
pcpp::IPAddress
Definition:
IpAddress.h:278
Dist
header
IPLayer.h
Generated on Fri May 6 2022 07:19:23 for PcapPlusPlus by
1.8.13