29 #ifndef ROHC_PROTOCOLS_TCP_H    30 #define ROHC_PROTOCOLS_TCP_H    56 #if WORDS_BIGENDIAN == 1    77 } __attribute__((packed));
    81 #define RSF_RST_ONLY  0x04    82 #define RSF_SYN_ONLY  0x02    83 #define RSF_FIN_ONLY  0x01    98 #define ROHC_TCP_OPTS_LEN_MAX_PROTO  (15U * 4U - (uint8_t) sizeof(struct tcphdr))   109 #define ROHC_TCP_OPTS_MAX_PROTO  ROHC_TCP_OPTS_LEN_MAX_PROTO   118 #define TCP_OLEN_MSS         4U   120 #define TCP_OLEN_WS          3U   122 #define TCP_OLEN_SACK_PERM   2U   125 #define TCP_OLEN_TS         10U   145 #define TCP_SACK_BLOCKS_MAX_NR  4U   153 } __attribute__((packed));
   162         __attribute__((warn_unused_result, 
const));
   182                         return "Window Scale";
   184                         return "SACK permitted";
 uint8_t ecn_flags
Definition: tcp.h:71
 
uint32_t ts
Definition: tcp.h:151
 
uint16_t window
Definition: tcp.h:73
 
The Selective Acknowlegment TCP option. 
Definition: tcp.h:137
 
uint32_t block_end
Definition: tcp.h:140
 
uint16_t dst_port
Definition: tcp.h:53
 
uint8_t urg_flag
Definition: tcp.h:70
 
uint16_t src_port
Definition: tcp.h:52
 
uint16_t urg_ptr
Definition: tcp.h:75
 
rohc_tcp_option_type_t
Definition: tcp.h:113
 
uint16_t checksum
Definition: tcp.h:74
 
uint32_t block_start
Definition: tcp.h:139
 
uint8_t options[0]
Definition: tcp.h:76
 
static char * tcp_opt_get_descr(const uint8_t opt_type)
Get a string that describes the given option type. 
Definition: tcp.h:171
 
uint8_t res_flags
Definition: tcp.h:65
 
uint8_t data_offset
Definition: tcp.h:66
 
The TCP base header without options. 
Definition: tcp.h:50
 
uint32_t ack_num
Definition: tcp.h:55
 
uint32_t seq_num
Definition: tcp.h:54
 
uint8_t rsf_flags
Definition: tcp.h:67
 
uint8_t psh_flag
Definition: tcp.h:68
 
uint8_t ack_flag
Definition: tcp.h:69
 
uint32_t ts_reply
Definition: tcp.h:152