HomeFreeBSD

libpfctl: Switch to pfctl_rule

Description

libpfctl: Switch to pfctl_rule

Stop using the kernel's struct pf_rule, switch to libpfctl's pfctl_rule.
Now that we use nvlists to communicate with the kernel these structures
can be fully decoupled.

Reviewed by: glebius
MFC after: 4 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D29644

(cherry picked from commit e9eb09414a8de8f3329f51b48c90a5e5ac8f09cf)

Details

Provenance
kpAuthored on Apr 8 2021, 8:31 AM
Reviewer
glebius
Differential Revision
D29644: libpfctl: Switch to pfctl_rule
Parents
rGc3f3f537715c: pf: Move prototypes for userspace functions to userspace header
Branches
Unknown
Tags
Unknown