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, Jul 21, 7:33 PM
Unknown Object (File)
Sun, Jul 19, 2:00 AM
Unknown Object (File)
Sun, Jul 12, 5:12 PM
Unknown Object (File)
Thu, Jun 25, 2:16 AM
Unknown Object (File)
Jun 3 2026, 11:26 PM
Unknown Object (File)
Jun 3 2026, 11:25 PM
Unknown Object (File)
May 23 2026, 7:49 AM
Unknown Object (File)
May 21 2026, 10:59 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