Re: adding if_dev member to struct ifnet

From: Vincent Jardin (vjardin_at_wanadoo.fr)
Date: 10/01/03

  • Next message: Poul-Henning Kamp: "Re: HEADSUP: Change of makedev() semantics."
    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"


  • Next message: Poul-Henning Kamp: "Re: HEADSUP: Change of makedev() semantics."

    Relevant Pages

    • Re: adding if_dev member to struct ifnet
      ... I've done something like this in my perforce branch ... I plan to follow up by breaking the assumption that if_xname remains ... over the life of the device and quick to check. ...
      (freebsd-arch)
    • Paying George Sodini respects and fulfilling hist last wishes!
      ... Every black man should get a young white girl ... Many of the young girls here ... And did it maybe only 50-75 times in my life. ... I should have exit plan done and practiced by ...
      (soc.men)
    • Re: OT - cell phone advice
      ... purchase to get "double minutes for life", with this plan every time ... With the Double Minutes for Life remember that it goes with the phone. ... Emergency: I ran out of gas ON A FREEWAY ON-RAMP AT RUSH HOUR. ... I waved my cell phone as signal "I'm OK". ...
      (alt.home.repair)
    • Re: Will Mohammad be executed tonight ?
      ... who actually did the shooting didn't go with him. ... food on him for many years. ... He got life without the possibility of parole, ... Part of his testimony concerned Muhammad's complete, multiphase plan. ...
      (soc.retirement)
    • Re: Will Mohammad be executed tonight ?
      ... who actually did the shooting didn't go with him. ... food on him for many years. ... jail for life, even if he somehow manages to completely turn his life ... Part of his testimony concerned Muhammad's complete, multiphase plan. ...
      (soc.retirement)