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
This commit is contained in:
parent
e86bddea9f
commit
c7bdafe2f1
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user