telephonyprotocols/rawipnif/src/rawipnif_const.cpp
changeset 73 70d75957b98f
equal deleted inserted replaced
69:b982c3e940f3 73:70d75957b98f
       
     1 // Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // This file implements patchable constants for rawip
       
    15 //
       
    16 
       
    17 /**
       
    18  @file
       
    19 */
       
    20 
       
    21 #include <e32def.h>
       
    22 #include <Constants.h>
       
    23 #include <rawip_const.h>
       
    24 
       
    25 #ifdef __EABI__
       
    26 namespace RawIPConst {
       
    27     // Patch data is used and KMtuIPv4 and KRMtuIPv4 can be modified to a different value in RawIpNif.iby file
       
    28     extern const TInt KMtuIPv4 = KDefaultMtu;
       
    29     extern const TInt KRMtuIPv4 = KDefaultMtu;
       
    30     
       
    31     // Patch data is used and KMtuIPv6 and KRMtuIPv6 can be modified to a different value in RawIpNif.iby file
       
    32     extern const TInt KMtuIPv6 = KDefaultMtu;
       
    33     extern const TInt KRMtuIPv6 = KDefaultMtu;
       
    34     
       
    35     extern const TUint KDefaultSendQueueSize=5;
       
    36     
       
    37     // Patch data is used and KMaxTxIPPacketSize and KMaxRxIPPacketSize can be modified to a different value in RawIpNif.iby file
       
    38     extern const TInt KMaxSendQueueLen = KDefaultSendQueueSize;
       
    39     extern const TInt KMaxTxIPPacketSize = KMaxIPPacket + KIPTagHeaderLength;
       
    40     extern const TInt KMaxRxIPPacketSize = KMaxIPPacket + KIPTagHeaderLength;
       
    41 };
       
    42 
       
    43 #endif
       
    44