From owner-freebsd-net@FreeBSD.ORG Thu Nov 13 15:37:26 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4A2616A4CF; Thu, 13 Nov 2003 15:37:26 -0800 (PST) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 610AD43FEC; Thu, 13 Nov 2003 15:37:22 -0800 (PST) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id 793C66543B; Wed, 12 Nov 2003 20:34:29 +0000 (GMT) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 73799-02-4; Wed, 12 Nov 2003 20:34:29 +0000 (GMT) Received: from saboteur.dek.spc.org (unknown [82.147.19.91]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id D4481653FF; Wed, 12 Nov 2003 20:34:28 +0000 (GMT) Received: by saboteur.dek.spc.org (Postfix, from userid 1001) id 86852BD; Wed, 12 Nov 2003 20:34:28 +0000 (GMT) Date: Wed, 12 Nov 2003 20:34:28 +0000 From: Bruce M Simpson To: harti@freebsd.org Message-ID: <20031112203428.GD24791@saboteur.dek.spc.org> Mail-Followup-To: harti@freebsd.org, Robert Watson , freebsd-net@freebsd.org References: <20031110073822.GA20611@saboteur.dek.spc.org> <20031110191454.GC662@saboteur.dek.spc.org> <20031110204652.A84670@beagle.fokus.fraunhofer.de> <20031110221139.GB2441@saboteur.dek.spc.org> <20031111092650.P7611@beagle.fokus.fraunhofer.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031111092650.P7611@beagle.fokus.fraunhofer.de> cc: freebsd-net@freebsd.org cc: Robert Watson Subject: Re: Viewing multicast group membership? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2003 23:37:26 -0000 On Tue, Nov 11, 2003 at 09:29:49AM +0100, Harti Brandt wrote: > Here you are. This was even once (about a year ago) reviewed by someone, > but did make it into the tree, because I did not insist. I've put the userland code (and a cleaned up version of this diff) up at http://people.freebsd.org/~bms/dump/mcastlist/ for those who care. Basically I created a getifmaddrs() API for prospective merging into libc as the sysctl returns data without the preceding RTM_IFINFO expected by the regular getifaddrs() API. BMS