--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/natplugins/natpcliprovisioningnatfwadapter/inc/natfwdefaults.h Tue Feb 02 01:04:58 2010 +0200
@@ -0,0 +1,60 @@
+/*
+* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Holds default values for NAT/FW Traversal adapter.
+*
+*/
+
+
+#include <e32base.h>
+
+// Common defaults.
+const TInt KDefaultUDPRefreshInterval = 28; // seconds
+const TInt KDefaultTCPRefreshInterval = 1200; // seconds (20 minutes)
+
+// IAP specific defaults.
+const TInt KDefaultSTUNRetransmitTimer = 250; // milliseconds
+
+// Domain specific defaults.
+const TInt KDefaultSTUNPort = 3478;
+const TInt KDefaultCRLFRefreshInterval = 0;
+const TInt KDefaultDisableStunSharedSecret = 0;
+_LIT8( KDefaultNatProtocol, "nokia.stun" );
+const TInt KDefaultStartPort = 49152; // TODO: selvitettävä!
+const TInt KDefaultEndPort = 49200; // TODO: selvitettävä!
+// ICE specific defaults.
+_LIT8( KDefaultNatUtilities, "nokia.stun,nokia.turn" );
+const TInt KDefaultHostPref = 126;
+const TInt KDefaultServerReflexivePref = 100;
+const TInt KDefaultRelayPref = 0;
+const TInt KDefaultPeerReflexivePref = 110;
+const TInt KDefaultIPv4Pref = 60;
+const TInt KDefaultIPv6Pref = 40;
+const TInt KDefaultVPNPref = 20;
+const TInt KDefaultUDPPref = 15;
+const TInt KDefaultTCPPref = 6;
+const TInt KDefaultTCPActivePref = 5;
+const TInt KDefaultTCPPassivePref = 2;
+const TInt KDefaultTCPSimultaneousPref = 7;
+// TURN specific defaults.
+_LIT8( KDefaultStunSrvAddr, "" );
+_LIT8( KDefaultTurnSrvAddr, "" );
+const TInt KDefaultTURNPort = 3478;
+
+// Other.
+const TInt KMaxCharsInTUint32 = 10;
+const TInt KNotSet = -1;
+const TInt KNotSaved = -1;
+const TInt KFourKeysInIAPSpecific = 4;
+const TInt KSixKeysInDomainSpecific = 6;
+