From owner-freebsd-net@FreeBSD.ORG Tue Oct 7 09:44:34 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 34BFB16A4B3; Tue, 7 Oct 2003 09:44:34 -0700 (PDT) Received: from mail.tcoip.com.br (erato.tco.net.br [200.220.254.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id B823243FBD; Tue, 7 Oct 2003 09:44:31 -0700 (PDT) (envelope-from dcs@tcoip.com.br) Received: from tcoip.com.br ([10.0.2.6]) by mail.tcoip.com.br (8.11.6/8.11.6) with ESMTP id h97GiDj19377; Tue, 7 Oct 2003 13:44:14 -0300 Message-ID: <3F82ED5D.3060803@tcoip.com.br> Date: Tue, 07 Oct 2003 13:44:13 -0300 From: "Daniel C. Sobral" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030827 X-Accept-Language: en-us, en, pt-br, ja MIME-Version: 1.0 To: Brooks Davis References: <20030930171535.GA31908@Odin.AC.HMC.Edu> <13247.1064944601@critter.freebsd.dk> <20030930182359.GD31908@Odin.AC.HMC.Edu> In-Reply-To: <20030930182359.GD31908@Odin.AC.HMC.Edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable cc: arch@freebsd.org cc: Poul-Henning Kamp cc: net@freebsd.org Subject: Re: adding if_dev member to struct ifnet 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: Tue, 07 Oct 2003 16:44:34 -0000 Brooks Davis wrote: >=20 > Not today, since none of them get used in the paths that do this. In > general the network code doesn't care what you call an interface. Ther= e > are a few corners where it does, but nothing that isn't specific to > a certain set of drivers. Additionally, it is necessary to not have > members called if_name and if_unit if we have if_xname as the primary > driver name. It's also worth noting that one of the things I want to d= o > is break the driver+unit mapping for certain types of pseudo devices. > Specifically vlan devices should be allocatable by creating an interfac= e > with a name like fxp0.100 so while you could synthesize a unit number, > it wouldn't have any useful meaning. I wonder how that works for vlans over bridges... --=20 Daniel C. Sobral Ger=EAncia de Opera=E7=F5es Divis=E3o de Comunica=E7=E3o de Dados Coordena=E7=E3o de Seguran=E7a VIVO Centro Oeste Norte Fones: 55-61-313-7654/Cel: 55-61-9618-0904 E-mail: Daniel.Capo@tco.net.br Daniel.Sobral@tcoip.com.br dcs@tcoip.com.br