HomeFreeBSD

pfctl: Use the new DIOCGETRULENV ioctl

Description

pfctl: Use the new DIOCGETRULENV ioctl

Create wrapper functions to handle the parsing of the nvlist and move
that code into pfctl_ioctl.c.
At some point this should be moved into a libpfctl.

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

(cherry picked from commit 0d6c8174ef2f3d8d6fb02ec97753a0937796a5c6)

Details

Provenance
kpAuthored on Mar 26 2021, 10:22 AM
Differential Revision
D29560: pfctl: Use the new DIOCGETRULENV ioctl
Parents
rGa3e4fd8b3393: pf: Implement nvlist variant of DIOCGETRULE
Branches
Unknown
Tags
Unknown