]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
dummynet: Move packet counters into dn_cfg
authorKristof Provost <kp@FreeBSD.org>
Tue, 9 Mar 2021 15:27:31 +0000 (16:27 +0100)
committerKristof Provost <kp@FreeBSD.org>
Tue, 23 Mar 2021 17:01:58 +0000 (18:01 +0100)
commitcd5671efc0190ba0f9eb41bba42e703277af20c3
tree5ce421783d72d56230e2a6af76cc63ee5b9a998d
parentdf7549775c4e36d8ac0ed6cce2525203beb2b32c
dummynet: Move packet counters into dn_cfg

Move the packets counters into the dn_cfg struct. This reduces the
global name space use for dummynet and will make future work for things
like vnet support and re-use in pf easier.

Reviewed by: donner
MFC after: 2 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D29245
sys/netpfil/ipfw/dn_aqm.h
sys/netpfil/ipfw/dn_sched_fq_codel.h
sys/netpfil/ipfw/dn_sched_fq_pie.c
sys/netpfil/ipfw/ip_dn_io.c
sys/netpfil/ipfw/ip_dn_private.h