X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FPacketSocketHandle.hh;h=1f2eb0f3341cc82d3b2fe557668c13bdf33b2309;hb=52a1b4f399650138cdd7f5e111200ac5f6702be3;hp=1acde96168c15b52c4cae278e96f33c40d53244a;hpb=49f2e00bdc4014b34361a0830e7ec365844ee67a;p=senf.git diff --git a/Socket/PacketSocketHandle.hh b/Socket/PacketSocketHandle.hh index 1acde96..1f2eb0f 100644 --- a/Socket/PacketSocketHandle.hh +++ b/Socket/PacketSocketHandle.hh @@ -22,6 +22,8 @@ /** \file \brief PacketProtocol and PacketSocketHandle public header + + \todo Implement global promisc() helper based on ioctl() interface. */ #ifndef HH_PacketSocketHandle_ @@ -83,8 +85,6 @@ namespace senf { public: enum SocketType { RawSocket, DatagramSocket }; ///< Socket types - enum PromiscMode { Promiscuous, AllMulticast, None }; - ///< Interface modes ///\name Constructors ///@{ @@ -112,23 +112,6 @@ namespace senf { ///\name Protocol Interface ///@{ - void promisc(std::string interface, PromiscMode mode) const; - ///< Change interface mode - /**< This member will change the reception on the given - interface. The modes available are - -
-
None
No special mode set. Only receive - packets addressed to the interface or of joined - multicast groups
-
AllMulticast
Additionally receive all - multicast traffic
-
Promiscuous
Receive all packets on the - wire
-
- - \param[in] interface interface to modify - \param[in] mode new interface mode */ // See LLSocketAddress for a discussion/rationale for ForwardRange here template @@ -188,4 +171,5 @@ namespace senf { // c-file-style: "senf" // indent-tabs-mode: nil // ispell-local-dictionary: "american" +// compile-command: "scons -u test" // End: