cvs commit: src/share/man/man9 ifnet.9 src/sys/net if.c
src/sys/sys sockio.h
Brooks Davis
brooks at FreeBSD.org
Tue Feb 3 18:54:27 PST 2004
brooks 2004/02/03 18:54:25 PST
FreeBSD src repository
Modified files:
share/man/man9 ifnet.9
sys/net if.c
sys/sys sockio.h
Log:
Add the kernel side of network interface renaming support.
The basic process is to send a routing socket announcement that the
interface has departed, change if_xname, update the sockaddr_dl
associated with the interface, and announce the arrival of the interface
on the routing socket.
As part of this change, ifunit() is greatly simplified by testing
if_xname directly. if_clone_destroy() now uses if_dname to look up the
cloner for the interface and if_dunit to identify the unit number.
Reviewed by: ru, sam (concept)
Vincent Jardin <vjardin AT free.fr>
Max Laier <max AT love2party.net>
Revision Changes Path
1.38 +7 -0 src/share/man/man9/ifnet.9
1.179 +56 -23 src/sys/net/if.c
1.26 +1 -0 src/sys/sys/sockio.h
More information about the cvs-src
mailing list