TCP protocol header structure. More...
#include <netinet/tcp.h>
Data Fields | |
uint16_t | th_sport |
Source port. | |
uint16_t | th_dport |
Destination port. | |
uint32_t | th_seq |
Sequence number of first octet in this segment. | |
uint32_t | th_ack |
Expected sequence number of next octet. | |
uint8_t | th_x2:4 |
Unused. | |
uint8_t | th_off:4 |
Data offset. | |
uint8_t | th_flags |
Control flags. | |
uint16_t | th_win |
Number of acceptable octects. | |
uint16_t | th_sum |
96 byte pseudo header checksum. | |
uint16_t | th_urp |
Urgent data pointer. |
Destination port.
Definition at line 146 of file tcp.h.
Referenced by NutTcpOutput(), and NutTcpSm().
Sequence number of first octet in this segment.
Definition at line 147 of file tcp.h.
Referenced by NutDumpTcpHeader(), and NutTcpOutput().
Expected sequence number of next octet.
Definition at line 148 of file tcp.h.
Referenced by NutDumpTcpHeader(), and NutTcpOutput().
Control flags.
Definition at line 161 of file tcp.h.
Referenced by NutDumpTcpHeader(), and NutTcpOutput().