HomeFreeBSD

MFC r349898, r349916:

Description

MFC r349898, r349916:

ipfilter commands, in this case ipf(8), passes its operations and rules
via an ioctl interface. Rules can be added or removed and stats and
counters can be zeroed out. As the ipfilter interprets these
instructions or operations they are stored in an integer called
addrem (add/remove). 0 is add, 1 is remove, and 2 is clear stats and
counters. Much of this is not documented. This commit documents these
operations by replacing simple integers with a self documenting
enum along with a few basic comments.

Details

Committed
cyJul 18 2019, 11:43 AM
Parents
rS350109: errno.h is no longer needed as of r340239 so remove it.
Branches
Unknown
Tags
Unknown