mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ion Badulescu <ionut@cs.columbia.edu>
To: jt@hpl.hp.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: Kernel Multicast
Date: Tue, 28 Aug 2001 14:30:56 -0400	[thread overview]
Message-ID: <200108281830.f7SIUu928840@buggy.badula.org> (raw)
In-Reply-To: <20010828111321.A8147@bougret.hpl.hp.com>

On Tue, 28 Aug 2001 11:13:21 -0700, Jean Tourrilhes <jt@bougret.hpl.hp.com> wrote:

>        And finally, I tried :
> ------------------------------------------
> bind(sock, ONE_INTERFACE, MY_PORT);
> ------------------------------------------
>        First instance : Tx ok, doesn't Rx anything at all. I can
> understand why, the Rx packet don't have a dest IP address matching
> ONE_INTERFACE.

This is the correct approach, I think. Have you tried adding the two
setsockopt() calls after the bind, or at the very least the
IP_ADD_MEMBERSHIP one, to see if you can Rx? Otherwise quite obviously
your physical interface will not have the multicast MAC address added to
its filters and no packets will reach the IP stack.

'ip maddr ls' is a useful tool for inspecting what your NIC is letting
through.

Ion

-- 
  It is better to keep your mouth shut and be thought a fool,
            than to open it and remove all doubt.

  reply	other threads:[~2001-08-28 18:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87009604743AD411B1F600508BA0F95994CA68@XOVER.dedham.mindspeed.com>
2001-08-28 18:13 ` Jean Tourrilhes
2001-08-28 18:30   ` Ion Badulescu [this message]
2001-08-28 18:34     ` Jean Tourrilhes
     [not found] <87009604743AD411B1F600508BA0F95994CA6A@XOVER.dedham.mindspeed.com>
2001-08-28 21:28 ` Jean Tourrilhes
2001-08-28 17:19 Jean Tourrilhes

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=200108281830.f7SIUu928840@buggy.badula.org \
    --to=ionut@cs.columbia.edu \
    --cc=jt@hpl.hp.com \
    --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®