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
00028 #ifndef ROHC_DECOMP_IP_H
00029 #define ROHC_DECOMP_IP_H
00030
00031 #include "rohc_decomp_rfc3095.h"
00032
00033
00034
00035
00036
00037
00038 rohc_packet_t ip_detect_packet_type(const struct rohc_decomp_ctxt *const context,
00039 const uint8_t *const rohc_packet,
00040 const size_t rohc_length,
00041 const size_t large_cid_len)
00042 __attribute__((warn_unused_result, nonnull(1, 2)));
00043
00044 int ip_parse_dynamic_ip(const struct rohc_decomp_ctxt *const context,
00045 const uint8_t *packet,
00046 const size_t length,
00047 struct rohc_extr_bits *const bits)
00048 __attribute__((warn_unused_result, nonnull(1, 2, 4)));
00049
00050 int ip_parse_ext3(const struct rohc_decomp_ctxt *const context,
00051 const uint8_t *const rohc_data,
00052 const size_t rohc_data_len,
00053 const rohc_packet_t packet_type,
00054 struct rohc_extr_bits *const bits)
00055 __attribute__((warn_unused_result, nonnull(1, 2, 5)));
00056
00057 int parse_outer_header_flags(const struct rohc_decomp_ctxt *const context,
00058 const uint8_t *const flags,
00059 const uint8_t *fields,
00060 const size_t length,
00061 struct rohc_extr_ip_bits *const bits)
00062 __attribute__((warn_unused_result, nonnull(1, 2, 3, 5)));
00063
00064 int parse_inner_header_flags(const struct rohc_decomp_ctxt *const context,
00065 const uint8_t *const flags,
00066 const uint8_t *fields,
00067 const size_t length,
00068 struct rohc_extr_ip_bits *const bits)
00069 __attribute__((warn_unused_result, nonnull(1, 2, 3, 5)));
00070
00071 #endif
00072