4 * @brief Generic payload interface
10 * Copyright (C) 2005 Jan Hutter, Martin Willi
11 * Hochschule fuer Technik Rapperswil
13 * This program is free software; you can redistribute it and/or modify it
14 * under the terms of the GNU General Public License as published by the
15 * Free Software Foundation; either version 2 of the License, or (at your
16 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
18 * This program is distributed in the hope that it will be useful, but
19 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
20 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
40 * build the mappings for payload_type_t
42 mapping_t payload_type_t_mappings
[] = {
43 {NO_PAYLOAD
, "NO_PAYLOAD"},
44 {SECURITY_ASSOCIATION
, "SECURITY_ASSOCIATION"},
45 {KEY_EXCHANGE
, "KEY_EXCHANGE"},
46 {ID_INITIATOR
, "ID_INITIATOR"},
47 {ID_RESPONDER
, "ID_RESPONDER"},
48 {CERTIFICATE
, "CERTIFICATE"},
49 {CERTIFICATE_REQUEST
, "CERTIFICATE_REQUEST"},
50 {AUTHENTICATION
, "AUTHENTICATION"},
54 {VENDOR_ID
, "VENDOR_ID"},
55 {TRAFFIC_SELECTOR_INITIATOR
, "TRAFFIC_SELECTOR_INITIATOR"},
56 {TRAFFIC_SELECTOR_RESPONDER
, "TRAFFIC_SELECTOR_RESPONDER"},
57 {ENCRYPTED
, "ENCRYPTED"},
58 {CONFIGURATION
, "CONFIGURATION"},
59 {EXTENSIBLE_AUTHENTICATION
, "EXTENSIBLE_AUTHENTICATION"},