net_device and multicast

From: Matteo Pelati (matteo@studiopelati.it)
Date: Tue Apr 23 2002 - 13:33:35 EST


Hi everyone,

I'm new to Linux kernel development and I have a question about networking.
I have a linux box acting as a multicast router and I've to write some code
that intercepts whenever a network interface is added or removed to a
multicast address. That seemed preatty straightforward since I noticed in
the net_device structure there is a pointer to IPv4 infos where i can find a
linked list of multicast addresses assigned to that interface.
The addresses in this list are the same shown doing a cat /proc/net/igmp ?

Since the strange fact is that I've my mcast router with two network
interfaces (eth0, eth1). When both my router and the other two hosts join
the same multicast group all the three bozes are receiving mcast traffic but
if I take a look at /proc/net/igmp on the router only one interface (eth0)
is assigned that mcast group.

Could anyone please give me a clue? I guess I'm missing something here...

Thanks
Matteo

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Apr 23 2002 - 22:00:36 EST