Annotation of embedaddon/strongswan/src/libcharon/attributes/attributes.h, revision 1.1

1.1     ! misho       1: /*
        !             2:  * Copyright (C) 2005-2006 Martin Willi
        !             3:  * Copyright (C) 2005 Jan Hutter
        !             4:  * HSR 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:  * @defgroup attributes_g attributes
        !            19:  * @{ @ingroup attributes
        !            20:  */
        !            21: 
        !            22: #ifndef ATTRIBUTES_H_
        !            23: #define ATTRIBUTES_H_
        !            24: 
        !            25: typedef enum configuration_attribute_type_t configuration_attribute_type_t;
        !            26: 
        !            27: #include <utils/utils.h>
        !            28: 
        !            29: /**
        !            30:  * Type of the attribute, as in IKEv2 RFC 3.15.1 or IKEv1 ModeConfig.
        !            31:  */
        !            32: enum configuration_attribute_type_t {
        !            33:        INTERNAL_IP4_ADDRESS    = 1,
        !            34:        INTERNAL_IP4_NETMASK    = 2,
        !            35:        INTERNAL_IP4_DNS        = 3,
        !            36:        INTERNAL_IP4_NBNS       = 4,
        !            37:        INTERNAL_ADDRESS_EXPIRY = 5,
        !            38:        INTERNAL_IP4_DHCP       = 6,
        !            39:        APPLICATION_VERSION     = 7,
        !            40:        INTERNAL_IP6_ADDRESS    = 8,
        !            41:        INTERNAL_IP6_NETMASK    = 9,
        !            42:        INTERNAL_IP6_DNS        = 10,
        !            43:        INTERNAL_IP6_NBNS       = 11,
        !            44:        INTERNAL_IP6_DHCP       = 12,
        !            45:        INTERNAL_IP4_SUBNET     = 13,
        !            46:        SUPPORTED_ATTRIBUTES    = 14,
        !            47:        INTERNAL_IP6_SUBNET     = 15,
        !            48:        MIP6_HOME_PREFIX        = 16,
        !            49:        INTERNAL_IP6_LINK       = 17,
        !            50:        INTERNAL_IP6_PREFIX     = 18,
        !            51:        HOME_AGENT_ADDRESS              = 19,
        !            52:        /* RFC 7651 */
        !            53:        P_CSCF_IP4_ADDRESS              = 20,
        !            54:        P_CSCF_IP6_ADDRESS              = 21,
        !            55:        /* Firewall traversal keep-alive time (TS 24.302 12.6.0) */
        !            56:        FTT_KAT                                 = 22,
        !            57:        /* External NAT endpoint (TS 29.139) */
        !            58:        EXT_SRC_IP4_NAT_INFO    = 23,
        !            59:        /* DPD interval (TS 24.302 13.4.0)*/
        !            60:        TIMEOUT_PERIOD_FOR_DPD  = 24,
        !            61:        /* RFC 8598 */
        !            62:        INTERNAL_DNS_DOMAIN             = 25,
        !            63:        INTERNAL_DNSSEC_TA              = 26,
        !            64:        /* XAUTH attributes */
        !            65:        XAUTH_TYPE              = 16520,
        !            66:        XAUTH_USER_NAME         = 16521,
        !            67:        XAUTH_USER_PASSWORD     = 16522,
        !            68:        XAUTH_PASSCODE          = 16523,
        !            69:        XAUTH_MESSAGE           = 16524,
        !            70:        XAUTH_CHALLENGE         = 16525,
        !            71:        XAUTH_DOMAIN            = 16526,
        !            72:        XAUTH_STATUS            = 16527,
        !            73:        XAUTH_NEXT_PIN          = 16528,
        !            74:        XAUTH_ANSWER            = 16529,
        !            75:        /* proprietary Microsoft attributes */
        !            76:        INTERNAL_IP4_SERVER     = 23456,
        !            77:        INTERNAL_IP6_SERVER     = 23457,
        !            78:        /* proprietary Cisco Unity attributes */
        !            79:        UNITY_BANNER            = 28672,
        !            80:        UNITY_SAVE_PASSWD       = 28673,
        !            81:        UNITY_DEF_DOMAIN        = 28674,
        !            82:        UNITY_SPLITDNS_NAME     = 28675,
        !            83:        UNITY_SPLIT_INCLUDE     = 28676,
        !            84:        UNITY_NATT_PORT         = 28677,
        !            85:        UNITY_LOCAL_LAN         = 28678,
        !            86:        UNITY_PFS               = 28679,
        !            87:        UNITY_FW_TYPE           = 28680,
        !            88:        UNITY_BACKUP_SERVERS    = 28681,
        !            89:        UNITY_DDNS_HOSTNAME     = 28682
        !            90: };
        !            91: 
        !            92: /**
        !            93:  * enum names for configuration_attribute_type_t.
        !            94:  */
        !            95: extern enum_name_t *configuration_attribute_type_names;
        !            96: 
        !            97: /**
        !            98:  * Short enum names for configuration_attribute_type_t.
        !            99:  */
        !           100: extern enum_name_t *configuration_attribute_type_short_names;
        !           101: 
        !           102: 
        !           103: #endif /** ATTRIBUTES_H_ @}*/

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