summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2004-02-04 02:54:25 +0000
committerbrooks <brooks@FreeBSD.org>2004-02-04 02:54:25 +0000
commit4f14e0fa867d5fae33d247bfe7a0aff6a2f9374e (patch)
treeee6c51c3f7bd6bcd7b451bee4727dbb4e812fd97 /sys/kern/vfs_subr.c
parentc78bcd05a81896c93001355e8619caa0f1fda74d (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud