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. |
TCP protocol header structure.
Source port.
Referenced by NutTcpOutput(), and NutTcpSm().
Destination port.
Referenced by NutTcpOutput(), and NutTcpSm().
Sequence number of first octet in this segment.
Referenced by NutDumpTcpHeader(), and NutTcpOutput().
Expected sequence number of next octet.
Referenced by NutDumpTcpHeader(), and NutTcpOutput().
Unused.
Referenced by NutTcpOutput().
Data offset.
Referenced by NutTcpInput(), and NutTcpOutput().
Control flags.
Referenced by NutDumpTcpHeader(), and NutTcpOutput().
Number of acceptable octects.
Referenced by NutTcpOutput().
96 byte pseudo header checksum.
Referenced by NutTcpOutput().
Urgent data pointer.
Referenced by NutTcpOutput().