Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Sep 2001 08:21:21 -0700
From:      "Wilbert de Graaf" <wilbertdg@hetnet.nl>
To:        "deepika kakrania" <deepika_77@yahoo.com>
Cc:        <freebsd-net@FreeBSD.ORG>
Subject:   Re: IP multicasting...
Message-ID:  <000e01c141e7$e812edd0$d93483d1@inktomi.com>
References:  <20010920110649.75508.qmail@web11203.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000e01c141e7$e812edd0$d93483d1>