From owner-cvs-src@FreeBSD.ORG Wed Dec 8 19:18:08 2004 Return-Path: <owner-cvs-src@FreeBSD.ORG> Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E8F316A4CE; Wed, 8 Dec 2004 19:18:08 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEBEF43D45; Wed, 8 Dec 2004 19:18:07 +0000 (GMT) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id iB8JI79B089225; Wed, 8 Dec 2004 19:18:07 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iB8JI7Vk089224; Wed, 8 Dec 2004 19:18:07 GMT (envelope-from sam) Message-Id: <200412081918.iB8JI7Vk089224@repoman.freebsd.org> From: Sam Leffler <sam@FreeBSD.org> Date: Wed, 8 Dec 2004 19:18:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/ifconfig Makefile af_atalk.c af_inet.c af_inet6.c af_ipx.c af_link.c ifclone.c ifconfig.8 ifconfig.c ifconfig.h ifieee80211.c ifmac.c ifmedia.c ifvlan.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree <cvs-src.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>, <mailto:cvs-src-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/cvs-src> List-Post: <mailto:cvs-src@freebsd.org> List-Help: <mailto:cvs-src-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>, <mailto:cvs-src-request@freebsd.org?subject=subscribe> X-List-Received-Date: Wed, 08 Dec 2004 19:18:08 -0000 sam 2004-12-08 19:18:07 UTC FreeBSD src repository Modified files: sbin/ifconfig Makefile ifconfig.8 ifconfig.c ifconfig.h ifieee80211.c ifmac.c ifmedia.c ifvlan.c Added files: sbin/ifconfig af_atalk.c af_inet.c af_inet6.c af_ipx.c af_link.c ifclone.c Log: Overhaul to cleanup some of the tangled logic that's grown over the years. o break per-address family support out into separate files o modularize per-address family and functional operations using a registration mechanism; this permits configuration according to which files you include (but beware that order of the files is important to insure backwards compatibility) o many cleanups to eliminate incestuous behaviour, global variables, and poor coding practices (still much more to fix) The original motivation of this work was to support dynamic addition of functionality based on the interface so we can eliminate the various little control programs and so that vendors can distribute ifconfig plugins that support their in-kernel code. That work is still to be completed. o Update 802.11 support for all the new net80211 functionality; some of these operations (e.g. list *) may be better suited in a different program Revision Changes Path 1.26 +23 -22 src/sbin/ifconfig/Makefile 1.1 +184 -0 src/sbin/ifconfig/af_atalk.c (new) 1.1 +198 -0 src/sbin/ifconfig/af_inet.c (new) 1.1 +547 -0 src/sbin/ifconfig/af_inet6.c (new) 1.1 +128 -0 src/sbin/ifconfig/af_ipx.c (new) 1.1 +125 -0 src/sbin/ifconfig/af_link.c (new) 1.1 +155 -0 src/sbin/ifconfig/ifclone.c (new) 1.87 +156 -59 src/sbin/ifconfig/ifconfig.8 1.108 +332 -1279 src/sbin/ifconfig/ifconfig.c 1.13 +91 -33 src/sbin/ifconfig/ifconfig.h 1.11 +1315 -129 src/sbin/ifconfig/ifieee80211.c 1.3 +24 -3 src/sbin/ifconfig/ifmac.c 1.17 +30 -6 src/sbin/ifconfig/ifmedia.c 1.6 +32 -5 src/sbin/ifconfig/ifvlan.c