tun and SIOCSIFADDR

David Gilbert dgilbert at dclg.ca
Mon Jun 5 11:27:18 PDT 2006


I read in the if_tun manpage that it supports SIOCSIFADDR (such that
it works with ifconfig).  I like examples, so I search the ifconfig
source code for SIOCSIFADDR.  None.  Then I search the entire source
tree.  ppp uses it to set the IPX address.  Obviously SIOCSIFADDR is
not the preferred way to do this anymore.  Hints?

Dave.

-- 
============================================================================
|David Gilbert, Independent Contractor.       | Two things can be          |
|Mail:       dave at daveg.ca                    |  equal if and only if they |
|http://daveg.ca                              |   are precisely opposite.  |
=========================================================GLO================


More information about the freebsd-hackers mailing list