27 #ifndef ROHC_COMP_IP_H
28 #define ROHC_COMP_IP_H
37 const struct net_pkt *
const packet)
38 __attribute__((warn_unused_result, nonnull(1, 2), pure));
44 const struct net_pkt *
const uncomp_pkt)
45 __attribute__((warn_unused_result, nonnull(1, 2), pure));
49 const size_t dest_max_len,
51 __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.
bool c_ip_check_context(const struct rohc_comp_ctxt *const context, const struct net_pkt *const packet)
Check if an IP packet belongs to the context.
Definition: c_ip.c:115
The ROHC compression context.
Definition: rohc_comp_internals.h:306
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:311
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:239
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:468
rohc_packet_t
The different types of ROHC packets.
Definition: rohc_packets.h:49
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:425