freebsd_amp_hwpstate/sbin
Luigi Rizzo 32f967a3c0 A bunch of minor changes to the code (see below) for readability, code size
and speed. No new functionality added (yet) apart from a bugfix.
MFC will occur in due time and probably in stages.

BUGFIX: fix a problem in old code which prevented reallocation of
the hash table for dynamic rules (there is a PR on this).

OTHER CHANGES: minor changes to the internal struct for static and dynamic rules.
Requires rebuild of ipfw binary.

Add comments to show how data structures are linked together.
(It probably makes no sense to keep the chain pointers separate
from actual rule descriptors. They will be hopefully merged soon.

keep a (sysctl-readable) counter for the number of static rules,
to speed up IP_FW_GET operations

initial support for a "grace time" for expired connections, so we
can set timeouts for closing connections to much shorter times.

merge zero_entry() and resetlog_entry(), they use basically the
same code.

clean up and reduce replication of code for removing rules,
both for readability and code size.

introduce a separate lifetime for dynamic UDP rules.

fix a problem in old code which prevented reallocation of
the hash table for dynamic rules (PR ...)

restructure dynamic rule descriptors

introduce some local variables to avoid multiple dereferencing of
pointer chains (reduces code size and hopefully increases speed).
2001-09-20 13:52:49 +00:00
..
adjkerntz
atacontrol
atm
badsect
bsdlabel The defaults for bsize and fsize were interchanged. 2001-09-05 08:51:21 +00:00
camcontrol
ccdconfig Removed -M and -N from getopt(3) call as well. 2001-09-11 09:49:36 +00:00
clri
comcontrol
cxconfig
dhclient
disklabel The defaults for bsize and fsize were interchanged. 2001-09-05 08:51:21 +00:00
dmesg
dump SECURITY. 2001-09-05 15:37:01 +00:00
dumpfs
dumpon
fdisk
fdisk_pc98
ffsinfo
fsck
fsck_ffs
fsck_ifs
fsck_msdosfs
fsdb
fsirand
growfs
i386
ifconfig Split hwcsum into rxcsum and txcsum components. 2001-09-18 20:13:48 +00:00
init
ip6fw
ipf
ipfstat IPFilter source code in contrib/ipfilter apparently can't make up its mind 2001-09-03 16:37:16 +00:00
ipfw A bunch of minor changes to the code (see below) for readability, code size 2001-09-20 13:52:49 +00:00
ipmon
ipnat
kget
kldconfig
kldload
kldstat
kldunload
ldconfig
md5 mdoc(7) police: removed hard sentence breaks. 2001-09-04 09:28:48 +00:00
mdconfig
mdmfs
mknod
mount
mount_cd9660
mount_ext2fs
mount_hpfs
mount_ifs
mount_msdosfs
mount_nfs Userland part of nfs client/server split and cleanup. 2001-09-18 23:34:44 +00:00
mount_ntfs mdoc(7) police: markup nits, improve -W option text, 2001-09-11 09:57:31 +00:00
mount_nullfs
mount_nwfs
mount_portalfs
mount_std
mount_umapfs
mount_unionfs
mountd Deal with module name changes and autoloading. 2001-09-20 02:15:17 +00:00
natd
newfs
newfs_msdos
nextboot
nfsd Deal with nfs server module changes for autoloading. 2001-09-20 02:18:06 +00:00
nfsiod
nologin
nos-tun
pc98
ping Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
ping6 Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
quotacheck
rcorder
reboot Use ${MACHINE}, it works with cross-builds. 2001-09-12 12:21:08 +00:00
restore
route
routed
rtsol
savecore fix savecore so that it works on the alpha after the size change 2001-09-13 21:19:13 +00:00
setkey
shutdown Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
slattach
spppcontrol
startslip
swapon
sysctl
tunefs
umount
vinum mdoc(7) police: restore fix in rev. 1.52; .Dt should be in CAPITALS. 2001-09-11 10:00:48 +00:00
Makefile Userland part of nfs client/server split and cleanup. 2001-09-18 23:34:44 +00:00
Makefile.inc