ROHC compression/decompression library
Data Fields
tcphdr Struct Reference

Define the TCP header. More...

#include <tcp.h>

Data Fields

uint16_t src_port
uint16_t dst_port
uint32_t seq_num
uint32_t ack_num
uint8_t res_flags: 4
uint8_t data_offset: 4
uint8_t rsf_flags: 3
uint8_t psh_flag: 1
uint8_t ack_flag: 1
uint8_t urg_flag: 1
uint8_t ecn_flags: 2
uint16_t window
uint16_t checksum
uint16_t urg_ptr
uint8_t options [0]

Detailed Description

Define the TCP header.

See RFC4996 page 72/73


Field Documentation

uint32_t tcphdr::ack_num
uint16_t tcphdr::checksum
uint16_t tcphdr::dst_port
uint8_t tcphdr::options[0]

The beginning of the TCP options

uint32_t tcphdr::seq_num
uint16_t tcphdr::src_port
uint16_t tcphdr::urg_ptr
uint16_t tcphdr::window

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