ROHC compression/decompression library
esp.h
Go to the documentation of this file.
1 /*
2  * Copyright 2012 Didier Barvaux
3  * Copyright 2009,2010 Thales Communications
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18  */
19 
20 /**
21  * @file esp.h
22  * @brief ESP header description
23  * @author FWX <rohc_team@dialine.fr>
24  * @author Didier Barvaux <didier@barvaux.org>
25  *
26  * See section 2 of RFC 4303 for details.
27  */
28 
29 #ifndef ROHC_PROTOCOLS_ESP_H
30 #define ROHC_PROTOCOLS_ESP_H
31 
32 #include <stdint.h>
33 
34 
35 /**
36  * @brief RTP header
37  *
38  * See section 2 of RFC 4303 for details.
39  */
40 struct esphdr
41 {
42  uint32_t spi; /**< ESP Security Parameters Index (SPI) */
43  uint32_t sn; /**< ESP Sequence Number (SN) */
44 } __attribute__((packed));
45 
46 
47 #endif
48 
uint32_t sn
Definition: esp.h:43
uint32_t spi
Definition: esp.h:42
RTP header.
Definition: esp.h:40