PcapPlusPlus
Next
IPLayer.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
IpAddress.h
"
4
#include "
Layer.h
"
5
7
10
namespace
pcpp
11
{
17
class
IPLayer
18
{
19
protected
:
20
IPLayer
() =
default
;
21
22
public
:
25
virtual
IPAddress
getSrcIPAddress
()
const
= 0;
26
29
virtual
IPAddress
getDstIPAddress
()
const
= 0;
30
32
virtual
~IPLayer
() =
default
;
33
};
34
}
// namespace pcpp
IpAddress.h
Layer.h
pcpp::IPAddress
Definition:
IpAddress.h:276
pcpp::IPLayer
Definition:
IPLayer.h:18
pcpp::IPLayer::~IPLayer
virtual ~IPLayer()=default
An empty destructor.
pcpp::IPLayer::getDstIPAddress
virtual IPAddress getDstIPAddress() const =0
pcpp::IPLayer::getSrcIPAddress
virtual IPAddress getSrcIPAddress() const =0
pcpp
The main namespace for the PcapPlusPlus lib.
Packet++
header
IPLayer.h
Generated on Sun Mar 30 2025 01:33:45 for PcapPlusPlus by
1.9.1