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)));
58 __attribute__((warn_unused_result,
const));
64 const uint32_t ip_id_bits,
65 const size_t ip_id_bits_nr,
67 uint16_t *
const ip_id)
68 __attribute__((warn_unused_result, nonnull(1, 2, 7)));
72 const uint8_t *
const rohc_data,
73 const size_t data_len,
77 __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:42
Definition: decomp_wlsb.h:66
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:55
The Least Significant Bits (LSB) decoding object.
Definition: decomp_wlsb.c:45
Definition: decomp_wlsb.h:75
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:90
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:290
unsigned int rsf_index_dec(const unsigned int rsf_index)
Calculate the rsf flags from the rsf index.
Definition: decomp/schemes/rfc4996.c:202
Definition: decomp_wlsb.h:57
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:137
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:237
Compute the interpretation interval for LSB and W-LSB encoding.