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

Details

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