00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef ROHC_COMP_IP_H
00028 #define ROHC_COMP_IP_H
00029
00030 #include "rohc_comp_rfc3095.h"
00031
00032
00033
00034
00035
00036 bool c_ip_check_context(const struct rohc_comp_ctxt *const context,
00037 const struct net_pkt *const packet)
00038 __attribute__((warn_unused_result, nonnull(1, 2), pure));
00039
00040 rohc_packet_t c_ip_decide_FO_packet(const struct rohc_comp_ctxt *context);
00041 rohc_packet_t c_ip_decide_SO_packet(const struct rohc_comp_ctxt *context);
00042
00043 uint32_t c_ip_get_next_sn(const struct rohc_comp_ctxt *const context,
00044 const struct net_pkt *const uncomp_pkt)
00045 __attribute__((warn_unused_result, nonnull(1, 2), pure));
00046
00047 int c_ip_code_ir_remainder(const struct rohc_comp_ctxt *const context,
00048 uint8_t *const dest,
00049 const size_t dest_max_len,
00050 const size_t counter)
00051 __attribute__((warn_unused_result, nonnull(1, 2)));
00052
00053 #endif
00054