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)
Tue, Oct 7, 2:33 PM
Unknown Object (File)
Wed, Oct 1, 4:05 AM
Unknown Object (File)
Sun, Sep 14, 1:21 PM
Unknown Object (File)
Sep 9 2025, 4:44 AM
Unknown Object (File)
Aug 21 2025, 10:22 AM
Unknown Object (File)
Aug 19 2025, 2:43 PM
Unknown Object (File)
Aug 15 2025, 12:18 AM
Unknown Object (File)
Aug 14 2025, 11:52 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