29 #ifndef ROHC_DECOMP_TCP_DEFINES_H 30 #define ROHC_DECOMP_TCP_DEFINES_H 37 #include "schemes/ip_ctxt.h" 39 #include "schemes/tcp_ts.h" 40 #include "schemes/tcp_sack.h" 82 #define ROHC_TCP_OPT_HDR_LEN 2U 83 #define ROHC_TCP_OPT_MAX_LEN 0xffU 84 #define ROHC_TCP_OPT_GENERIC_DATA_MAX_LEN \ 85 (ROHC_TCP_OPT_MAX_LEN - ROHC_TCP_OPT_HDR_LEN) uint8_t urg_flag_bits
Definition: d_tcp_defines.h:240
uint8_t len
Definition: d_tcp_defines.h:55
size_t flowid_nr
Definition: d_tcp_defines.h:187
uint32_t ack_num
Definition: d_tcp_defines.h:311
size_t urg_flag_bits_nr
Definition: d_tcp_defines.h:241
uint8_t rsf_flags
Definition: d_tcp_defines.h:323
bool ecn_used
Definition: d_tcp_defines.h:137
uint8_t rsf_flags_bits
Definition: d_tcp_defines.h:246
size_t src_port_nr
Definition: d_tcp_defines.h:226
rohc_cid_t cr_base_cid
Definition: d_tcp_defines.h:289
size_t rohc_cid_t
Definition: rohc.h:195
Definition: d_tcp_defines.h:284
uint8_t ack_flag_bits
Definition: d_tcp_defines.h:242
bool ack_flag
Definition: d_tcp_defines.h:321
size_t opts_len
Definition: d_tcp_defines.h:200
size_t res_flags_bits_nr
Definition: d_tcp_defines.h:237
uint16_t tcp_check
Definition: d_tcp_defines.h:327
bool urg_flag
Definition: d_tcp_defines.h:139
uint8_t dscp_bits
Definition: d_tcp_defines.h:167
size_t ecn_used_bits_nr
Definition: d_tcp_defines.h:235
uint16_t msn
Definition: d_tcp_defines.h:296
rohc_ip_id_behavior_t id_behavior
Definition: d_tcp_defines.h:265
uint32_t flowid
Definition: d_tcp_defines.h:185
bool used
Definition: d_tcp_defines.h:48
uint32_t opt_ts_rep
Definition: d_tcp_defines.h:334
uint16_t dst_port
Definition: d_tcp_defines.h:305
uint16_t urg_ptr
Definition: d_tcp_defines.h:147
uint8_t proto
Definition: d_tcp_defines.h:181
size_t daddr_nr
Definition: d_tcp_defines.h:195
uint8_t ttl
Definition: d_tcp_defines.h:268
uint16_t tcp_check
Definition: d_tcp_defines.h:249
uint8_t ecn_flags_bits
Definition: d_tcp_defines.h:238
bool ttl_dyn_chain_flag
Definition: d_tcp_defines.h:220
Definition: decomp_wlsb.h:77
uint8_t proto
Definition: d_tcp_defines.h:269
size_t opts_nr
Definition: d_tcp_defines.h:278
size_t dscp_bits_nr
Definition: d_tcp_defines.h:168
bool urg_flag
Definition: d_tcp_defines.h:320
size_t ecn_flags_bits_nr
Definition: d_tcp_defines.h:170
size_t proto_nr
Definition: d_tcp_defines.h:183
uint16_t window
Definition: d_tcp_defines.h:326
union d_tcp_opt_ctxt::@35 data
size_t ecn_flags_bits_nr
Definition: d_tcp_defines.h:239
struct d_tcp_opt_ctxt::@35::@37 mss
bool ttl_dyn_chain_flag
Definition: d_tcp_defines.h:299
uint8_t psh_flag_bits
Definition: d_tcp_defines.h:244
Definition: d_tcp_defines.h:163
uint8_t ecn_used_bits
Definition: d_tcp_defines.h:234
uint8_t value
Definition: d_tcp_defines.h:65
uint8_t res_flags
Definition: d_tcp_defines.h:318
uint8_t dscp
Definition: d_tcp_defines.h:264
bool do_ctxt_replication
Definition: d_tcp_defines.h:208
uint8_t ecn_flags
Definition: d_tcp_defines.h:319
uint8_t df
Definition: d_tcp_defines.h:176
#define ROHC_TCP_OPT_GENERIC_DATA_MAX_LEN
Definition: d_tcp_defines.h:84
uint16_t dst_port
Definition: d_tcp_defines.h:227
Definition: decomp/schemes/tcp_sack.h:38
size_t df_nr
Definition: d_tcp_defines.h:178
The Least Significant Bits (LSB) decoding object.
Definition: decomp_wlsb.h:57
uint16_t value
Definition: d_tcp_defines.h:60
Definition: d_tcp_defines.h:77
uint16_t src_port
Definition: d_tcp_defines.h:225
Definition: comp/schemes/ip_ctxt.h:110
uint16_t src_port
Definition: d_tcp_defines.h:304
size_t dst_port_nr
Definition: d_tcp_defines.h:228
Definition: decomp_wlsb.h:86
uint8_t df
Definition: d_tcp_defines.h:267
size_t rsf_flags_bits_nr
Definition: d_tcp_defines.h:247
bool psh_flag
Definition: d_tcp_defines.h:322
uint8_t load[ROHC_TCP_OPT_GENERIC_DATA_MAX_LEN]
Definition: d_tcp_defines.h:86
bool do_ctxt_replication
Definition: d_tcp_defines.h:287
size_t ip_nr
Definition: d_tcp_defines.h:293
rohc_ip_id_behavior_t
Definition: rohc_internal.h:171
#define MAX_TCP_OPTION_INDEX
The largest index that may be used to identify one TCP option.
Definition: rfc6846.h:58
struct d_tcp_opt_sack sack
Definition: d_tcp_defines.h:72
uint32_t seq_num_residue
Definition: d_tcp_defines.h:310
bool is_static
Definition: d_tcp_defines.h:54
ROHC packets for the ROHCv1 IP/TCP profile defined in RFC6846.
uint16_t ack_stride
Definition: d_tcp_defines.h:130
bool ttl_irreg_chain_flag
Definition: d_tcp_defines.h:301
bool ack_flag
Definition: d_tcp_defines.h:140
Definition: d_tcp_defines.h:46
Window-based Least Significant Bits (W-LSB) decoding.
size_t ack_flag_bits_nr
Definition: d_tcp_defines.h:243
size_t ip_contexts_nr
Definition: d_tcp_defines.h:157
size_t id_behavior_nr
Definition: d_tcp_defines.h:173
Definition: d_tcp_defines.h:112
#define ROHC_MAX_IP_EXT_HDRS
The maximum number of IP extension headers supported.
Definition: protocols/ip.h:58
uint8_t load_len
Definition: d_tcp_defines.h:81
uint16_t ack_num_residue
Definition: d_tcp_defines.h:313
uint32_t seq_num_scaled
Definition: d_tcp_defines.h:309
uint8_t rsf_flags
Definition: d_tcp_defines.h:141
uint16_t ack_num_residue
Definition: d_tcp_defines.h:131
uint8_t version
Definition: d_tcp_defines.h:262
uint32_t opt_ts_req
Definition: d_tcp_defines.h:333
struct d_tcp_opt_ctxt::@35::@36 eol
uint16_t ack_stride
Definition: d_tcp_defines.h:314
uint8_t res_flags
Definition: d_tcp_defines.h:136
uint8_t version
Definition: d_tcp_defines.h:165
struct d_tcp_opt_ctxt::@35::@38 ws
Definition: decomp_wlsb.h:68
struct rohc_lsb_field32 req
Definition: d_tcp_defines.h:69
Definition: d_tcp_defines.h:260
size_t opts_len
Definition: d_tcp_defines.h:279
uint8_t ecn_flags
Definition: d_tcp_defines.h:138
#define ROHC_TCP_OPTS_MAX
The maximum of TCP options supported by the TCP profile.
Definition: rfc6846.h:73
rohc_cid_t cr_base_cid
Definition: d_tcp_defines.h:210
uint8_t type
Definition: d_tcp_defines.h:49
uint32_t ack_num_scaled
Definition: d_tcp_defines.h:312
uint8_t rnd
Definition: d_tcp_defines.h:271
uint8_t ecn_flags_bits
Definition: d_tcp_defines.h:169
Define union of IP contexts.
Definition: comp/schemes/ip_ctxt.h:155
uint8_t id_behavior
Definition: d_tcp_defines.h:172
uint16_t tcp_src_port
Definition: d_tcp_defines.h:123
uint16_t urg_ptr
Definition: d_tcp_defines.h:328
size_t opts_nr
Definition: d_tcp_defines.h:199
Defines the common IPv4/v6 header.
Definition: d_tcp_defines.h:93
Definition: d_tcp_defines.h:79
size_t ip_nr
Definition: d_tcp_defines.h:214
bool ttl_irreg_chain_flag
Definition: d_tcp_defines.h:222
uint8_t nbo
Definition: d_tcp_defines.h:270
struct rohc_lsb_field32 rep
Definition: d_tcp_defines.h:70
struct d_tcp_opt_ctxt::@35::@39 ts
uint16_t id
Definition: d_tcp_defines.h:266
size_t psh_flag_bits_nr
Definition: d_tcp_defines.h:245
uint32_t seq_num
Definition: d_tcp_defines.h:308
size_t saddr_nr
Definition: d_tcp_defines.h:191
size_t nr
Definition: d_tcp_defines.h:96
uint8_t ecn_flags
Definition: d_tcp_defines.h:263
uint32_t seq_num_residue
Definition: d_tcp_defines.h:126
#define ROHC_MAX_IP_HDRS
The maximum number of IP headers supported.
Definition: protocols/ip.h:46
Definition: d_tcp_defines.h:205
uint8_t res_flags_bits
Definition: d_tcp_defines.h:236
uint32_t flowid
Definition: d_tcp_defines.h:272
bool ecn_used
Definition: d_tcp_defines.h:317
uint16_t tcp_dst_port
Definition: d_tcp_defines.h:124
Compute the interpretation interval for LSB and W-LSB encoding.
Definition: d_tcp_defines.h:78