PcapPlusPlus
24.09
|
#include <IPReassembly.h>
Public Member Functions | |
IPv4PacketKey () | |
IPv4PacketKey (uint16_t ipid, IPv4Address srcip, IPv4Address dstip) | |
IPv4PacketKey (const IPv4PacketKey &other) | |
IPv4PacketKey & | operator= (const IPv4PacketKey &other) |
uint16_t | getIpID () const |
IPv4Address | getSrcIP () const |
IPv4Address | getDstIP () const |
void | setIpID (uint16_t ipID) |
void | setSrcIP (const IPv4Address &srcIP) |
void | setDstIP (const IPv4Address &dstIP) |
uint32_t | getHashValue () const |
ProtocolType | getProtocolType () const |
PacketKey * | clone () const |
Public Member Functions inherited from pcpp::IPReassembly::PacketKey | |
virtual | ~PacketKey ()=default |
Represents a key that can uniquely identify IPv4 packets. The key comprises of source IPv4 address, dest IPv4 address and IP ID
|
inline |
A default c'tor which zeros all members
|
inline |
A c'tor that sets values in each one of the members
[in] | ipid | IP ID value |
[in] | srcip | Source IPv4 address |
[in] | dstip | Dest IPv4 address |
|
inline |
A copy c'tor for this class
[in] | other | The instance to copy from |
|
inlinevirtual |
Implements pcpp::IPReassembly::PacketKey.
|
inline |
|
virtual |
Implements pcpp::IPReassembly::PacketKey.
|
inline |
|
inlinevirtual |
Implements pcpp::IPReassembly::PacketKey.
|
inline |
|
inline |
Assignment operator for this class
[in] | other | The instance to assign from |
|
inline |
Set dest IPv4 address
[in] | dstIP | Dest IP to set |
|
inline |
Set IP ID
[in] | ipID | IP ID value to set |
|
inline |
Set source IPv4 address
[in] | srcIP | Source IP to set |