adding if_dev member to struct ifnet
Daniel C. Sobral
dcs at tcoip.com.br
Tue Oct 7 09:44:34 PDT 2003
Brooks Davis wrote:
>
> 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. There
> 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 do
> is break the driver+unit mapping for certain types of pseudo devices.
> Specifically vlan devices should be allocatable by creating an interface
> 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...
--
Daniel C. Sobral
Gerência de Operações
Divisão de Comunicação de Dados
Coordenação de Segurança
VIVO Centro Oeste Norte
Fones: 55-61-313-7654/Cel: 55-61-9618-0904
E-mail: Daniel.Capo at tco.net.br
Daniel.Sobral at tcoip.com.br
dcs at tcoip.com.br
More information about the freebsd-net
mailing list