Page MenuHomeFreeBSD

snmp_pf: use libpfctl's pfctl_get_status() rather than DIOCGETSTATUS
ClosedPublic

Authored by kp on Aug 30 2023, 12:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 13, 2:40 AM
Unknown Object (File)
Sun, Oct 13, 2:11 AM
Unknown Object (File)
Sun, Oct 13, 2:10 AM
Unknown Object (File)
Sat, Oct 12, 6:31 PM
Unknown Object (File)
Sat, Oct 12, 6:31 PM
Unknown Object (File)
Sat, Oct 12, 6:31 PM
Unknown Object (File)
Fri, Oct 11, 5:06 PM
Unknown Object (File)
Oct 2 2024, 4:26 PM
Subscribers

Details

Summary

Prefer libpfctl functions over direct access to the ioctl whenever
possible. This will allow subsequent removal of DIOCGETSTATUS (in 15) as
there already is an nvlist-based alternative.

MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable