From owner-freebsd-net Wed Jan 23 4:59:36 2002 Delivered-To: freebsd-net@freebsd.org Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by hub.freebsd.org (Postfix) with ESMTP id 8406137B417; Wed, 23 Jan 2002 04:59:30 -0800 (PST) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id g0NCxRR05440; Wed, 23 Jan 2002 13:59:27 +0100 (MET) Date: Wed, 23 Jan 2002 13:59:27 +0100 (CET) From: Harti Brandt To: Ruslan Ermilov Cc: net@FreeBSD.org Subject: Re: interface multicast address list In-Reply-To: <20020123145003.C66702@sunbay.com> Message-ID: <20020123135549.E86919-100000@beagle.fokus.gmd.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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