PcapPlusPlus
pcpp::ConnectionData Struct Reference

#include <TcpReassembly.h>

Public Member Functions

 ConnectionData ()
 

Public Attributes

IPv4Address srcIP
 
IPv4Address dstIP
 
size_t srcPort
 
size_t dstPort
 
uint32_t flowKey
 

Detailed Description

Represents basic TCP/UDP + IPv4 connection data

Constructor & Destructor Documentation

pcpp::ConnectionData::ConnectionData ( )
inline

A c'tor for this struct that basically zeros all members

Member Data Documentation

IPv4Address pcpp::ConnectionData::dstIP

Destination IP address

size_t pcpp::ConnectionData::dstPort

Destination TCP/UDP port

uint32_t pcpp::ConnectionData::flowKey

A 4-byte hash key representing the connection

IPv4Address pcpp::ConnectionData::srcIP

Source IP address

size_t pcpp::ConnectionData::srcPort

Source TCP/UDP port