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)
Fri, Nov 8, 11:27 AM
Unknown Object (File)
Fri, Nov 8, 9:41 AM
Unknown Object (File)
Sep 7 2024, 1:35 PM
Unknown Object (File)
Aug 16 2024, 2:26 AM
Unknown Object (File)
Aug 9 2024, 12:53 AM
Unknown Object (File)
Aug 9 2024, 12:53 AM
Unknown Object (File)
Aug 9 2024, 12:53 AM
Unknown Object (File)
Aug 5 2024, 6:40 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