HomeFreeBSD

snmp_pf: use libpfctl's pfctl_get_rules_info() rather than DIOCGETRULES

Description

snmp_pf: use libpfctl's pfctl_get_rules_info() rather than DIOCGETRULES

Prefer libpfctl functions over direct access to the ioctl whenever
possible.

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

Details

Provenance
kpAuthored on Nov 27 2023, 4:48 PM
Parents
rG47a0b59379c3: pfctl: use libpfctl instead of DIOCGETRULES directly
Branches
Unknown
Tags
Unknown