Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Nov 2003 07:38:22 +0000
From:      Bruce M Simpson <bms@spc.org>
To:        freebsd-net@freebsd.org
Subject:   Viewing multicast group membership?
Message-ID:  <20031110073822.GA20611@saboteur.dek.spc.org>

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

Pardon me if this is an FAQ or answered somewhere else.

I've had a quick skim through the man pages and the source, and can't
seem to find a means of listing which IPv4 multicast groups a host is
currently a member of.

The net.igmp.stats sysctl only seems to maintain general protocol level
statistics; it doesn't contain group information. This is the sysctl reported
by 'netstat -g'.

I guess I need to write some code to open /dev/kmem and walk ifmultihead.
Or does someone have a hack lying around for this I can clean up and commit?

BMS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031110073822.GA20611>