PcapPlusPlus  21.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  };
39 }
40 
41 #endif // PACKETPP_IP_LAYER
The main namespace for the PcapPlusPlus lib.
virtual IPAddress getDstIPAddress() const =0
virtual IPAddress getSrcIPAddress() const =0
Definition: IPLayer.h:22
Definition: IpAddress.h:265