Date: Thu, 27 Sep 2001 16:44:27 -0700 (PDT) From: Luigi Rizzo <luigi@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet ip_dummynet.c ip_dummynet.h ip_fw.c ip_fw.h ip_input.c ip_output.c src/sys/net bridge.c src/sbin/ipfw ipfw.8 ipfw.c Message-ID: <200109272344.f8RNiSV40274@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
luigi 2001/09/27 16:44:27 PDT
Modified files:
sys/netinet ip_dummynet.c ip_dummynet.h ip_fw.c
ip_fw.h ip_input.c ip_output.c
sys/net bridge.c
sbin/ipfw ipfw.8 ipfw.c
Log:
Two main changes here:
+ implement "limit" rules, which permit to limit the number of sessions
between certain host pairs (according to masks). These are a special
type of stateful rules, which might be of interest in some cases.
See the ipfw manpage for details.
+ merge the list pointers and ipfw rule descriptors in the kernel, so
the code is smaller, faster and more readable. This patch basically
consists in replacing "foo->rule->bar" with "rule->bar" all over
the place.
I have been willing to do this for ages!
MFC after: 1 week
Revision Changes Path
1.90 +42 -18 src/sbin/ipfw/ipfw.8
1.111 +62 -20 src/sbin/ipfw/ipfw.c
1.38 +3 -3 src/sys/net/bridge.c
1.42 +21 -21 src/sys/netinet/ip_dummynet.c
1.15 +3 -3 src/sys/netinet/ip_dummynet.h
1.170 +243 -165 src/sys/netinet/ip_fw.c
1.59 +66 -63 src/sys/netinet/ip_fw.h
1.179 +3 -3 src/sys/netinet/ip_input.c
1.136 +3 -3 src/sys/netinet/ip_output.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109272344.f8RNiSV40274>
