Date: Wed, 23 Jan 2002 18:28:47 -0500 (EST) From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> To: Ruslan Ermilov <ru@FreeBSD.ORG> Cc: net@FreeBSD.ORG Subject: Re: interface multicast address list Message-ID: <200201232328.g0NNSlO74758@khavrinen.lcs.mit.edu> In-Reply-To: <20020123145003.C66702@sunbay.com> References: <20020123105315.Q86919-100000@beagle.fokus.gmd.de> <20020123145003.C66702@sunbay.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>> is there any way to get at the if_multiaddrs list from user space (except >> for digging through the kernel with kvm). >> > I'm affraid not. There should be. > I think the right way would be to add this to net/rtsock.c:sysctl_iflist() > to be accessible through the NET_RT_IFLIST sysctl. BTW, I've just fixed > the sysctl(3) manpage to document the sixth level of this sysctl. I agree. I'd suggest it would be simpler for most applications to create a new option, NET_RT_IFMLIST. The RTM_NEWMADDR message type already exists, IIRC. -GAWollman 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?200201232328.g0NNSlO74758>