lkml.org 
[lkml]   [2002]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subjectnet_device and multicast
    Date
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:25    [W:0.023 / U:0.460 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site