Page MenuHomeFreeBSD

libpfctl: implement status counter accessor functions
ClosedPublic

Authored by kp on Aug 30 2023, 12:24 PM.
Tags
None
Referenced Files
F156831305: D41649.diff
Sat, May 16, 6:49 PM
Unknown Object (File)
Wed, May 6, 10:02 PM
Unknown Object (File)
Wed, May 6, 7:08 PM
Unknown Object (File)
Sun, May 3, 4:37 AM
Unknown Object (File)
Thu, Apr 23, 2:29 AM
Unknown Object (File)
Mon, Apr 20, 9:03 PM
Unknown Object (File)
Apr 7 2026, 8:36 AM
Unknown Object (File)
Apr 6 2026, 5:22 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