linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Rahul Amaram" <rahul@students.iiit.net>
To: linux-c-programming@vger.kernel.org
Subject: how to read IGMP reports ?
Date: Wed, 17 Dec 2003 16:49:59 +0530	[thread overview]
Message-ID: <001e01c3c48f$bcff20f0$491410ac@rahulatobh73> (raw)

Hi,
    I am using RedHat 9.0 and am working on implementing an IGMPv2 testing
tool. My test setup includes a machine "172.16.7.10" on which the daemon
"mrouted" runs and another mahcine "172.16.7.9" on which the testing tool
runs.

    I am trying to read IGMP packets on machine "172.16.7.9" using raw
sockets. But to my surprise only the general queries generated by mrouted
running on "172.16.7.10" are being read by the raw socket. The reports
generated are being skipped. I know that reports are being generated because
of tcpdump which I am simultaneously running on "172.16.7.9" which shows
IGMPv2 reports as well.

    Now my question is simple - if the program which i have written using
raw sockets can read General Queries, why isnt it reading Group specific
queries and reports ? Should I set any socket options or should I subscribe
to any group so that all queries and reports are passed to the raw socket ?

In anticipation,
     Rahul.


                 reply	other threads:[~2003-12-17 11:19 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='001e01c3c48f$bcff20f0$491410ac@rahulatobh73' \
    --to=rahul@students.iiit.net \
    --cc=linux-c-programming@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;
as well as URLs for NNTP newsgroup(s).