The friendly Operating System for the Internet of Things
tcp_hdr_t Struct Reference

TCP header definition. More...

Detailed Description

Definition at line 58 of file tcp.h.

#include <net/tcp.h>

Data Fields

network_uint16_t src_port
 source port, in network byte order
 
network_uint16_t dst_port
 destination port, in network byte order
 
network_uint32_t seq_num
 sequence number, in network byte order
 
network_uint32_t ack_num
 Acknowledgement number, in network byte order.
 
network_uint16_t off_ctl
 Data Offset and control Bits in network byte order.
 
network_uint16_t window
 window, in network byte order
 
network_uint16_t checksum
 checksum, in network byte order
 
network_uint16_t urgent_ptr
 urgent pointer, in network byte order
 

The documentation for this struct was generated from the following file: