Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Sep 2001 04:06:49 -0700 (PDT)
From:      deepika kakrania <deepika_77@yahoo.com>
To:        freebsd-net@FreeBSD.ORG
Subject:   IP multicasting...
Message-ID:  <20010920110649.75508.qmail@web11203.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi all,

 I am studying FBSD 4.1 code for IP multicasting. I
have a doubt here regarding IGMP QUERY messages.

 The code seems to handle the case 
1) when it gets the General QUERY from Version 1
router.(where igmp_code is 0). In this case it only
needs to check whether destination address of Query is
all_hots_group is or not and that igmp_group field is
Zero or not for validity purpose.

2)when it gets the GROUP SPECIFIC query from Version 2
router.

  ie.

  if(igmp->igmp_group.s_addr != 0 &&
!IN_MULTICAST(ntohl(igmp->igmp_group.s_addr)))
  .
  .


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?

Thanks in advance.

Regards,
Deepika



__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/

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?20010920110649.75508.qmail>