ROHC compression/decompression library
c_tcp_static.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_static.h
23  * @brief Handle the static 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_STATIC_H
30 #define ROHC_COMP_TCP_STATIC_H
31 
32 #include "rohc_comp_internals.h"
33 #include "rohc_buf.h"
34 
35 #include <stdint.h>
36 #include <stdlib.h>
37 
38 int tcp_code_static_part(struct rohc_comp_ctxt *const context,
39  const struct rohc_pkt_hdrs *const uncomp_pkt_hdrs,
40  uint8_t *const rohc_pkt,
41  const size_t rohc_pkt_max_len)
42  __attribute__((warn_unused_result, nonnull(1, 2, 3)));
43 
44 #endif /* ROHC_COMP_TCP_STATIC_H */
45 
Define a network buffer for the ROHC library.
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
int tcp_code_static_part(struct rohc_comp_ctxt *const context, const struct rohc_pkt_hdrs *const uncomp_pkt_hdrs, uint8_t *const rohc_pkt, const size_t rohc_pkt_max_len)
Code the static part of an IR packet.
Definition: c_tcp_static.c:72