tcp_hdr_t Struct Reference

TCP header definition. More...

Detailed Description

TCP header definition.

Definition at line 59 of file tcp.h.

#include <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: