|
PcapPlusPlus
Next
|
#include <TcpLayer.h>
Public Attributes | |
| uint16_t | portSrc |
| Source TCP port. | |
| uint16_t | portDst |
| Destination TCP port. | |
| uint32_t | sequenceNumber |
| Sequence number. | |
| uint32_t | ackNumber |
| Acknowledgment number. | |
| uint16_t | accurateEcnFlag: 1 |
| Accurate ECN flag. | |
| uint16_t | reserved: 3 |
| Reserved bits. | |
| uint16_t | dataOffset: 4 |
| Specifies the size of the TCP header in 32-bit words. | |
| uint16_t | finFlag: 1 |
| FIN flag. | |
| uint16_t | synFlag: 1 |
| SYN flag. | |
| uint16_t | rstFlag: 1 |
| RST flag. | |
| uint16_t | pshFlag: 1 |
| PSH flag. | |
| uint16_t | ackFlag: 1 |
| ACK flag. | |
| uint16_t | urgFlag: 1 |
| URG flag. | |
| uint16_t | eceFlag: 1 |
| ECE flag. | |
| uint16_t | cwrFlag: 1 |
| CWR flag. | |
| uint16_t | windowSize |
| The size of the receive window, which specifies the number of window size units (by default, bytes) | |
| uint16_t | headerChecksum |
| The 16-bit checksum field is used for error-checking of the header and data. | |
| uint16_t | urgentPointer |
Represents an TCP protocol header
| 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