From owner-freebsd-net@FreeBSD.ORG Mon Mar 19 16:03:13 2007 Return-Path: X-Original-To: net@freebsd.org Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DBB0F16A401 for ; Mon, 19 Mar 2007 16:03:13 +0000 (UTC) (envelope-from eugen@www.svzserv.kemerovo.su) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.freebsd.org (Postfix) with ESMTP id 1671313C45D for ; Mon, 19 Mar 2007 16:03:12 +0000 (UTC) (envelope-from eugen@www.svzserv.kemerovo.su) Received: from www.svzserv.kemerovo.su (eugen@localhost [127.0.0.1]) by www.svzserv.kemerovo.su (8.13.8/8.13.8) with ESMTP id l2JFSbIJ004426; Mon, 19 Mar 2007 22:28:37 +0700 (KRAT) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.13.8/8.13.8/Submit) id l2JFSbnT004425; Mon, 19 Mar 2007 22:28:37 +0700 (KRAT) (envelope-from eugen) Date: Mon, 19 Mar 2007 22:28:37 +0700 From: Eugene Grosbein To: Bruce M Simpson Message-ID: <20070319152837.GA3984@svzserv.kemerovo.su> References: <45FE9E24.8010201@incunabulum.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45FE9E24.8010201@incunabulum.net> User-Agent: Mutt/1.4.2.1i Cc: net@freebsd.org Subject: Re: Interface index hack in IP_ADD_MEMBERSHIP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2007 16:03:14 -0000 On Mon, Mar 19, 2007 at 02:28:52PM +0000, Bruce M Simpson wrote: > I plan to get rid of the ugly little ip_multicast_if() hack in the IP > stack.= > Before I do, is anyone actually using this? > > RFC 3678 specifies a protocol independent API for socket group > memberships which allow joins on interfaces referenced by index. This is > intended to support IGMPv3 and MLDv2. I recall that routed and ripd used to utilize something similar long time ago. I'm not sure if they have switched to another API. Eugene