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)
Thu, Sep 17, 5:39 PM
Unknown Object (File)
Sun, Sep 13, 5:27 AM
Unknown Object (File)
Sat, Sep 12, 12:54 PM
Unknown Object (File)
Fri, Sep 11, 1:43 AM
Unknown Object (File)
Wed, Sep 9, 10:52 PM
Unknown Object (File)
Sat, Sep 5, 6:37 PM
Unknown Object (File)
Sat, Sep 5, 11:02 AM
Unknown Object (File)
Sat, Sep 5, 12:42 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 Passed
Unit
No Test Coverage
Build Status
Buildable 53340
Build 50231: arc lint + arc unit