Page MenuHomeFreeBSD

libpfctl: Fix u_* counters
ClosedPublic

Authored by kp on Apr 8 2021, 12:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 27, 12:56 AM
Unknown Object (File)
Mon, Dec 23, 3:37 PM
Unknown Object (File)
Sun, Dec 15, 12:02 AM
Unknown Object (File)
Dec 9 2024, 1:51 AM
Unknown Object (File)
Dec 4 2024, 1:01 PM
Unknown Object (File)
Nov 12 2024, 4:48 AM
Unknown Object (File)
Nov 12 2024, 4:48 AM
Unknown Object (File)
Nov 12 2024, 4:16 AM
Subscribers

Details

Summary

struct pf_rule had a few counter_u64_t counters. Those couldn't be
usefully comminicated with userspace, so the fields were doubled up in
uint64_t u_* versions.

Now that we use struct pfctl_rule (i.e. a fully userspace version) we
can safely change the structure and remove this wart.

MFC after: 4 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 38412
Build 35301: arc lint + arc unit