TCP header. More...
#include "L4_TCP.hpp"
Public Attributes | |
| TCP_PORT | src_port |
| TCP source port. More... | |
| TCP_PORT | dst_port |
| TCP destination port. More... | |
| uint32_t | sequence_number |
| Sequence number. More... | |
| uint32_t | ack_number |
| Acknowledgement number. More... | |
| uint8_t | data_offset_and_flags |
| Data offset (size of TCP header in 32-bit words) and 4 bit flags. More... | |
| uint8_t | flags |
| 8 additional bit flags. More... | |
| uint16_t | window_size |
| The size of the receive window. More... | |
| uint16_t | checksum |
| 16-bit checksum used for error-checking of header and data. More... | |
| uint16_t | urgent_pointer |
| If URG is set this is an offset indicating the last urgent data. More... | |
| uint8_t | payload [0] |
| TCP payload. (Only if there are no TCP options.) More... | |
TCP header.
| uint32_t Myra::L4_TCP::Header::ack_number |
Acknowledgement number.
| uint16_t Myra::L4_TCP::Header::checksum |
16-bit checksum used for error-checking of header and data.
| uint8_t Myra::L4_TCP::Header::data_offset_and_flags |
Data offset (size of TCP header in 32-bit words) and 4 bit flags.
| TCP_PORT Myra::L4_TCP::Header::dst_port |
TCP destination port.
| uint8_t Myra::L4_TCP::Header::flags |
8 additional bit flags.
| uint8_t Myra::L4_TCP::Header::payload[0] |
TCP payload. (Only if there are no TCP options.)
| uint32_t Myra::L4_TCP::Header::sequence_number |
Sequence number.
| TCP_PORT Myra::L4_TCP::Header::src_port |
TCP source port.
| uint16_t Myra::L4_TCP::Header::urgent_pointer |
If URG is set this is an offset indicating the last urgent data.
| uint16_t Myra::L4_TCP::Header::window_size |
The size of the receive window.