Date: Tue, 3 Feb 2004 18:54:25 -0800 (PST) From: Brooks Davis <brooks@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/share/man/man9 ifnet.9 src/sys/net if.c src/sys/sys sockio.h Message-ID: <200402040254.i142sPMc014724@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402040254.i142sPMc014724>
