PcapPlusPlus
21.11
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
PcapPlusPlus
Dist
header
IPLayer.h
Generated on Tue Nov 9 2021 08:33:44 for PcapPlusPlus by
1.8.13