freebsd-skq/sys
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
..
alpha Export kernbase like on the i386. I dont think the alpha kernel is 2001-09-20 09:09:03 +00:00
amd64 Reserve an extra 16 bytes in case we have to grow the trapframe into 2001-09-19 05:44:12 +00:00
arm o Remove some GCCisms in src/powerpc/include/endian.h. 2001-08-30 00:04:19 +00:00
boot Add definition of SSC_GET_RTC. 2001-09-20 08:22:56 +00:00
cam Add a quirk entry for the Sony CLIE memory stick device. This will become 2001-09-19 00:35:09 +00:00
coda fix typo 2001-09-13 21:59:40 +00:00
compat Fix abuse of vtagtype. In addition, after this the linux programs will be 2001-09-19 12:35:51 +00:00
conf Use the kernbase symbol exported from locore.o instead of hardcoded magic 2001-09-20 09:19:38 +00:00
contrib IPFilter munges multicast address packets on the loopback interface. 2001-09-12 22:06:36 +00:00
crypto properly check DES weak key. KAME PR 363. 2001-07-03 17:46:48 +00:00
ddb Fill out some gaps in ia64 DDB support. This involves generalising DDB's 2001-09-15 11:06:07 +00:00
dev Add probe line for the AMD 761 northbridge chip. At least it detects now, 2001-09-20 05:13:12 +00:00
fs o Remove redundant securelevel/pid1 check in procfs_rw() -- this 2001-09-18 19:53:10 +00:00
geom KSE Milestone 2 2001-09-12 08:38:13 +00:00
gnu KSE Milestone 2 2001-09-12 08:38:13 +00:00
i4b KSE Milestone 2 2001-09-12 08:38:13 +00:00
i386 Reserve an extra 16 bytes in case we have to grow the trapframe into 2001-09-19 05:44:12 +00:00
ia64 Don't include NFS headers. I have no idea why they were here in the first 2001-09-20 11:02:18 +00:00
isa Recognize two cheap PCI 16550 devices : 2001-09-16 11:14:56 +00:00
isofs/cd9660 KSE Milestone 2 2001-09-12 08:38:13 +00:00
kern decrement the dumping variable after use so we can call it several times 2001-09-20 06:08:53 +00:00
libkern Fix a warning in bsearch(). Like index() etc, it de-qualifies its 2001-09-10 10:33:46 +00:00
modules Add nfs_lock.c to the build list. *blush* 2001-09-20 05:32:34 +00:00
net Use the current process's credentials rather than socket's cached. 2001-09-20 08:25:25 +00:00
netatalk KSE Milestone 2 2001-09-12 08:38:13 +00:00
netatm KSE Milestone 2 2001-09-12 08:38:13 +00:00
netgraph KSE Milestone 2 2001-09-12 08:38:13 +00:00
netinet A bunch of minor changes to the code (see below) for readability, code size 2001-09-20 13:52:49 +00:00
netinet6 Removed a wrong comment. 2001-09-20 08:04:21 +00:00
netipx KSE Milestone 2 2001-09-12 08:38:13 +00:00
netkey KSE Milestone 2 2001-09-12 08:38:13 +00:00
netnatm Change a couple of M_WAITOKs used in M_PREPEND() to M_TRYWAITs, which 2001-04-05 04:20:48 +00:00
netncp KSE Milestone 2 2001-09-12 08:38:13 +00:00
netns
netsmb Map errdos:67 to the ENOENT. 2001-08-21 09:16:57 +00:00
nfs Cleanup and split of nfs client and server code. 2001-09-18 23:32:09 +00:00
nfsclient Add the magic marker so that loader and kldload(2) can find this in 2001-09-20 04:57:34 +00:00
nfsserver Wrap a module around the init code so that we have somethign do do a 2001-09-20 05:13:43 +00:00
pc98 Cleanup and split of nfs client and server code. 2001-09-18 23:32:09 +00:00
pccard Ian Dowse had closed the race a little more in card ejection events. 2001-09-16 06:12:16 +00:00
pci Add probe line for the AMD 761 northbridge chip. At least it detects now, 2001-09-20 05:13:12 +00:00
posix4 KSE Milestone 2 2001-09-12 08:38:13 +00:00
powerpc Replicate a change from alpha/genassym.c to other arches. This should 2001-09-20 02:49:59 +00:00
rpc Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
sparc64 - If we ever do the per-cpu KTR stuff, the index won't be volatile as it 2001-09-18 21:46:26 +00:00
svr4
sys Solve our braindead sourcetree dependency on GCC in another way. 2001-09-19 17:51:23 +00:00
tools KSE Milestone 2 2001-09-12 08:38:13 +00:00
ufs KSE Milestone 2 2001-09-12 08:38:13 +00:00
vm KSE Milestone 2 2001-09-12 08:38:13 +00:00
Makefile