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
F156945537: D41650.diff
Sun, May 17, 1:31 PM
Unknown Object (File)
Wed, May 13, 4:30 PM
Unknown Object (File)
Wed, May 13, 12:59 PM
Unknown Object (File)
Wed, May 13, 9:04 AM
Unknown Object (File)
Tue, May 12, 4:17 PM
Unknown Object (File)
Sun, May 10, 3:15 AM
Unknown Object (File)
Fri, May 8, 7:48 PM
Unknown Object (File)
Thu, May 7, 5:18 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