Return to encodings.c CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / strongswan / src / libcharon / encoding / payloads |
1.1 misho 1: /* 2: * Copyright (C) 2005-2006 Martin Willi 3: * Copyright (C) 2005 Jan Hutter 4: * HSR Hochschule fuer Technik Rapperswil 5: * 6: * This program is free software; you can redistribute it and/or modify it 7: * under the terms of the GNU General Public License as published by the 8: * Free Software Foundation; either version 2 of the License, or (at your 9: * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>. 10: * 11: * This program is distributed in the hope that it will be useful, but 12: * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 13: * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14: * for more details. 15: */ 16: 17: 18: #include "encodings.h" 19: 20: ENUM(encoding_type_names, U_INT_4, ENCRYPTED_DATA, 21: "U_INT_4", 22: "U_INT_8", 23: "U_INT_16", 24: "U_INT_32", 25: "RESERVED_BIT", 26: "RESERVED_BYTE", 27: "FLAG", 28: "PAYLOAD_LENGTH", 29: "HEADER_LENGTH", 30: "SPI_SIZE", 31: "SPI", 32: "ATTRIBUTE_FORMAT", 33: "ATTRIBUTE_TYPE", 34: "ATTRIBUTE_LENGTH_OR_VALUE", 35: "ATTRIBUTE_LENGTH", 36: "ATTRIBUTE_VALUE", 37: "TS_TYPE", 38: "ADDRESS", 39: "CHUNK_DATA", 40: "IKE_SPI", 41: "ENCRYPTED_DATA", 42: );