PcapPlusPlus
Next
|
#include <TcpReassembly.h>
Public Member Functions | |
ConnectionData () | |
void | setStartTime (const std::chrono::time_point< std::chrono::high_resolution_clock > &startTimeValue) |
void | setEndTime (const std::chrono::time_point< std::chrono::high_resolution_clock > &endTimeValue) |
Public Attributes | |
IPAddress | srcIP |
IPAddress | dstIP |
uint16_t | srcPort |
uint16_t | dstPort |
uint32_t | flowKey |
timeval | startTime |
timeval | endTime |
std::chrono::time_point< std::chrono::high_resolution_clock > | startTimePrecise |
std::chrono::time_point< std::chrono::high_resolution_clock > | endTimePrecise |
Represents basic TCP/UDP + IP connection data
|
inline |
A c'tor for this struct that basically zeros all members
void pcpp::ConnectionData::setEndTime | ( | const std::chrono::time_point< std::chrono::high_resolution_clock > & | endTimeValue | ) |
Set the end time of the connection
[in] | endTimeValue | timestamp value |
void pcpp::ConnectionData::setStartTime | ( | const std::chrono::time_point< std::chrono::high_resolution_clock > & | startTimeValue | ) |
Set the start time of the connection
[in] | startTimeValue | timestamp value |
IPAddress pcpp::ConnectionData::dstIP |
Destination IP address
uint16_t pcpp::ConnectionData::dstPort |
Destination TCP/UDP port
timeval pcpp::ConnectionData::endTime |
End timestamp of the connection with microsecond precision
std::chrono::time_point<std::chrono::high_resolution_clock> pcpp::ConnectionData::endTimePrecise |
End timestamp of the connection with nanosecond precision
uint32_t pcpp::ConnectionData::flowKey |
A 4-byte hash key representing the connection
IPAddress pcpp::ConnectionData::srcIP |
Source IP address
uint16_t pcpp::ConnectionData::srcPort |
Source TCP/UDP port
timeval pcpp::ConnectionData::startTime |
Start timestamp of the connection with microsecond precision
std::chrono::time_point<std::chrono::high_resolution_clock> pcpp::ConnectionData::startTimePrecise |
Start timestamp of the connection with nanosecond precision