27 #ifndef ROHC_COMP_UDP_H 28 #define ROHC_COMP_UDP_H 41 const struct net_pkt *
const packet)
42 __attribute__((warn_unused_result, nonnull(1, 2)));
45 const struct net_pkt *
const packet,
46 size_t *
const cr_score)
47 __attribute__((warn_unused_result, nonnull(1, 2, 3)));
50 const uint8_t *next_header,
53 __attribute__((warn_unused_result, nonnull(1, 2, 3)));
56 const uint8_t *
const next_header,
59 __attribute__((warn_unused_result, nonnull(1, 2, 3)));
size_t udp_code_uo_remainder(const struct rohc_comp_ctxt *context, const uint8_t *next_header, uint8_t *const dest, const size_t counter)
Build UDP-related fields in the tail of the UO packets.
Definition: c_udp.c:429
The ROHC compressor.
Definition: rohc_comp_internals.h:129
Internal structures for ROHC compression.
The ROHC compression context.
Definition: rohc_comp_internals.h:326
size_t udp_code_static_udp_part(const struct rohc_comp_ctxt *const context, const uint8_t *const next_header, uint8_t *const dest, const size_t counter)
Build the static part of the UDP header.
Definition: c_udp.c:470
bool c_udp_check_context(const struct rohc_comp_ctxt *context, const struct net_pkt *const packet, size_t *const cr_score)
Check if the IP/UDP packet belongs to the context.
Definition: c_udp.c:279
bool c_udp_check_profile(const struct rohc_comp *const comp, const struct net_pkt *const packet)
Check if the given packet corresponds to the UDP profile.
Definition: c_udp.c:214