From owner-freebsd-net@FreeBSD.ORG Wed Feb 4 00:39:21 2004 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 6052316A4CE for ; Wed, 4 Feb 2004 00:39:21 -0800 (PST) Received: from mailout2.pacific.net.au (mailout2.pacific.net.au [61.8.0.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F11843D3F for ; Wed, 4 Feb 2004 00:39:10 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.0.87])i148d85O014291; Wed, 4 Feb 2004 19:39:08 +1100 Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) i148d6Yc003921; Wed, 4 Feb 2004 19:39:07 +1100 Date: Wed, 4 Feb 2004 19:39:06 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Brooks Davis In-Reply-To: <20040203183332.GD27244@Odin.AC.HMC.Edu> Message-ID: <20040204193623.E1469@gamplex.bde.org> References: <20040203183332.GD27244@Odin.AC.HMC.Edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: net@freebsd.org Subject: Re: removing if_withname() 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: Wed, 04 Feb 2004 08:39:21 -0000 On Tue, 3 Feb 2004, Brooks Davis wrote: > Bruce pointed out that if_withname is inconsistent about IFNAMSIZ. I > was looking at it and cleaned it up, but then I realized that it is a > really inefficient implementation of ifnet_byindex(sdl->sdl_index). It > turns out that it's also completely unused so I'd like to remove it > entirely rather then fixing it since it's both broken and pointless. Is > there any reason not to do so? It seems to be a pat of KAME that has never been used in FreeBSD (net/if.c rev.1.77). Bruce