networkprotocols/tcpipv4v6prt/inc/ip6.h
changeset 0 af10295192d8
equal deleted inserted replaced
-1:000000000000 0:af10295192d8
       
     1 // Copyright (c) 2004-2009 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 // ip6.h - IPv6 protocol
       
    15 //
       
    16 
       
    17 
       
    18 
       
    19 /**
       
    20  @internalComponent
       
    21 */
       
    22 #ifndef __IP6_H__
       
    23 #define __IP6_H__
       
    24 
       
    25 #include <es_prot.h>
       
    26 #include <in_sock.h>
       
    27 #include <es_prot_internal.h>
       
    28 
       
    29 //	***
       
    30 //	IP6
       
    31 //	***
       
    32 //	A minimal static interface for setting up the IP6/IP4
       
    33 //	dual stack protocol instances
       
    34 //
       
    35 class CIfManager;
       
    36 class CProtocolInet6Base;
       
    37 class IP6
       
    38 	{
       
    39 public:
       
    40 	// Implemented in PRT...
       
    41 	static CProtocolBase *NewL(CIfManager *aFamily, TInt aVersion = KProtocolInet6Ip);
       
    42 	static void Identify(TServerProtocolDesc &aEntry, TInt aVersion = KProtocolInet6Ip);
       
    43 	// Implemented in SAP (and called from PRT NewSAPL)
       
    44 	static CServProviderBase *NewSAPL(TUint aSockType, CProtocolInet6Base *aProtocol, TInt aId);
       
    45 	};
       
    46 
       
    47 //
       
    48 
       
    49 const TInt  KIP6MaxSockets			= 0; //KUnlimitedSockets;
       
    50 const TUint KIP6ServiceTypeInfo		= ESocketSupport | ETransport | EPreferMBufChains | ENeedMBufs | EUseCanSend;  // | ESocketSupport
       
    51 const TUint KIP6ServiceInfo			= KSIConnectionLess | KSIMessageBased | KSIBroadcast | KSIPeekData | KSIGracefulClose | KSIRequiresOwnerInfo;
       
    52 const TUint KIP6NameServiceInfo		= KNSNameResolution | KNSRequiresConnectionStartup; // | KNSServiceResolution | KNSInfoDatabase;
       
    53 //
       
    54 
       
    55 #endif