diff options
author | brooks <brooks@FreeBSD.org> | 2004-02-04 02:54:25 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2004-02-04 02:54:25 +0000 |
commit | 4f14e0fa867d5fae33d247bfe7a0aff6a2f9374e (patch) | |
tree | ee6c51c3f7bd6bcd7b451bee4727dbb4e812fd97 /sys/kern/vfs_subr.c | |
parent | c78bcd05a81896c93001355e8619caa0f1fda74d (diff) | |
download | FreeBSD-src-4f14e0fa867d5fae33d247bfe7a0aff6a2f9374e.zip FreeBSD-src-4f14e0fa867d5fae33d247bfe7a0aff6a2f9374e.tar.gz |
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>
Diffstat (limited to 'sys/kern/vfs_subr.c')
0 files changed, 0 insertions, 0 deletions