From owner-freebsd-net Wed Jan 23 15:28:50 2002 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 92D4037B405; Wed, 23 Jan 2002 15:28:47 -0800 (PST) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.11.4/8.11.4) id g0NNSlO74758; Wed, 23 Jan 2002 18:28:47 -0500 (EST) (envelope-from wollman) Date: Wed, 23 Jan 2002 18:28:47 -0500 (EST) From: Garrett Wollman Message-Id: <200201232328.g0NNSlO74758@khavrinen.lcs.mit.edu> To: Ruslan Ermilov Cc: net@FreeBSD.ORG Subject: Re: interface multicast address list In-Reply-To: <20020123145003.C66702@sunbay.com> References: <20020123105315.Q86919-100000@beagle.fokus.gmd.de> <20020123145003.C66702@sunbay.com> 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 >> 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