diff options
author | Kristof Provost <kp@FreeBSD.org> | 2020-12-05 13:38:12 +0000 |
---|---|---|
committer | Kristof Provost <kp@FreeBSD.org> | 2021-01-05 22:35:36 +0000 |
commit | c7bdafe2f1b703fdf72489019edc3d6b9e5483da (patch) | |
tree | dbbbc4783fe0e16266e647b947afe7c65913a9cf | |
parent | e86bddea9fe62d5093a1942cf21950b3c5ca62e5 (diff) | |
download | src-c7bdafe2f1b703fdf72489019edc3d6b9e5483da.tar.gz src-c7bdafe2f1b703fdf72489019edc3d6b9e5483da.zip |
pf: Remove unused fields from pf_krule
The u_* counters are used only to communicate with userspace, as
userspace cannot use counter_u64. As pf_krule is not passed to userspace
these fields are now obsolete.
MFC after: 2 weeks
Sponsored by: Orange Business Services
Differential Revision: https://reviews.freebsd.org/D27759
-rw-r--r-- | sys/net/pfvar.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h index 846c6b9015e7..c0828fa420f9 100644 --- a/sys/net/pfvar.h +++ b/sys/net/pfvar.h @@ -391,10 +391,6 @@ struct pf_krule { struct pf_addr addr; u_int16_t port; } divert; - - uint64_t u_states_cur; - uint64_t u_states_tot; - uint64_t u_src_nodes; }; struct pf_ksrc_node { |