Re: adding if_dev member to struct ifnet
From: Vincent Jardin (vjardin_at_wanadoo.fr)
Date: 10/01/03
- Previous message: Brooks Davis: "Re: adding if_dev member to struct ifnet"
- In reply to: Brooks Davis: "Re: adding if_dev member to struct ifnet"
- Next in thread: Harti Brandt: "Re: adding if_dev member to struct ifnet"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Brooks Davis <brooks@one-eyed-alien.net> Date: Wed, 1 Oct 2003 22:05:35 +0200
> I've done something like this in my perforce branch
> (//depot/user/brooks/xname/...), but it isn't a real solution because
> I plan to follow up by breaking the assumption that if_xname remains
> constant for the life of the interface. If either if_dev or
> if_d{name,unit} are added, you could use those as you do now.
> You might consider using if_index instead since that's both unchanged
> over the life of the device and quick to check.
In this case, I agree that using if_index would be a better choice ;-)
Regards,
Vincent
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Brooks Davis: "Re: adding if_dev member to struct ifnet"
- In reply to: Brooks Davis: "Re: adding if_dev member to struct ifnet"
- Next in thread: Harti Brandt: "Re: adding if_dev member to struct ifnet"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|