X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FSocket%2FProtocols%2FRaw%2FPacketSocketHandle.hh;h=c0f48efba1f1bad9dd404c6542a97334375d04ea;hb=9ab6056a616342015eb35d6730d61c45412eec46;hp=35898ac11dcfe0a7f0fb68a9c9ca016e076d6b2b;hpb=601d1f509f5bb24df167a4dd5a20da67a0af9af8;p=senf.git diff --git a/senf/Socket/Protocols/Raw/PacketSocketHandle.hh b/senf/Socket/Protocols/Raw/PacketSocketHandle.hh index 35898ac..c0f48ef 100644 --- a/senf/Socket/Protocols/Raw/PacketSocketHandle.hh +++ b/senf/Socket/Protocols/Raw/PacketSocketHandle.hh @@ -28,24 +28,24 @@ #define HH_SENF_Socket_Protocols_Raw_PacketSocketHandle_ 1 // Custom includes -#include "../../../Socket/SocketPolicy.hh" -#include "../../../Socket/SocketProtocol.hh" -#include "../../../Socket/ProtocolClientSocketHandle.hh" -#include "../../../Socket/FramingPolicy.hh" -#include "../../../Socket/CommunicationPolicy.hh" -#include "../../../Socket/ReadWritePolicy.hh" -#include "../../../Socket/Protocols/BSDSocketProtocol.hh" -#include "../../../Socket/Protocols/DatagramSocketProtocol.hh" +#include +#include +#include +#include +#include +#include +#include +#include #include "LLAddressing.hh" //#include "PacketSocketHandle.mpp" //#include "PacketSocketHandle.ih" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup concrete_protocol_group - /// @{ + //\{ typedef MakeSocketPolicy< LLAddressingPolicy, @@ -84,7 +84,7 @@ namespace senf { ///< Socket types ///\name Constructors - ///@{ + //\{ void init_client(SocketType type = RawSocket, int protocol = -1) const; ///< Create packet socket /**< The new socket will receive all packets of the given @@ -105,10 +105,10 @@ namespace senf { /**< \note This member is implicitly called from the ProtocolClientSocketHandle::ProtocolClientSocketHandle() constructor */ - ///@} + //\} ///\name Protocol Interface - ///@{ + //\{ void mcAdd(std::string const & interface, MACAddress const & address) const; ///< Enable reception of a multicast group @@ -122,28 +122,28 @@ namespace senf { ///< Disable reception of a multicast group /**< \see \ref mcAdd() */ - void promisc(std::string const & interface, bool mode) const; + void promisc(std::string const & interface, bool mode) const; ///< enable/disable promiscuous mode - ///@} + //\} ///\name Abstract Interface Implementation - ///@{ + //\{ unsigned available() const; bool eof() const; - ///@} + //\} }; typedef ProtocolClientSocketHandle PacketSocketHandle; ///< SocketHandle of the PacketSocketProtocol /**< \related PacketPrototol */ - /// @} + //\} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "PacketSocketHandle.cci" //#include "PacketSocketHandle.ct" //#include "PacketSocketHandle.cti"