|
PcapPlusPlus
Next
|
#include <TcpReassembly.h>
Public Member Functions | |
| ConnectionData () | |
| A c'tor for this struct that basically zeros all members. | |
| 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 |
| Source IP address. | |
| IPAddress | dstIP |
| Destination IP address. | |
| uint16_t | srcPort |
| Source TCP/UDP port. | |
| uint16_t | dstPort |
| Destination TCP/UDP port. | |
| uint32_t | flowKey |
| A 4-byte hash key representing the connection. | |
| timeval | startTime |
| Start timestamp of the connection with microsecond precision. | |
| timeval | endTime |
| End timestamp of the connection with microsecond precision. | |
| std::chrono::time_point< std::chrono::high_resolution_clock > | startTimePrecise |
| Start timestamp of the connection with nanosecond precision. | |
| std::chrono::time_point< std::chrono::high_resolution_clock > | endTimePrecise |
| End timestamp of the connection with nanosecond precision. | |
Represents basic TCP/UDP + IP connection data
| 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 |