27 #ifndef ROHC_DECOMP_SCHEMES_RFC4996_H 28 #define ROHC_DECOMP_SCHEMES_RFC4996_H 39 const size_t rohc_len,
42 __attribute__((warn_unused_result, nonnull(1, 4)));
45 const size_t rohc_len,
48 __attribute__((warn_unused_result, nonnull(1, 4)));
51 const size_t rohc_len,
54 __attribute__((warn_unused_result, nonnull(1, 4)));
57 const size_t rohc_len,
60 __attribute__((warn_unused_result, nonnull(1, 4)));
64 __attribute__((warn_unused_result,
const));
70 const uint32_t ip_id_bits,
71 const size_t ip_id_bits_nr,
73 uint16_t *
const ip_id)
74 __attribute__((warn_unused_result, nonnull(1, 2, 7)));
78 const uint8_t *
const rohc_data,
79 const size_t data_len,
83 __attribute__((warn_unused_result, nonnull(1, 2, 6)));
rohc_lsb_shift_t
the different values of the shift parameter of the LSB algorithm
Definition: interval.h:45
Definition: decomp_wlsb.h:77
int d_static_or_irreg8(const uint8_t *const rohc_data, const size_t rohc_len, const int indicator, struct rohc_lsb_field8 *const lsb)
Decompress the 8-bit given value, according to the indicator.
Definition: decomp/schemes/rfc4996.c:53
The Least Significant Bits (LSB) decoding object.
Definition: decomp_wlsb.h:57
Definition: decomp_wlsb.h:86
int d_static_or_irreg16(const uint8_t *const rohc_data, const size_t rohc_len, const int indicator, struct rohc_lsb_field16 *const lsb)
Decompress the 16-bit given value, according to the indicator.
Definition: decomp/schemes/rfc4996.c:88
int d_static_or_irreg32(const uint8_t *const rohc_data, const size_t rohc_len, const int indicator, struct rohc_lsb_field32 *const lsb)
Decompress the 32-bit given value, according to the indicator.
Definition: decomp/schemes/rfc4996.c:133
Window-based Least Significant Bits (W-LSB) decoding.
int d_optional_ip_id_lsb(const struct rohc_decomp_ctxt *const context, const uint8_t *const rohc_data, const size_t data_len, const int behavior, const int indicator, struct rohc_lsb_field16 *const lsb)
Decompress the IP-ID.
Definition: decomp/schemes/rfc4996.c:333
unsigned int rsf_index_dec(const unsigned int rsf_index)
Calculate the rsf flags from the rsf index.
Definition: decomp/schemes/rfc4996.c:245
Definition: decomp_wlsb.h:68
The ROHC decompression context.
Definition: rohc_decomp_internals.h:274
int variable_length_32_dec(const uint8_t *const rohc_data, const size_t rohc_len, const int indicator, struct rohc_lsb_field32 *const lsb)
Decode the 32 bits value, according to the indicator.
Definition: decomp/schemes/rfc4996.c:180
bool d_ip_id_lsb(const struct rohc_decomp_ctxt *const context, const struct rohc_lsb_decode *const ip_id_lsb_ctxt, const uint16_t msn, const uint32_t ip_id_bits, const size_t ip_id_bits_nr, const rohc_lsb_shift_t p, uint16_t *const ip_id)
Decompress the lower bits of IP-ID.
Definition: decomp/schemes/rfc4996.c:280
Compute the interpretation interval for LSB and W-LSB encoding.