Page MenuHomeFreeBSD

libpfctl: implement status counter accessor functions
ClosedPublic

Authored by kp on Aug 30 2023, 12:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 7, 8:36 AM
Unknown Object (File)
Mon, Apr 6, 5:22 PM
Unknown Object (File)
Sun, Apr 5, 11:49 AM
Unknown Object (File)
Fri, Apr 3, 1:50 PM
Unknown Object (File)
Tue, Mar 31, 4:30 AM
Unknown Object (File)
Mar 4 2026, 10:01 AM
Unknown Object (File)
Feb 20 2026, 7:24 PM
Unknown Object (File)
Feb 19 2026, 6:16 AM
Subscribers

Details

Summary

The new nvlist-based status call allows us to easily add new counters.
However, the libpfctl interface defines a TAILQ, so it's not quite
trivial to find the counter consumers are interested in.

Provide convenience functions to access the counters.

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 53340
Build 50231: arc lint + arc unit