diff -r 8d540f55e491 -r 425d8f4f7fa5 tcpiputils/tun/inc/tunfamily.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tcpiputils/tun/inc/tunfamily.h Wed Sep 15 00:18:51 2010 +0300 @@ -0,0 +1,44 @@ +// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +/** + @file + @internalComponent +*/ + + +#ifndef __TUNFAMILY_H__ +#define __TUNFAMILY_H__ + +#include + +class CProtocolFamilyTun : public CProtocolFamilyBase +/** +* Class is derived from CProtocolFamilyBase. +* This will Install Protocol Family and load new protocol module tun. +* Implements virtual functions of base class CProtocolFamilyBase( Install, remove) +* +**/ + { +public: + CProtocolFamilyTun(); + ~CProtocolFamilyTun(); + TInt Install(); + TInt Remove(); + TUint ProtocolList(TServerProtocolDesc *& aProtocolList); + CProtocolBase* NewProtocolL(TUint /*aSockType*/, TUint aProtocol); + }; + +#endif //__TUNFAMILY_H__