enum names for ietf_attr_t
[strongswan.git] / src / libimcv / ietf / ietf_attr.h
1 /*
2 * Copyright (C) 2011 Andreas Steffen
3 * HSR Hochschule fuer Technik Rapperswil
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; either version 2 of the License, or (at your
8 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 * for more details.
14 */
15
16 /**
17 * @defgroup ietf_attrt ietf_attr
18 * @{ @ingroup ietf_attr
19 */
20
21 #ifndef IETF_ATTR_H_
22 #define IETF_ATTR_H_
23
24 #include <library.h>
25
26 typedef enum ietf_attr_t ietf_attr_t;
27
28 /**
29 * IETF standard PA-TNC attribute types defined by RFC 5792
30 */
31 enum ietf_attr_t {
32 IETF_ATTR_TESTING = 0,
33 IETF_ATTR_ATTRIBUTE_REQUEST = 1,
34 IETF_ATTR_PRODUCT_INFORMATION = 2,
35 IETF_ATTR_NUMERIC_VERSION = 3,
36 IETF_ATTR_STRING_VERSION = 4,
37 IETF_ATTR_OPERATIONAL_STATUS = 5,
38 IETF_ATTR_PORT_FILTER = 6,
39 IETF_ATTR_INSTALLED_PACKAGES = 7,
40 IETF_ATTR_PA_TNC_ERROR = 8,
41 IETF_ATTR_ASSESSMENT_RESULT = 9,
42 IETF_ATTR_REMEDIATION_INSTRUCTIONS = 10,
43 IETF_ATTR_FORWARDING_ENABLED = 11,
44 IETF_ATTR_FACTORY_DEFAULT_PWD_ENABLED = 12,
45 IETF_ATTR_RESERVED = 0xffffffff,
46 };
47
48 /**
49 * enum name for ietf_attr_t.
50 */
51 extern enum_name_t *ietf_attr_names;
52
53 #endif /** IETF_ATTR_H_ @}*/