netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Fwd: Receiving MLDv1 reports in a daemon]
@ 2004-03-16 15:04 Nivedita Singhvi
  2004-03-16 19:06 ` David Stevens
  0 siblings, 1 reply; 2+ messages in thread
From: Nivedita Singhvi @ 2004-03-16 15:04 UTC (permalink / raw)
  To: netdev

[-- Attachment #1: Type: text/plain, Size: 1344 bytes --]

Ah, sorry, my bad. I cc'd netdev in my first response
but cut down the actual post.

thanks,
Nivedita


-------- Original Message --------
Subject: Receiving MLDv1 reports in a daemon
Date: Tue, 16 Mar 2004 16:38:25 +0530 (IST)
From: Madhavi <madhavis@sasken.com>
To: <linux-kernel@vger.kernel.org>


Hi

I am trying to incorporate the functionality of MLDv1 into a daemon. This
would be in addition to the functionality already supported by the kernel
IPv6 stack.

I am opening a raw socket with proto IPPROTO_ICMPV6 in my daemon process.
When I am sending an MLDv1 report from the host, the Router is able to
receive the report. But, I am not able to receive it over the socket.

I have checked the kernel code and found that the kernel is sending reports
only if the group address being reported is added to the device multicast
list. Since I won't know the group address in advance, I can't add it to
the device multicast list.

Is there any other way to get the MLDv1 reports to my daemon. Any solution
to this problem would be very helpful to me.

Thanks & regards
Madhavi.

Madhavi Suram
Senior Software Engineer
Customer Delivery / Networks
Sasken Communication Technologies Limited
139/25, Ring Road, Domlur
Bangalore - 560071 India
Email: madhavis@sasken.com
Tel: + 91 80 5355501 Extn: 8062
Fax: + 91 80 5351133
URL: www.sasken.com



[-- Attachment #2: file:///C|/DOCUME%7E1/NIVEDITA/LOCALS%7E1/TEMP/nsmail-1.txt --]
[-- Type: text/plain, Size: 1050 bytes --]

***********************************************************************

********************************************************************

SASKEN BUSINESS DISCLAIMER

This message may contain confidential, proprietary or legally Privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, Disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Communication Technologies Limited ("Sasken") unless sent with that express intent and with due authority of Sasken. Sasken has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email.

***********************************************************************


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Fwd: Receiving MLDv1 reports in a daemon]
  2004-03-16 15:04 [Fwd: Receiving MLDv1 reports in a daemon] Nivedita Singhvi
@ 2004-03-16 19:06 ` David Stevens
  0 siblings, 0 replies; 2+ messages in thread
From: David Stevens @ 2004-03-16 19:06 UTC (permalink / raw)
  To: niv; +Cc: netdev

[-- Attachment #1: Type: text/plain, Size: 443 bytes --]






> Is there any other way to get the MLDv1 reports to my daemon. Any
solution
> to this problem would be very helpful to me.

To receive all MLDv1 reports, you need the interface to be in
multicast promiscuous mode. You can do this by setting the
interface flag "IFF_ALLMULTI".

For MLDv2, reports are sent to the all-multicast-routers group
address, so you only need to join that group in MLDv2.

                                    +-DLS

[-- Attachment #2: Type: text/html, Size: 557 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-16 19:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-16 15:04 [Fwd: Receiving MLDv1 reports in a daemon] Nivedita Singhvi
2004-03-16 19:06 ` David Stevens

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).