Page MenuHomeFreeBSD

libpfctl: implement status counter accessor functions
ClosedPublic

Authored by kp on Aug 30 2023, 12:24 PM.
Tags
None
Referenced Files
F132448797: D41649.id126678.diff
Fri, Oct 17, 1:02 AM
Unknown Object (File)
Tue, Sep 23, 5:06 PM
Unknown Object (File)
Sep 10 2025, 4:54 PM
Unknown Object (File)
Sep 9 2025, 8:04 PM
Unknown Object (File)
Sep 9 2025, 5:17 PM
Unknown Object (File)
Sep 9 2025, 6:18 AM
Unknown Object (File)
Sep 8 2025, 12:51 PM
Unknown Object (File)
Aug 17 2025, 8:24 PM
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 Not Applicable
Unit
Tests Not Applicable