HomeFreeBSD

pf: Add per-rule timestamps for rule and eth_rule

Description

pf: Add per-rule timestamps for rule and eth_rule

Similar to ipfw rule timestamps, these timestamps internally are
uint32_t snaps of the system time in seconds. The timestamp is CPU local
and updated each time a rule or a state associated with a rule or state
is matched.

Reviewed by: kp
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D34970

Details

Provenance
linnemannr_gmail.comAuthored on Apr 22 2022, 11:54 AM
kpCommitted on Apr 22 2022, 5:53 PM
Reviewer
kp
Differential Revision
D34970: pf: Add per-rule timestamps for rule and eth_rule
Parents
rG1452bfcd9bbc: libexec/rc.d/hostapd: Down/up interface when interface is specified
Branches
Unknown
Tags
Unknown