Main functional change is the implementation of matching of MAC header

fields as discussed in the commit to ip_fw.c:1.186

On top of this, a ton of non functional changes to clean up the code,
write functions to replace sections of code that were replicated
multiple times (e.g. the printing or matching of flags and options),
splitting long sections of inlined code into separate functions,
and the like.

I have tested the code quite a bit, but some typos (using one variable
in place of another) might have escaped.

The "embedded manpage" is a bit inconsistent, but i am leaving fixing
it for later. The current format makes no sense, it is over 40 lines
long and practically unreadable. We can either split it into sections
( ipfw -h options  , ipfw -h pipe , ipfw -h queue ...)
or remove it altogether and refer to the manpage.
This commit is contained in:
Luigi Rizzo 2002-05-12 20:52:21 +00:00
parent 77068a7fe2
commit d61ee39cd5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96476

File diff suppressed because it is too large Load Diff