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 [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message