Annotation of embedaddon/strongswan/src/libtncif/tncif_names.c, revision 1.1.1.1

1.1       misho       1: /*
                      2:  * Copyright (C) 2010-2015 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: #include "tncif.h"
                     17: #include "tncifimv.h"
                     18: #include "tncif_names.h"
                     19: 
                     20: ENUM(TNC_Connection_State_names,
                     21:         TNC_CONNECTION_STATE_CREATE, TNC_CONNECTION_STATE_DELETE,
                     22:        "Create",
                     23:        "Handshake",
                     24:        "Allowed",
                     25:        "Isolated",
                     26:        "None",
                     27:        "Delete",
                     28: );
                     29: 
                     30: ENUM(TNC_IMV_Action_Recommendation_names,
                     31:        TNC_IMV_ACTION_RECOMMENDATION_ALLOW,
                     32:        TNC_IMV_ACTION_RECOMMENDATION_NO_RECOMMENDATION,
                     33:        "allow",
                     34:        "no access",
                     35:        "isolate",
                     36:        "no recommendation"
                     37: );
                     38: 
                     39: ENUM(TNC_IMV_Evaluation_Result_names,
                     40:        TNC_IMV_EVALUATION_RESULT_COMPLIANT,
                     41:        TNC_IMV_EVALUATION_RESULT_DONT_KNOW,
                     42:        "compliant",
                     43:        "non-compliant minor",
                     44:        "non-compliant major",
                     45:        "error",
                     46:        "don't know"
                     47: );
                     48: 
                     49: ENUM(TNC_Identity_names,
                     50:        TNC_ID_UNKNOWN,
                     51:        TNC_ID_X500_DN,
                     52:        "unknown",
                     53:        "IPv4 address",
                     54:        "IPv6 address",
                     55:        "FQDN",
                     56:        "email address",
                     57:        "username",
                     58:        "X.500 DN"
                     59: );
                     60: 
                     61: ENUM(TNC_Subject_names,
                     62:        TNC_SUBJECT_UNKNOWN,
                     63:        TNC_SUBJECT_USER,
                     64:        "unknown",
                     65:        "machine",
                     66:        "user"
                     67: );
                     68: 
                     69: ENUM(TNC_Authentication_names,
                     70:        TNC_AUTH_UNKNOWN,
                     71:        TNC_AUTH_SIM,
                     72:        "unknown method",
                     73:        "certificate",
                     74:        "password",
                     75:        "SIM card"
                     76: );

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>