Loading...
Searching...
No Matches
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.
 

Field Documentation

◆ ack_num

network_uint32_t tcp_hdr_t::ack_num

Acknowledgement number, in network byte order.

Definition at line 63 of file tcp.h.

◆ checksum

network_uint16_t tcp_hdr_t::checksum

Checksum, in network byte order.

Definition at line 66 of file tcp.h.

◆ dst_port

network_uint16_t tcp_hdr_t::dst_port

Destination port, in network byte order.

Definition at line 61 of file tcp.h.

◆ off_ctl

network_uint16_t tcp_hdr_t::off_ctl

Data Offset and control Bits in network byte order.

Definition at line 64 of file tcp.h.

◆ seq_num

network_uint32_t tcp_hdr_t::seq_num

Sequence number, in network byte order.

Definition at line 62 of file tcp.h.

◆ src_port

network_uint16_t tcp_hdr_t::src_port

Source port, in network byte order.

Definition at line 60 of file tcp.h.

◆ urgent_ptr

network_uint16_t tcp_hdr_t::urgent_ptr

Urgent pointer, in network byte order.

Definition at line 67 of file tcp.h.

◆ window

network_uint16_t tcp_hdr_t::window

Window, in network byte order.

Definition at line 65 of file tcp.h.


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