From owner-freebsd-net@FreeBSD.ORG Mon May 5 14:47:19 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 374E637B401 for ; Mon, 5 May 2003 14:47:19 -0700 (PDT) Received: from mwinf0103.wanadoo.fr (smtp8.wanadoo.fr [193.252.22.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B93043FA3 for ; Mon, 5 May 2003 14:47:15 -0700 (PDT) (envelope-from vjardin@wanadoo.fr) Received: from venus.vincentjardin.net (AVelizy-102-1-4-219.abo.wanadoo.fr [80.11.204.219]) by mwinf0103.wanadoo.fr (SMTP Server) with ESMTP id 183BB1BFFF2B for ; Mon, 5 May 2003 23:47:14 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Vincent Jardin To: net@freebsd.org Date: Mon, 5 May 2003 23:47:23 +0200 User-Agent: KMail/1.4.3 References: <200305031547.34668.vjardin@wanadoo.fr> <20030505191853.GA25827@Odin.AC.HMC.Edu> In-Reply-To: <20030505191853.GA25827@Odin.AC.HMC.Edu> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200305052347.23923.vjardin@wanadoo.fr> Subject: Re: Howto rename an interface 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: Mon, 05 May 2003 21:47:19 -0000 > Many issues are resolved by moving from if_name and if_unit to if_xname > in ifnet. I've got a patch for that, but due to lack of time to deal > with the issues involved in the ABI change I don't think I'll get it > in to 5.x. It doesn't deal with sockaddr_dl or routing sockets, but > it does clean up most uses if interface names. I had been googling about if_xname, and I found OpenBSD. According to the= ir=20 cvs history they do not use if_unit/if_name since 1996. revision 1.9 date: 1996/05/10 12:31:07; author: deraadt; state: Exp; lines: +48 -11= 2 if_name/if_unit -> if_xname/if_softc > I did take a shot at interface renaming, but didn't quite get it right > the first try. I was looking at what I did wrong a little while ago an= d > I don't think renaming is all that difficult once you kill off if_name > and if_unit. It's on my todo list, but I think it's a 6.x feature at > this point. I agree that the main issue is to remove all the if_name and if_unit. It = would=20 have been a nice 5.x feature ;-) Thanks for your comments about if_xname, Vincent