PcapPlusPlus
19.12
|
#include <TcpReassembly.h>
Public Member Functions | |
TcpStreamData (const uint8_t *tcpData, size_t tcpDataLength, const ConnectionData &connData) | |
const uint8_t * | getData () const |
size_t | getDataLength () const |
const ConnectionData & | getConnectionData () const |
When following a TCP connection each packet may contain a piece of the data transferred between the client and the server. This class represents these pieces: each instance of it contains a piece of data, usually extracted from a single packet, as well as information about the connection
|
inline |
A c'tor for this class that get data from outside and set the internal members
[in] | tcpData | A pointer to buffer containing the TCP data piece |
[in] | tcpDataLength | The length of the buffer |
[in] | connData | TCP connection information for this TCP data |
|
inline |
A getter for the connection data
|
inline |
A getter for the data buffer
|
inline |
A getter for buffer length