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
00029 #ifndef ROHC_DECOMP_TCP_OPTS_LIST_H
00030 #define ROHC_DECOMP_TCP_OPTS_LIST_H
00031
00032 #include "rohc_decomp_internals.h"
00033 #include "d_tcp_defines.h"
00034
00035 #include <stdbool.h>
00036 #include <stdint.h>
00037 #include <stdlib.h>
00038
00039 int d_tcp_parse_tcp_opts_list_item(const struct rohc_decomp_ctxt *const context,
00040 const uint8_t *const rohc_packet,
00041 const size_t rohc_length,
00042 const bool is_dynamic_chain,
00043 struct d_tcp_opts_ctxt *const tcp_opts)
00044 __attribute__((warn_unused_result, nonnull(1, 2, 5)));
00045
00046 int d_tcp_parse_tcp_opts_irreg(const struct rohc_decomp_ctxt *const context,
00047 const uint8_t *const rohc_packet,
00048 const size_t rohc_length,
00049 struct d_tcp_opts_ctxt *const tcp_opts)
00050 __attribute__((warn_unused_result, nonnull(1, 2, 4)));
00051
00052 bool d_tcp_build_tcp_opts(const struct rohc_decomp_ctxt *const context,
00053 const struct rohc_tcp_decoded_values *const decoded,
00054 struct rohc_buf *const uncomp_packet,
00055 size_t *const opts_len)
00056 __attribute__((warn_unused_result, nonnull(1, 2, 3, 4)));
00057
00058 #endif
00059