ipcm_pub/connection_settings_api/inc/cmplugintundriverdef.h
branchRCL_3
changeset 69 cf1b3ddbe9a1
parent 65 14754bf06654
child 75 dd7f31e692c1
equal deleted inserted replaced
65:14754bf06654 69:cf1b3ddbe9a1
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: Attributes for TUN Driver plug-in.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CMPLUGINTUNDRIVER_DEF_H
       
    20 #define CMPLUGINTUNDRIVER_DEF_H
       
    21 
       
    22 #include <cmconnectionmethoddef.h>
       
    23 const TUint KPluginTUNDriverBearerTypeUid = 0x20027F3F;
       
    24 
       
    25 namespace CMManager
       
    26     {
       
    27     /** LAN specific connection method attributes */
       
    28     enum TConnectionMethodTUNDriverSpecificAttributes
       
    29         {
       
    30 		ETUNDriverSpecificAttributes = 20000,
       
    31         
       
    32         /**
       
    33         * Comma separated list of network protocols, e.g. "PPP".
       
    34         * ( String - default: None)
       
    35         */
       
    36         ETUNDriverIfNetworks = KLanBaseIfNetworks,
       
    37         
       
    38         /**
       
    39         * IP net mask of interface.
       
    40         * ( String - default: None)
       
    41         */        
       
    42         ETUNDriverIpNetMask,
       
    43 
       
    44         /**
       
    45         * IP address of gateway
       
    46         * ( String - default: None)
       
    47         */
       
    48         ETUNDriverIpGateway,
       
    49 
       
    50         /**
       
    51         * Get IP addresses (for EPOC) from server?
       
    52         * ( TBool - default: None)
       
    53         */
       
    54         ETUNDriverIpAddrFromServer,
       
    55 
       
    56         /**
       
    57         * IP address of EPOC.
       
    58         * ( String - default: None)
       
    59         */
       
    60         ETUNDriverIpAddr,
       
    61 
       
    62         /**
       
    63         * Get DNS addresses from server?
       
    64         * ( TBool - default: None)
       
    65         */
       
    66         ETUNDriverIpDNSAddrFromServer,
       
    67 
       
    68         /**
       
    69         * IP Address of primary name server.
       
    70         * ( String - default: None)
       
    71         */
       
    72         ETUNDriverIpNameServer1,
       
    73 
       
    74         /**
       
    75         * IP Address of secondary name server.
       
    76         * ( String - default: None)
       
    77         */
       
    78         ETUNDriverIpNameServer2,
       
    79 
       
    80         /**
       
    81         * Get IP6 DNS addresses from server?
       
    82         * ( TBool - default: None)
       
    83         */
       
    84         ETUNDriverIp6DNSAddrFromServer,
       
    85 
       
    86         /**
       
    87         * IP6 Address of primary name server.
       
    88         * ( String - default: None)
       
    89         */
       
    90         ETUNDriverIp6NameServer1,
       
    91 
       
    92         /**
       
    93         * IP6 Address of secondary name server.
       
    94         * ( String - default: None)
       
    95         */
       
    96         ETUNDriverIp6NameServer2,
       
    97 
       
    98         /**
       
    99         * IP address valid from this time, used to store 
       
   100         * dynamically assigned address lease info.
       
   101         * ( String - default: None)
       
   102         */
       
   103         ETUNDriverIpAddrLeaseValidFrom,
       
   104 
       
   105         /**
       
   106         * IP address valid for use until this time, used to store .
       
   107         * dynamically assigned address lease info.
       
   108         * ( String - default: None)
       
   109         */
       
   110         ETUNDriverIpAddrLeaseValidTo,
       
   111 
       
   112         /**
       
   113         * Name of the ECOM configuration daemon manager component. 
       
   114         * This component interfaces with the server identified in 
       
   115         * ISP_CONFIG_DAEMON_NAME. If specified, ISP_CONFIG_DAEMON_NAME 
       
   116         * should also be specified. 
       
   117         * ( String - default: None)
       
   118         */
       
   119         ETUNDriverConfigDaemonManagerName,
       
   120 
       
   121         /**
       
   122         * Name of the configuration daemon server. 
       
   123         * This server is used to provide further configuration for 
       
   124         * a connection, e.g. dynamic IP address assignment. 
       
   125         * If specified, ISP_CONFIG_DAEMON_MANAGER_NAME should also 
       
   126         * be specified.
       
   127         * ( String - default: None)
       
   128         */
       
   129         ETUNDriverConfigDaemonName,
       
   130 
       
   131         /**
       
   132         * Name of the TUN Driver Service Extension table.
       
   133         * ( String - default: None)
       
   134         */
       
   135         ETUNDriverServiceExtensionTableName,
       
   136 
       
   137         /**
       
   138         * The record ID of the linked TUN Driver Service Extension record in the
       
   139         * TUN Driver Service Extension table.
       
   140         * ( TUint32 - default: None)
       
   141         */
       
   142         ETUNDriverServiceExtensionTableRecordId,
       
   143 
       
   144         ETUNDriverRangeMax = KLanBaseRangeMax
       
   145         };
       
   146     } // namespace CMManager
       
   147 
       
   148 #endif // CMPLUGINTUNDRIVER_DEF_H