freebsd-dev/sbin
Luigi Rizzo cc4d3c30ea Bring in the most recent version of ipfw and dummynet, developed
and tested over the past two months in the ipfw3-head branch.  This
also happens to be the same code available in the Linux and Windows
ports of ipfw and dummynet.

The major enhancement is a completely restructured version of
dummynet, with support for different packet scheduling algorithms
(loadable at runtime), faster queue/pipe lookup, and a much cleaner
internal architecture and kernel/userland ABI which simplifies
future extensions.

In addition to the existing schedulers (FIFO and WF2Q+), we include
a Deficit Round Robin (DRR or RR for brevity) scheduler, and a new,
very fast version of WF2Q+ called QFQ.

Some test code is also present (in sys/netinet/ipfw/test) that
lets you build and test schedulers in userland.

Also, we have added a compatibility layer that understands requests
from the RELENG_7 and RELENG_8 versions of the /sbin/ipfw binaries,
and replies correctly (at least, it does its best; sometimes you
just cannot tell who sent the request and how to answer).
The compatibility layer should make it possible to MFC this code in a
relatively short time.

Some minor glitches (e.g. handling of ipfw set enable/disable,
and a workaround for a bug in RELENG_7's /sbin/ipfw) will be
fixed with separate commits.

CREDITS:
This work has been partly supported by the ONELAB2 project, and
mostly developed by Riccardo Panicucci and myself.
The code for the qfq scheduler is mostly from Fabio Checconi,
and Marta Carbone and Francesco Magno have helped with testing,
debugging and some bug fixes.
2010-03-02 17:40:48 +00:00
..
adjkerntz Raise WARNS for various tools where possible. 2010-01-17 21:56:27 +00:00
atacontrol Improve output for controllers that doesn't report SATA speed. 2010-02-22 10:45:40 +00:00
atm Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
badsect Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
bsdlabel Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
camcontrol Improve output for controllers that doesn't report SATA speed. 2010-02-22 10:45:40 +00:00
ccdconfig Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
clri Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
comcontrol ANSIfy almost all applications that use WARNS=6. 2009-12-29 22:53:27 +00:00
conscontrol Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
ddb Always assign WARNS using ?= 2010-03-02 16:58:04 +00:00
devd Bump WARNS where possible. 2010-02-15 14:07:40 +00:00
devfs Document the interaction between /etc/devfs.conf and 2010-02-21 10:29:45 +00:00
dhclient Make dhclient use bootpc (68) as the source port for unicast DHCPREQUEST 2009-10-21 23:50:35 +00:00
dmesg Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
dump Plug two memory leaks in error case. 2010-02-03 23:56:12 +00:00
dumpfs Print leading zeros in the UFS2 FSID. 2010-01-06 14:01:28 +00:00
dumpon Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
fdisk - Back out the previous change in order to maintain compatibility. 2009-06-17 06:41:10 +00:00
fdisk_pc98 Use the common PC98_SID_ACTIVE define instead of a local define. 2009-03-19 12:31:59 +00:00
ffsinfo Bump WARNS where possible. 2010-02-15 14:07:40 +00:00
fsck Fix minor resource leak in a function which was introduced by changing an 2009-11-20 15:27:00 +00:00
fsck_ffs Cast 64-bit quantity to intptr_t rather than int so as to work properly 2010-01-11 23:33:30 +00:00
fsck_msdosfs Rename fields to match better the msdosfs headers. This work is still 2010-02-14 12:31:28 +00:00
fsdb Update after function renames. 2006-10-31 22:07:29 +00:00
fsirand Avoid casts as lvalues. 2004-07-28 05:59:22 +00:00
gbde Bump WARNS where possible. 2010-02-15 14:07:40 +00:00
geom Fixed dependencies (make checkdpadd). 2010-02-25 20:24:19 +00:00
ggate Please welcome HAST - Highly Avalable Storage. 2010-02-18 23:16:19 +00:00
growfs When growing a UFS1 filesystem, we need to initialise all inodes in any new 2010-02-13 16:22:08 +00:00
gvinum Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
hastctl Please welcome HAST - Highly Avalable Storage. 2010-02-18 23:16:19 +00:00
hastd Fixed static linkage. 2010-02-26 09:41:16 +00:00
ifconfig Fixed dependencies (make checkdpadd). 2010-02-25 20:24:19 +00:00
init Remove stale inclusion of <ulog.h>. 2010-01-27 20:32:58 +00:00
ipf Always assign WARNS using ?= 2010-03-02 16:58:04 +00:00
ipfw Bring in the most recent version of ipfw and dummynet, developed 2010-03-02 17:40:48 +00:00
iscontrol pukeText is an internal function so define it as static rather than 2010-02-03 23:58:00 +00:00
kldconfig Raise WARNS for various tools where possible. 2010-01-17 21:56:27 +00:00
kldload Raise WARNS for various tools where possible. 2010-01-17 21:56:27 +00:00
kldstat Raise WARNS for various tools where possible. 2010-01-17 21:56:27 +00:00
kldunload Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
ldconfig ANSIfy ldconfig and the aout bits it still uses from rtld-aout. 2009-12-29 21:07:17 +00:00
mca Markup nit. 2006-09-30 11:12:36 +00:00
md5 Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mdconfig Make mdconfig(8) WARNS=6 clean: 2010-01-22 08:51:58 +00:00
mdmfs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mknod Bump WARNS where possible. 2010-02-15 14:07:40 +00:00
mksnap_ffs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mount - Remove reference to nfs4. mount_nfs4(8) was removed in r192578. 2010-02-10 16:18:28 +00:00
mount_autofs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mount_cd9660 Fix minor memory leak in a function. 2009-11-20 15:28:38 +00:00
mount_ext2fs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mount_hpfs mount_hpfs(8): make WARNS=6 clean 2010-02-27 10:14:59 +00:00
mount_msdosfs Remove reference to the bug in FreeBSD 2.0. 2010-01-02 17:45:53 +00:00
mount_nfs Introduce '[ipaddr]:path' notation. 2010-02-04 15:17:49 +00:00
mount_ntfs mount_ntfs(8): make WARNS=6 clean 2010-02-27 10:16:14 +00:00
mount_nullfs ANSIfy almost all applications that use WARNS=6. 2009-12-29 22:53:27 +00:00
mount_reiserfs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
mount_std Bump WARNS where possible. 2010-02-15 14:07:40 +00:00
mount_udf style.Makefile(5): Remove -Wall from CFLAGS. 2006-07-17 20:53:25 +00:00
mount_unionfs Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
natd Raise WARNS for various tools where possible. 2010-01-17 21:56:27 +00:00
newfs One last pass to get all the unsigned comparisons correct. 2010-02-11 18:14:53 +00:00
newfs_msdos Rename variables to match msdosfs headers. 2010-02-14 12:25:39 +00:00
nfsiod - Display current settings when run without options. 2009-12-26 08:36:02 +00:00
nos-tun Expand *n't contractions. 2005-02-13 22:25:33 +00:00
pfctl Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
pflogd Let pflogd's Makefile just use WARNS instead of changing CFLAGS. 2009-04-23 09:11:37 +00:00
ping - improve readability 2009-01-11 22:36:45 +00:00
ping6 Implement -R support, similar to ping(8)'s -A. 2008-08-27 15:01:23 +00:00
quotacheck Drag this code kicking and screaming into the twenty-first century. 2008-07-02 15:51:59 +00:00
rcorder ANSIfy almost all applications that use WARNS=6. 2009-12-29 22:53:27 +00:00
reboot Remove stale references to utmp(5) and its corresponding filenames. 2010-01-21 17:25:12 +00:00
recoverdisk Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
restore Fix common misspelling of hierarchy 2010-02-20 10:19:19 +00:00
route route(8): make WARNS=3 clean 2010-02-27 10:18:33 +00:00
routed routed(8)/rtquery(8) bump/demote to WARNS=3 for all archs 2010-02-27 10:17:27 +00:00
rtsol rtsol(8)/rtsold(8): make WARNS=3 clean 2010-02-27 10:19:39 +00:00
savecore Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
sconfig Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
setkey Use the newly brought %U macro. 2010-01-15 16:01:22 +00:00
shutdown Add missing `void' for functions without arguments. 2009-12-29 08:49:43 +00:00
spppcontrol Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00
sunlabel Bump WARNS where possible. 2010-02-15 14:07:40 +00:00
swapon Raise WARNS for various tools where possible. 2010-01-17 21:56:27 +00:00
sysctl sysctl(8): make WARNS=3 clean 2010-02-15 14:08:06 +00:00
tunefs Quiet spurious warnings. 2010-02-11 06:33:35 +00:00
umount Introduce '[ipaddr]:path' notation. 2010-02-04 15:17:49 +00:00
Makefile Please welcome HAST - Highly Avalable Storage. 2010-02-18 23:16:19 +00:00
Makefile.inc Switch the default WARNS level for sbin/ to 6. 2009-10-19 16:00:24 +00:00