On Tue, Aug 28, 2001 at 03:18:28PM -0600, David Stevens wrote:
>
> [removed linix-kernel in CC]
>
> SIOCADDMULTI is how you join an IP level multicast group (IP Class D
> addresses 224.0.0.0-239.255.255).
> For lower layer traffic, you'll have to use BPF or something like it. Since
> your host likely won't have that Ethernet
> multicast address in its NIC filter, you'll also want to put the interface
> in promiscuous mode.
Much cleaner and more efficient than promisc mode would be to use the
PACKET_ADD_MEMBERSHIP/PACKET_DROP_MEMBERSHIP socket options. See the
packet(7) manpage.
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
This archive was generated by hypermail 2b29 : Fri Aug 31 2001 - 21:00:39 EST