2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Attributes for VPN plug-in.
18 #ifndef VPN_PLUGIN_DEF_H
19 #define VPN_PLUGIN_DEF_H
21 #include <cmconnectionmethoddef.h>
23 /** ECOM interface UID */
24 const TUint KPluginVPNBearerTypeUid = 0x10281BBD;
29 VPN specific attributes
31 Note: ECmProxyPortNumber is a common bearer attribute, but its default
32 value varies in the VPN plug-in, where it is 80
34 Note2: VPN, as it is a virtual plugin, does not supports the following
35 common attributes (these are valid only for real bearers):
36 ECmIFName, ECmIFParams,
37 ECmIFNetworks, ECmIFPromptForAuth,
38 ECmIFAuthName, ECmIFAuthPass,
39 ECmIFAuthRetries, ECmIPNetmask,
40 ECmIPGateway, ECmIPAddFromServer,
41 ECmIPAddress, ECmIPDNSAddrFromServer,
42 ECmIPNameServer1, ECmIPNameServer2,
43 ECmIP6DNSAddrFromServer, ECmIP6NameServer1,
44 ECmIP6NameServer2, ECmIPAddrLeaseValidFrom,
45 ECmIPAddrLeaseValidTo, ECmConfigDaemonManagerName,
46 ECmConfigDaemonName, ECmEnableLPCExtension,
47 ECmDisablePlainTextAuth
48 Querying these will leave with KErrNotSupported.
50 enum TConnectionMethodVpnSpecificAttributes
52 EPluginVpnAttribStart = 30000, /**<
53 * Marks the beginning of the VPN
57 EVpnServicePolicyName = 30100, /**<
59 * (String - default: None)
62 EVpnServicePolicy, /**<
64 * (String - default: None)
70 * (TUint32 - default: None)
75 * (TUint32 - default: None - read only)
78 EVpnServiceEnableLLMNR, /**<
80 * (TBool - default: EFalse)
83 EPluginVpnAttribRangeMax = 39999 /**<
84 * Marks the end of the VPN
88 } // namespace CMManager
90 #endif // VPN_PLUGIN_DEF_H