ROHC compression/decompression library
|
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] |
Define the TCP header.
See RFC4996 page 72/73
uint8_t tcphdr::ack_flag |
uint32_t tcphdr::ack_num |
uint16_t tcphdr::checksum |
uint8_t tcphdr::data_offset |
uint16_t tcphdr::dst_port |
uint8_t tcphdr::ecn_flags |
uint8_t tcphdr::options[0] |
The beginning of the TCP options
uint8_t tcphdr::psh_flag |
uint8_t tcphdr::res_flags |
uint8_t tcphdr::rsf_flags |
uint32_t tcphdr::seq_num |
uint16_t tcphdr::src_port |
uint8_t tcphdr::urg_flag |
uint16_t tcphdr::urg_ptr |
uint16_t tcphdr::window |