X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FRaw%2FTunTapSocketHandle.hh;h=844ab34d3b56802b6544b71fbebf2b1af050a23d;hb=6f50bf49e282c0528f51faa0a245bbfa2b867399;hp=bbe263fd920560df8da548fde05d5a3915456968;hpb=90ba247d06107cff657ad3e6310f8dde7c808c95;p=senf.git diff --git a/Socket/Protocols/Raw/TunTapSocketHandle.hh b/Socket/Protocols/Raw/TunTapSocketHandle.hh index bbe263f..844ab34 100644 --- a/Socket/Protocols/Raw/TunTapSocketHandle.hh +++ b/Socket/Protocols/Raw/TunTapSocketHandle.hh @@ -1,9 +1,9 @@ // $Id:PacketSocketHandle.hh 218 2007-03-20 14:39:32Z tho $ // // Copyright (C) 2006 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) -// Stefan Bund +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY +// Stefan Bund // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -36,7 +36,6 @@ #include "../../../Socket/FramingPolicy.hh" #include "../../../Socket/CommunicationPolicy.hh" #include "../../../Socket/ReadWritePolicy.hh" -#include "../../../Socket/BufferingPolicy.hh" #include "../../../Socket/Protocols/BSDSocketProtocol.hh" #include "LLAddressing.hh" @@ -52,10 +51,9 @@ namespace senf { typedef MakeSocketPolicy< NoAddressingPolicy, DatagramFramingPolicy, - UnconnectedCommunicationPolicy, + ConnectedCommunicationPolicy, ReadablePolicy, - WriteablePolicy, - SocketBufferingPolicy + WriteablePolicy >::policy Tap_Policy; ///< Policy for TAP /** \brief TAP @@ -75,9 +73,8 @@ namespace senf { Socket Handle typedefs above. */ class TapProtocol - : public ConcreteSocketProtocol, - public BSDSocketProtocol, - public senf::pool_alloc_mixin + : public ConcreteSocketProtocol, + public BSDSocketProtocol { public: ///\name Constructors @@ -101,7 +98,6 @@ namespace senf { ///\name Abstract Interface Implementation ///@{ - std::auto_ptr clone() const; unsigned available() const; bool eof() const;