]> git.ipfire.org Git - thirdparty/strongswan.git/blame - src/libhydra/attributes/attributes.c
refactoring of Mode Config functionality allows transport and handling of any attribute
[thirdparty/strongswan.git] / src / libhydra / attributes / attributes.c
CommitLineData
930443af
AS
1/*
2 * Copyright (C) 2005-2006 Martin Willi
3 * Copyright (C) 2005 Jan Hutter
4 * 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 "attributes.h"
19
58006397 20ENUM_BEGIN(configuration_attribute_type_names, INTERNAL_IP4_ADDRESS, INTERNAL_IP6_PREFIX,
930443af
AS
21 "INTERNAL_IP4_ADDRESS",
22 "INTERNAL_IP4_NETMASK",
23 "INTERNAL_IP4_DNS",
24 "INTERNAL_IP4_NBNS",
25 "INTERNAL_ADDRESS_EXPIRY",
26 "INTERNAL_IP4_DHCP",
27 "APPLICATION_VERSION",
28 "INTERNAL_IP6_ADDRESS",
29 "INTERNAL_IP6_NETMASK",
30 "INTERNAL_IP6_DNS",
31 "INTERNAL_IP6_NBNS",
32 "INTERNAL_IP6_DHCP",
33 "INTERNAL_IP4_SUBNET",
34 "SUPPORTED_ATTRIBUTES",
58006397
AS
35 "INTERNAL_IP6_SUBNET",
36 "MIP6_HOME_PREFIX",
37 "INTERNAL_IP6_LINK",
38 "INTERNAL_IP6_PREFIX");
03b5e4d8
AS
39ENUM_NEXT(configuration_attribute_type_names, XAUTH_TYPE, XAUTH_ANSWER, INTERNAL_IP6_PREFIX,
40 "XAUTH_TYPE",
41 "XAUTH_USER_NAME",
42 "XAUTH_USER_PASSWORD",
43 "XAUTH_PASSCODE",
44 "XAUTH_MESSAGE",
45 "XAUTH_CHALLENGE",
46 "XAUTH_DOMAIN",
47 "XAUTH_STATUS",
48 "XAUTH_NEXT_PIN",
49 "XAUTH_ANSWER");
50ENUM_NEXT(configuration_attribute_type_names, INTERNAL_IP4_SERVER, INTERNAL_IP6_SERVER, XAUTH_ANSWER,
930443af
AS
51 "INTERNAL_IP4_SERVER",
52 "INTERNAL_IP6_SERVER");
03b5e4d8
AS
53ENUM_NEXT(configuration_attribute_type_names, UNITY_BANNER, UNITY_DDNS_HOSTNAME, INTERNAL_IP6_SERVER,
54 "UNITY_BANNER",
55 "UNITY_SAVE_PASSWD",
56 "UNITY_DEF_DOMAIN",
57 "UNITY_SPLITDNS_NAME",
58 "UNITY_SPLIT_INCLUDE",
59 "UNITY_NATT_PORT",
60 "UNITY_LOCAL_LAN",
61 "UNITY_PFS",
62 "UNITY_FW_TYPE",
63 "UNITY_BACKUP_SERVERS",
64 "UNITY_DDNS_HOSTNAME");
65ENUM_END(configuration_attribute_type_names, UNITY_DDNS_HOSTNAME);
930443af 66