Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
TCP_SegmentHeader Struct Reference
TCP Segment memory map. More...
#include <tcp.h>
Data Fields | |
| u16 | source_port |
| Source port (1-65535) | |
| u16 | destination_port |
| Destination port (1-65535) | |
| u32 | sequence_number |
| TCP Sequence number (initial one if SYN set) | |
| u32 | acknowledge_number |
| TCP Acknowledge number (valid if ACK set) | |
| unsigned | data_offset_bytes_div4:4 |
| Length of this header (20) divided by 4 (should be 5) | |
| unsigned | unused_0:4 |
| Unused, should be zero. | |
| unsigned | fin:1 |
| connection FINished (no more data from sender) | |
| unsigned | syn:1 |
| SYNchronize sequence numbers. | |
| unsigned | rst:1 |
| ReSeT the connection. | |
| unsigned | psh:1 |
| PuSH to receiving application. | |
| unsigned | ack:1 |
| ACKnowledge fiend is significant. | |
| unsigned | urg:1 |
| URGent field is significant. | |
| unsigned | ece:1 |
| ECn Echo. | |
| unsigned | cwr:1 |
| Congestion Window Reduced. | |
| u16 | window_size |
| TCP Maxumum window size (8192 is good) | |
| u16 | checksum |
| TCP checksum (computed with pseudo header) | |
| u16 | urgent_pointer |
| Urgent pointer (valid if URG set) | |
| unsigned char | data [] |
| Memory map for data if no options are set. | |
Detailed Description
TCP Segment memory map.
Definition at line 17 of file tcp.h.
Field Documentation
| unsigned char data[] |
| unsigned data_offset_bytes_div4 |
Generated on Tue Jul 12 2022 11:59:40 by
1.7.2