(usagi-users 03382) Re: MLDv2 linux implementation questions
David Stevens <[email protected]>
| Newsgroups | gmane.linux.ipv6.usagi.users |
|---|---|
| Message-ID | <OFA2FF8E01.FD698E59-ON8825701F.005A6DCF-8825701F.005C848C@us.ibm.com> |
Hoerdt Mickael <[email protected]> wrote on 06/13/2005 08:31:58 AM: > Hi, > I am doing some tests on the MLDv2 linux implementation (2.6.11 kernel). > I have two questions : > - How do I check the MLD version running on my host ? As a user, or in a shell script, an easy way is to see if /proc/net/mcfilter6 exists (it will if MLDv2 is supported on the machine, won't otherwise). In a program, you can use one of the source filter socket options and you'll get errno ENOPROTOOPT if it isn't implemented. > > On a link with MLDv2, I am joining and leaving the same SSM channel and > I am checking > the status of /proc/net/igmp6 to see the state if has effectively > joined/leaved the > channel here is the ouput : These fields are unchanged from MLDv1, except the addition of a flag. The '0x10' portion is MAF_GSQUERY, the "0x6" part is "MAF_LOADED" (on the device) and "MAF_LASTREPORTER" (on the link). A "1" is "timer running". MAF_GSQUERY means there is a pending group and source specific query for that group. If you wanted to look at the filter list, that's in the mcfilter6 file I mentioned earlier. The 4th field in igmp6 is the time left on the pending timer. It all looks like expected behaviour to me-- is there something specific that concerned you? +-DLS