Page MenuHomeFreeBSD

libpfctl: Fix u_* counters
ClosedPublic

Authored by kp on Apr 8 2021, 12:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 4, 1:01 PM
Unknown Object (File)
Tue, Nov 12, 4:48 AM
Unknown Object (File)
Tue, Nov 12, 4:48 AM
Unknown Object (File)
Tue, Nov 12, 4:16 AM
Unknown Object (File)
Oct 22 2024, 1:50 PM
Unknown Object (File)
Oct 22 2024, 1:50 PM
Unknown Object (File)
Oct 22 2024, 1:31 PM
Unknown Object (File)
Oct 19 2024, 3:49 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable