telephonyprotocols/rawipnif/inc/Constants.h
branchRCL_3
changeset 16 fe8b59ab9fa0
parent 15 fc69e1e37771
child 17 3f227a47ad75
equal deleted inserted replaced
15:fc69e1e37771 16:fe8b59ab9fa0
     1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    50 	/** Bca in unkonwn State */
    50 	/** Bca in unkonwn State */
    51 	KBcaUnkownState,
    51 	KBcaUnkownState,
    52 	/** BCA not exist*/
    52 	/** BCA not exist*/
    53 	KBcaNotExist,
    53 	KBcaNotExist,
    54     /** BCA not exist*/
    54     /** BCA not exist*/
    55     KBcaAlreadyExists
    55     KBcaAlreadyExists,
       
    56     /** invalid packet size on uplink */
       
    57     KFlowInvalidULPacketSize
    56     };
    58     };
    57 
    59 
    58 
    60 
    59 const TUint16 KIp4FrameType = 0x21;
    61 const TUint16 KIp4FrameType = 0x21;
    60 const TUint16 KVanJacCompTCPIPFrameType = 0x2d;
    62 const TUint16 KVanJacCompTCPIPFrameType = 0x2d;
    67 const TUint KDataPacketMaxSize = 4096;
    69 const TUint KDataPacketMaxSize = 4096;
    68 
    70 
    69 // BTT TSY contants
    71 // BTT TSY contants
    70 const TInt KTsyPhone = 0;
    72 const TInt KTsyPhone = 0;
    71 
    73 
    72 // Flow control constants
       
    73 const TInt KStopSending		= 0;
       
    74 const TInt KContinueSending	= 1;
       
    75 
       
    76 _LIT(KRawIPNifName, "RawIP");
    74 _LIT(KRawIPNifName, "RawIP");
    77 
    75 
    78 // constants for diagnostic logging
    76 // constants for diagnostic logging
    79 _LIT8(KNifSubDir, "RawIp"); 
    77 _LIT8(KNifSubDir, "RawIp"); 
    80 _LIT8(KRefFile, "RawIP"); 
    78 _LIT8(KRefFile, "RawIP");