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 __attribute__((warn_unused_result, nonnull(1, 2), pure));
49 const uint8_t *next_header,
52 __attribute__((warn_unused_result, nonnull(1, 2, 3)));
55 const uint8_t *
const next_header,
58 __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:433
The ROHC compressor.
Definition: rohc_comp_internals.h:121
Internal structures for ROHC compression.
The ROHC compression context.
Definition: rohc_comp_internals.h:306
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:474
bool c_udp_check_context(const struct rohc_comp_ctxt *context, const struct net_pkt *const packet)
Check if the IP/UDP packet belongs to the context.
Definition: c_udp.c:283
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:216