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)
Thu, Apr 24, 6:52 AM
Unknown Object (File)
Wed, Apr 23, 10:09 PM
Unknown Object (File)
Wed, Apr 23, 10:08 PM
Unknown Object (File)
Wed, Apr 23, 10:08 PM
Unknown Object (File)
Wed, Apr 23, 10:05 PM
Unknown Object (File)
Wed, Apr 23, 9:39 PM
Unknown Object (File)
Wed, Apr 23, 9:36 PM
Unknown Object (File)
Mar 26 2025, 9:49 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