HomeFreeBSD

libpfctl: add pfctl_get_rule_h()

Description

libpfctl: add pfctl_get_rule_h()

Add a handle variant of pfctl_get_rule(). This converts us from using
the nvlist variant to the netlink variant, and also moves us closer to a
world where all libpfctl functions take the handle.

While here have pfctl use the new function.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
kpAuthored on Fri, May 24, 11:15 AM
Parents
rG2780e5f43d5b: linux: allow RTM_GETADDR without full ifaddrmsg argument
Branches
Unknown
Tags
Unknown