Date: Wed, 8 Dec 2004 19:18:07 +0000 (UTC) From: Sam Leffler <sam@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org 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 Message-ID: <200412081918.iB8JI7Vk089224@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412081918.iB8JI7Vk089224>