X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FRaw%2FPacketSocketHandle.hh;h=95c998065f855d4b06b799e78a8d9e44fa676ae5;hb=cd019de7e5d80122a302577c1907e2a952249260;hp=873b7ef5a3f8cb4b6cd3bfb6dd922744698f434e;hpb=6552846c4405011ceea544daca2f51799e9aa387;p=senf.git diff --git a/Socket/Protocols/Raw/PacketSocketHandle.hh b/Socket/Protocols/Raw/PacketSocketHandle.hh index 873b7ef..95c9980 100644 --- a/Socket/Protocols/Raw/PacketSocketHandle.hh +++ b/Socket/Protocols/Raw/PacketSocketHandle.hh @@ -41,7 +41,7 @@ #include "LLAddressing.hh" //#include "PacketSocketHandle.mpp" -#include "PacketSocketHandle.ih" +//#include "PacketSocketHandle.ih" ///////////////////////////////hh.p//////////////////////////////////////// namespace senf { @@ -114,24 +114,15 @@ namespace senf { ///\name Protocol Interface ///@{ - // See LLSocketAddress for a discussion/rationale for ForwardRange here - template - void mcAdd(std::string interface, ForwardRange const & address) const; + void mcAdd(std::string const & interface, MACAddress const & address) const; ///< Enable reception of a multicast group - /**< mcAdd will join a new multicast group. The address - parameter is specified as an arbitrary forward range - (see Boost.Range) - of up to 8 bytes. This allows to initialize the - address from an arbitrary sources without excessive - copying. + /**< mcAdd will join a new multicast group. \param[in] interface interface with which to join \param[in] address multicast address to join \see \ref LLSocketAddress */ - template - void mcDrop(std::string interface, ForwardRange const & address) const; + void mcDrop(std::string const & interface, MACAddress const & address) const; ///< Disable reception of a multicast group /**< \see \ref mcAdd() */ ///@} @@ -144,11 +135,6 @@ namespace senf { bool eof() const; ///@} - - private: - template - void do_mc(std::string interface, ForwardRange const & address, bool add) const; - void do_mc_i(std::string interface, detail::LLAddressCopier const & copier, bool add) const; }; typedef ProtocolClientSocketHandle PacketSocketHandle; @@ -160,8 +146,8 @@ namespace senf { ///////////////////////////////hh.e//////////////////////////////////////// //#include "PacketSocketHandle.cci" -#include "PacketSocketHandle.ct" -#include "PacketSocketHandle.cti" +//#include "PacketSocketHandle.ct" +//#include "PacketSocketHandle.cti" //#include "PacketSocketHandle.mpp" #endif