28 #ifndef ROHC_DECOMP_SCHEMES_TCP_SACK_H 29 #define ROHC_DECOMP_SCHEMES_TCP_SACK_H 46 #if ((defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || \ 47 (defined(__GNUC__) && defined(__GNUC_MINOR__) && \ 48 (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)))) 50 "d_tcp_opt_sack length should be multiple of 8 bytes");
55 const uint8_t *
const data,
56 const size_t data_len,
58 __attribute__((warn_unused_result,
nonnull(1, 2, 4)));
The Selective Acknowlegment TCP option.
Definition: tcp.h:160
#define TCP_SACK_BLOCKS_MAX_NR
Definition: tcp.h:168
sack_block_t blocks[TCP_SACK_BLOCKS_MAX_NR]
Definition: decomp/schemes/tcp_sack.h:40
Internal structures for ROHC decompression.
Definition: decomp/schemes/tcp_sack.h:38
uint8_t blocks_nr
Definition: decomp/schemes/tcp_sack.h:41
int d_tcp_sack_parse(const struct rohc_decomp_ctxt *const context, const uint8_t *const data, const size_t data_len, struct d_tcp_opt_sack *const opt_sack)
Parse the SACK TCP option.
Definition: decomp/schemes/tcp_sack.c:59
The ROHC decompression context.
Definition: rohc_decomp_internals.h:267
uint8_t unused[7]
Definition: decomp/schemes/tcp_sack.h:42