| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- /*
- * Copyright (C) 2007-2011 Siemens AG
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
- /*******************************************************************
- *
- * @author Sebastian.Kaebisch.EXT@siemens.com
- * @version 0.5
- * @contact Joerg.Heuer@siemens.com
- *
- ********************************************************************/
- #ifdef __cplusplus
- extern "C" {
- #endif
- #ifndef V2GTP_H_
- #define V2GTP_H_
- /* generic V2GTP header length */
- #define V2GTP_HEADER_LENGTH 8
- /* define V2GTP Version */
- #define V2GTP_VERSION 0x01
- #define V2GTP_VERSION_INV 0xFE
- /* define V2GTP payload types*/
- #define V2GTP_EXI_TYPE 0x8001
- int write_v2gtpHeader(uint8_t* outStream, uint16_t* outStreamLength, uint16_t payloadType);
- int read_v2gtpHeader(uint8_t* inStream, uint16_t inStreamLength, uint16_t* payloadLength);
- #endif /* V2GTP_H_ */
- #ifdef __cplusplus
- }
- #endif
|