HomeFreeBSD

ipfilter commands, in this case ipf(8), passes its operations and rules

Description

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). 1 is add, 2 is remove, and 3 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.

MFC after: 1 week

Details

Provenance
cyAuthored on
Parents
rS349897: Rename pmap_page_dirty() to pmap_pte_dirty().
Branches
Unknown
Tags
Unknown