From owner-freebsd-net Thu Sep 20 8:21:25 2001 Delivered-To: freebsd-net@freebsd.org Received: from hetnet.nl (net047s.hetnet.nl [194.151.104.151]) by hub.freebsd.org (Postfix) with ESMTP id A5FCD37B420 for ; Thu, 20 Sep 2001 08:21:22 -0700 (PDT) Received: from wdegraafdp866 ([209.131.52.217]) by hetnet.nl with Microsoft SMTPSVC(5.5.1877.757.75); Thu, 20 Sep 2001 17:16:05 +0200 Message-ID: <000e01c141e7$e812edd0$d93483d1@inktomi.com> From: "Wilbert de Graaf" To: "deepika kakrania" Cc: References: <20010920110649.75508.qmail@web11203.mail.yahoo.com> Subject: Re: IP multicasting... Date: Thu, 20 Sep 2001 08:21:21 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello Deepika, > But where is the handling of other case where a IGMPv2 > router sends the GENERAL QUERY(igmp_group.s_addr = 0). > In this case igmp_code is non-zero. In other words, > where is the validity check for general Query message > when it comes from IGMPV2 router?? > > Can anyone tell me where it's done? It's this line: if (igmp->igmp_group.s_addr != 0 && !IN_MULTICAST(ntohl(igmp->igmp_group.s_addr))) { ++igmpstat.igps_rcv_badqueries; m_freem(m); return; } This test gets executed when it's a v2 query (mtu != 0). The test stops further processing if the group address is NOT "0.0.0.0" or NOT a valid multicast address. Wilbert To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message