ROHC compression/decompression library
c_tcp_dynamic.h
Go to the documentation of this file.
1 /*
2  * Copyright 2012,2013,2014,2015,2016 Didier Barvaux
3  * Copyright 2013,2014 Viveris Technologies
4  * Copyright 2012 WBX
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20 
21 /**
22  * @file c_tcp_dynamic.h
23  * @brief Handle the dynamic chain of the TCP compression profile
24  * @author FWX <rohc_team@dialine.fr>
25  * @author Didier Barvaux <didier@barvaux.org>
26  * @author Didier Barvaux <didier.barvaux@toulouse.viveris.com>
27  */
28 
29 #ifndef ROHC_COMP_TCP_DYNAMIC_H
30 #define ROHC_COMP_TCP_DYNAMIC_H
31 
32 #include "rohc_comp_internals.h"
33 #include "rohc_buf.h"
34 #include "c_tcp_defines.h"
35 
36 #include <stdint.h>
37 #include <stdlib.h>
38 
39 int tcp_code_dyn_part(struct rohc_comp_ctxt *const context,
40  const struct rohc_pkt_hdrs *const uncomp_pkt_hdrs,
41  struct tcp_tmp_variables *const tmp,
42  uint8_t *const rohc_pkt,
43  const size_t rohc_pkt_max_len)
44  __attribute__((warn_unused_result, nonnull(1, 2, 3, 4)));
45 
46 #endif /* ROHC_COMP_TCP_DYNAMIC_H */
47 
Define a network buffer for the ROHC library.
Define the TCP-specific temporary variables in the profile compression context.
Definition: c_tcp_defines.h:47
int tcp_code_dyn_part(struct rohc_comp_ctxt *const context, const struct rohc_pkt_hdrs *const uncomp_pkt_hdrs, struct tcp_tmp_variables *const tmp, uint8_t *const rohc_pkt, const size_t rohc_pkt_max_len)
Code the dynamic part of an IR or IR-DYN packet.
Definition: c_tcp_dynamic.c:78
Internal structures for ROHC compression.
The ROHC compression context.
Definition: rohc_comp_internals.h:278
bool nonnull(1)))
The information collected about the packet headers.
Definition: uncomp_pkt_hdrs.h:102
Main definitions for the TCP compression profile.