|
PcapPlusPlus
22.05
|
#include <TcpLayer.h>
Public Attributes | |
| uint16_t | portSrc |
| uint16_t | portDst |
| uint32_t | sequenceNumber |
| uint32_t | ackNumber |
| uint16_t | dataOffset:4 |
| uint16_t | finFlag:1 |
| uint16_t | synFlag:1 |
| uint16_t | rstFlag:1 |
| uint16_t | pshFlag:1 |
| uint16_t | ackFlag:1 |
| uint16_t | urgFlag:1 |
| uint16_t | eceFlag:1 |
| uint16_t | cwrFlag:1 |
| uint16_t | windowSize |
| uint16_t | headerChecksum |
| uint16_t | urgentPointer |
Represents an TCP protocol header
| uint16_t pcpp::tcphdr::ackFlag |
ACK flag
| uint32_t pcpp::tcphdr::ackNumber |
Acknowledgment number
| uint16_t pcpp::tcphdr::cwrFlag |
CWR flag
| uint16_t pcpp::tcphdr::dataOffset |
Specifies the size of the TCP header in 32-bit words
| uint16_t pcpp::tcphdr::eceFlag |
ECE flag
| uint16_t pcpp::tcphdr::finFlag |
FIN flag
| uint16_t pcpp::tcphdr::headerChecksum |
The 16-bit checksum field is used for error-checking of the header and data
| uint16_t pcpp::tcphdr::portDst |
Destination TCP port
| uint16_t pcpp::tcphdr::portSrc |
Source TCP port
| uint16_t pcpp::tcphdr::pshFlag |
PSH flag
| uint16_t pcpp::tcphdr::rstFlag |
RST flag
| uint32_t pcpp::tcphdr::sequenceNumber |
Sequence number
| uint16_t pcpp::tcphdr::synFlag |
SYN flag
| uint16_t pcpp::tcphdr::urgentPointer |
If the URG flag (tcphdr::urgFlag) is set, then this 16-bit field is an offset from the sequence number indicating the last urgent data byte
| uint16_t pcpp::tcphdr::urgFlag |
URG flag
| uint16_t pcpp::tcphdr::windowSize |
The size of the receive window, which specifies the number of window size units (by default, bytes)