27 #ifndef ROHC_COMP_IP_H 28 #define ROHC_COMP_IP_H 37 __attribute__((warn_unused_result,
nonnull(1)));
39 __attribute__((warn_unused_result,
nonnull(1)));
42 const struct rohc_pkt_hdrs *
const uncomp_pkt_hdrs __attribute__((unused)))
43 __attribute__((warn_unused_result,
nonnull(1, 2), pure));
47 const size_t dest_max_len,
49 __attribute__((warn_unused_result,
nonnull(1, 2)));
Generic framework for RFC3095-based compression profiles such as IP-only, UDP, UDP-Lite, ESP, and RTP profiles.
The ROHC compression context.
Definition: rohc_comp_internals.h:278
rohc_packet_t c_ip_decide_FO_packet(const struct rohc_comp_ctxt *const context)
Decide which packet to send when in First Order (FO) state.
Definition: c_ip.c:105
The information collected about the packet headers.
Definition: uncomp_pkt_hdrs.h:102
uint32_t c_ip_get_next_sn(const struct rohc_comp_ctxt *const context, const struct rohc_pkt_hdrs *const uncomp_pkt_hdrs)
Determine the SN value for the next packet.
Definition: c_ip.c:281
int c_ip_code_ir_remainder(const struct rohc_comp_ctxt *const context, uint8_t *const dest, const size_t dest_max_len, const size_t counter)
Code the remainder header for the IR or IR-DYN packets.
Definition: c_ip.c:323
rohc_packet_t c_ip_decide_SO_packet(const struct rohc_comp_ctxt *const context)
Decide which packet to send when in Second Order (SO) state.
Definition: c_ip.c:157
rohc_packet_t
The different types of ROHC packets.
Definition: rohc_packets.h:55