X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FRaw%2FPacketSocketHandle.hh;h=0ee1f8d7f37c52360c6008b134b0800742b19f49;hb=6f50bf49e282c0528f51faa0a245bbfa2b867399;hp=eae839e5ffa15582e629df9b98f043f645fca2d9;hpb=8d2d26f114d3df0a60c5c516fcf40671b1e55558;p=senf.git diff --git a/Socket/Protocols/Raw/PacketSocketHandle.hh b/Socket/Protocols/Raw/PacketSocketHandle.hh index eae839e..0ee1f8d 100644 --- a/Socket/Protocols/Raw/PacketSocketHandle.hh +++ b/Socket/Protocols/Raw/PacketSocketHandle.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" @@ -54,8 +53,7 @@ namespace senf { DatagramFramingPolicy, UnconnectedCommunicationPolicy, ReadablePolicy, - WriteablePolicy, - SocketBufferingPolicy + WriteablePolicy >::policy Packet_Policy; ///< Policy of PacketProtocol /** \brief Raw Packet-Socket access (Linux) @@ -79,9 +77,8 @@ namespace senf { Socket Handle typedefs above. */ class PacketProtocol - : public ConcreteSocketProtocol, - public BSDSocketProtocol, - public senf::pool_alloc_mixin + : public ConcreteSocketProtocol, + public BSDSocketProtocol { public: enum SocketType { RawSocket, DatagramSocket }; @@ -125,12 +122,12 @@ namespace senf { void mcDrop(std::string const & interface, MACAddress const & address) const; ///< Disable reception of a multicast group /**< \see \ref mcAdd() */ + ///@} ///\name Abstract Interface Implementation ///@{ - std::auto_ptr clone() const; unsigned available() const; bool eof() const;