realtimenetprots/sipfw/SIP/ConnectionMgr/src/CommonConsts.h
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 /*
       
     2 * Copyright (c) 2006-2009 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:
       
    15 * Name          : CommonConsts.h
       
    16 * Part of       : ConnectionMgr
       
    17 * Version       : SIP/5.0
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 /**
       
    25  @internalComponent
       
    26 */
       
    27 
       
    28 
       
    29 #ifndef __COMMONCONSTS_H__
       
    30 #define __COMMONCONSTS_H__
       
    31 
       
    32 
       
    33 const TUint KDefaultSipPort = 5060;
       
    34 
       
    35 const TUint KDefaultSipsPort = 5061;
       
    36 
       
    37 const TInt KMaxUdpMessageSize = 1300;
       
    38 
       
    39 // Maximum UDP message length is 64 kB (RFC 768)
       
    40 const TInt KMaxMessageLength = 64000;
       
    41 
       
    42 const TUint32 KDefaultOwnerId = 0;
       
    43 
       
    44 const TUint KProtocolTls = 31;
       
    45 
       
    46 const TInt KMaxPortValue = 65535;
       
    47 const TInt KMinPortValue = 1;
       
    48 
       
    49 _LIT8( KParamrport, "rport" );
       
    50 
       
    51 
       
    52 #endif // end of __COMMONCONSTS_H__
       
    53 
       
    54 // End of File