]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
No functional changes, but:
authorLuigi Rizzo <luigi@FreeBSD.org>
Mon, 8 Jul 2002 22:46:01 +0000 (22:46 +0000)
committerLuigi Rizzo <luigi@FreeBSD.org>
Mon, 8 Jul 2002 22:46:01 +0000 (22:46 +0000)
commitd63b346ab1ba6dcc243f3428b9cf1098324673c6
treebabf3536220f257663f7b3fe3a9a2de274aadc9e
parent7d4d3e90511f2f02226e49683f87788a106dbe02
No functional changes, but:

Following Darren's suggestion, make Dijkstra happy and rewrite the
ipfw_chk() main loop removing a lot of goto's and using instead a
variable to store match status.

Add a lot of comments to explain what instructions are supposed to
do and how -- this should ease auditing of the code and make people
more confident with it.

In terms of code size: the entire file takes about 12700 bytes of text,
about 3K of which are for the main function, ipfw_chk(), and 2K (ouch!)
for ipfw_log().
sys/netinet/ip_fw2.c