mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Matteo Pelati" <matteo@studiopelati.it>
To: <linux-kernel@vger.kernel.org>
Subject: net_device and multicast
Date: Tue, 23 Apr 2002 20:33:35 +0200	[thread overview]
Message-ID: <010101c1eaf5$6185a480$0101a8c0@matteo> (raw)

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


                 reply	other threads:[~2002-04-23 18:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='010101c1eaf5$6185a480$0101a8c0@matteo' \
    --to=matteo@studiopelati.it \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®