tcpiputils/tun/inc/tunfamily.h
branchRCL_3
changeset 63 425d8f4f7fa5
equal deleted inserted replaced
58:8d540f55e491 63:425d8f4f7fa5
       
     1 // Copyright (c) 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 //
       
    15 
       
    16 /**
       
    17  @file 
       
    18  @internalComponent
       
    19 */
       
    20 
       
    21 
       
    22 #ifndef __TUNFAMILY_H__
       
    23 #define __TUNFAMILY_H__
       
    24 
       
    25 #include <in_bind.h>
       
    26 
       
    27 class CProtocolFamilyTun : public CProtocolFamilyBase
       
    28 /**  
       
    29 * Class is derived from CProtocolFamilyBase.
       
    30 * This will Install Protocol Family and load new protocol module tun.
       
    31 * Implements virtual functions of base class CProtocolFamilyBase( Install, remove)
       
    32 * 
       
    33 **/ 
       
    34     {
       
    35 public:
       
    36     CProtocolFamilyTun();
       
    37     ~CProtocolFamilyTun();
       
    38     TInt Install();
       
    39     TInt Remove();
       
    40     TUint ProtocolList(TServerProtocolDesc *& aProtocolList);
       
    41     CProtocolBase* NewProtocolL(TUint /*aSockType*/, TUint aProtocol);
       
    42     };
       
    43     
       
    44 #endif  //__TUNFAMILY_H__