implemented the RFC 5792 PA-TNC protocol and an example IMC/IMV pair
[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 typedef enum ietf_attr_t ietf_attr_t;
25
26 /**
27 * IETF standard PA-TNC attribute types defined by RFC 5792
28 */
29 enum ietf_attr_t {
30 IETF_ATTR_TESTING = 0,
31 IETF_ATTR_ATTRIBUTE_REQUEST = 1,
32 IETF_ATTR_PRODUCT_INFORMATION = 2,
33 IETF_ATTR_NUMERIC_VERSION = 3,
34 IETF_ATTR_STRING_VERSION = 4,
35 IETF_ATTR_OPERATIONAL_STATUS = 5,
36 IETF_ATTR_PORT_FILTER = 6,
37 IETF_ATTR_INSTALLED_PACKAGES = 7,
38 IETF_ATTR_PA_TNC_ERROR = 8,
39 IETF_ATTR_ASSESSMENT_RESULT = 9,
40 IETF_ATTR_REMEDIATION_INSTRUCTIONS = 10,
41 IETF_ATTR_FORWARDING_ENABLED = 11,
42 IETF_ATTR_FACTORY_DEFAULT_PWD_ENABLED = 12,
43 IETF_ATTR_RESERVED = 0xffffffff,
44 };
45
46 #endif /** IETF_ATTR_H_ @}*/