Date: Wed, 23 Jan 2002 13:59:27 +0100 (CET) From: Harti Brandt <brandt@fokus.gmd.de> To: Ruslan Ermilov <ru@FreeBSD.org> Cc: net@FreeBSD.org Subject: Re: interface multicast address list Message-ID: <20020123135549.E86919-100000@beagle.fokus.gmd.de> In-Reply-To: <20020123145003.C66702@sunbay.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 23 Jan 2002, Ruslan Ermilov wrote: RE>[Redirected to -net with -hackers Bcc:ed] RE> RE>On Wed, Jan 23, 2002 at 10:59:00AM +0100, Harti Brandt wrote: RE>> RE>> Hi, RE>> RE>> is there any way to get at the if_multiaddrs list from user space (except RE>> for digging through the kernel with kvm). RE>> RE>I'm affraid not. RE> RE>> If not, where would one add it? RE>> sysctl net.link.??? perhaps? Or SIOCIFGETMULTI? RE>> RE>I think the right way would be to add this to net/rtsock.c:sysctl_iflist() RE>to be accessible through the NET_RT_IFLIST sysctl. BTW, I've just fixed RE>the sysctl(3) manpage to document the sixth level of this sysctl. I think so too and have just implemented it. There are also a couple of other places to fix with this change, where parsing of the list returned by NET_RT_IFLIST is, ehm, broken (ifconfig comes in mind). If I send you the patch would you look at it and, if it is ok, commit it? harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fhg.de 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?20020123135549.E86919-100000>