27 #ifndef ROHC_COMP_IP_H 28 #define ROHC_COMP_IP_H 37 const struct net_pkt *
const packet,
38 size_t *
const cr_score)
39 __attribute__((warn_unused_result, nonnull(1, 2, 3)));
45 const struct net_pkt *
const uncomp_pkt)
46 __attribute__((warn_unused_result, nonnull(1, 2), pure));
50 const size_t dest_max_len,
52 __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:329
rohc_packet_t c_ip_decide_SO_packet(const struct rohc_comp_ctxt *context)
Decide which packet to send when in Second Order (SO) state.
Definition: c_ip.c:319
rohc_packet_t c_ip_decide_FO_packet(const struct rohc_comp_ctxt *context)
Decide which packet to send when in First Order (FO) state.
Definition: c_ip.c:247
bool c_ip_check_context(const struct rohc_comp_ctxt *const context, const struct net_pkt *const packet, size_t *const cr_score)
Check if an IP packet belongs to the context.
Definition: c_ip.c:114
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:476
rohc_packet_t
The different types of ROHC packets.
Definition: rohc_packets.h:55
uint32_t c_ip_get_next_sn(const struct rohc_comp_ctxt *const context, const struct net_pkt *const uncomp_pkt)
Determine the SN value for the next packet.
Definition: c_ip.c:433