ROHC compression/decompression library
|
00001 /* 00002 * Copyright 2012 Didier Barvaux 00003 * Copyright 2009,2010 Thales Communications 00004 * 00005 * This library is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU Lesser General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2.1 of the License, or (at your option) any later version. 00009 * 00010 * This library is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * Lesser General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU Lesser General Public 00016 * License along with this library; if not, write to the Free Software 00017 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00018 */ 00019 00020 /** 00021 * @file esp.h 00022 * @brief ESP header description 00023 * @author FWX <rohc_team@dialine.fr> 00024 * @author Didier Barvaux <didier@barvaux.org> 00025 * 00026 * See section 2 of RFC 4303 for details. 00027 */ 00028 00029 #ifndef ROHC_PROTOCOLS_ESP_H 00030 #define ROHC_PROTOCOLS_ESP_H 00031 00032 #include <stdint.h> 00033 00034 00035 /** 00036 * @brief RTP header 00037 * 00038 * See section 2 of RFC 4303 for details. 00039 */ 00040 struct esphdr 00041 { 00042 uint32_t spi; /**< ESP Security Parameters Index (SPI) */ 00043 uint32_t sn; /**< ESP Sequence Number (SN) */ 00044 } __attribute__((packed)); 00045 00046 00047 #endif