ROHC compression/decompression library
d_udp.h
Go to the documentation of this file.
1 /*
2  * Copyright 2012,2013 Didier Barvaux
3  * Copyright 2007,2008 Thales Alenia Space
4  * Copyright 2007,2009,2010,2012 Viveris Technologies
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 d_udp.h
23  * @brief ROHC decompression context for the UDP profile.
24  * @author Didier Barvaux <didier.barvaux@toulouse.viveris.com>
25  * @author Didier Barvaux <didier@barvaux.org>
26  */
27 
28 #ifndef ROHC_DECOMP_UDP_H
29 #define ROHC_DECOMP_UDP_H
30 
31 #include "rohc_decomp_rfc3095.h"
32 
33 int udp_parse_static_udp(const struct rohc_decomp_ctxt *const context,
34  const uint8_t *packet,
35  size_t length,
36  struct rohc_extr_bits *const bits)
37  __attribute__((warn_unused_result, nonnull(1, 2, 4)));
38 
39 #endif
40 
The bits extracted from ROHC UO* base headers.
Definition: rohc_decomp_rfc3095.h:113
int udp_parse_static_udp(const struct rohc_decomp_ctxt *const context, const uint8_t *packet, size_t length, struct rohc_extr_bits *const bits)
Parse the UDP static part of the ROHC packet.
Definition: d_udp.c:246
The ROHC decompression context.
Definition: rohc_decomp_internals.h:274