From owner-freebsd-net Wed Jan 23 4:51: 8 2002 Delivered-To: freebsd-net@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id E121837B402; Wed, 23 Jan 2002 04:50:48 -0800 (PST) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g0NCo3S80188; Wed, 23 Jan 2002 14:50:03 +0200 (EET) (envelope-from ru) Date: Wed, 23 Jan 2002 14:50:03 +0200 From: Ruslan Ermilov To: Harti Brandt Cc: net@FreeBSD.org Subject: Re: interface multicast address list Message-ID: <20020123145003.C66702@sunbay.com> References: <20020123105315.Q86919-100000@beagle.fokus.gmd.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020123105315.Q86919-100000@beagle.fokus.gmd.de> User-Agent: Mutt/1.3.23i 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 [Redirected to -net with -hackers Bcc:ed] On Wed, Jan 23, 2002 at 10:59:00AM +0100, Harti Brandt wrote: > > Hi, > > 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. > If not, where would one add it? > sysctl net.link.??? perhaps? Or SIOCIFGETMULTI? > 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. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message