From owner-cvs-all@FreeBSD.ORG Tue Feb 3 18:54:26 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFB0016A4CE; Tue, 3 Feb 2004 18:54:26 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 977F343D2D; Tue, 3 Feb 2004 18:54:25 -0800 (PST) (envelope-from brooks@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i142sP0B014725; Tue, 3 Feb 2004 18:54:25 -0800 (PST) (envelope-from brooks@repoman.freebsd.org) Received: (from brooks@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i142sPMc014724; Tue, 3 Feb 2004 18:54:25 -0800 (PST) (envelope-from brooks) Message-Id: <200402040254.i142sPMc014724@repoman.freebsd.org> From: Brooks Davis Date: Tue, 3 Feb 2004 18:54:25 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/share/man/man9 ifnet.9 src/sys/net if.c src/sys/sys sockio.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2004 02:54:27 -0000 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 Max Laier 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