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)
Sat, Feb 7, 10:14 PM
Unknown Object (File)
Sat, Feb 7, 6:24 PM
Unknown Object (File)
Sat, Jan 31, 4:10 AM
Unknown Object (File)
Jan 3 2026, 6:20 PM
Unknown Object (File)
Dec 29 2025, 1:58 AM
Unknown Object (File)
Nov 28 2025, 7:19 AM
Unknown Object (File)
Nov 19 2025, 8:39 PM
Unknown Object (File)
Nov 19 2025, 1:40 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 Not Applicable
Unit
Tests Not Applicable