table of contents
other versions
GEN_REPLACE_ESTIMATO(9) | Linux Networking | GEN_REPLACE_ESTIMATO(9) |
NAME¶
gen_replace_estimator - replace rate estimator configurationSYNOPSIS¶
int gen_replace_estimator(struct gnet_stats_basic_packed * bstats, struct gnet_stats_basic_cpu __percpu * cpu_bstats, struct net_rate_estimator __rcu ** rate_est, spinlock_t * stats_lock, seqcount_t * running, struct nlattr * opt);
ARGUMENTS¶
struct gnet_stats_basic_packed * bstatsbasic statistics
struct gnet_stats_basic_cpu __percpu * cpu_bstats
bstats per cpu
struct net_rate_estimator __rcu ** rate_est
rate estimator statistics
spinlock_t * stats_lock
statistics lock
seqcount_t * running
qdisc running seqcount (might be NULL)
struct nlattr * opt
rate estimator configuration TLV
DESCRIPTION¶
Replaces the configuration of a rate estimator by calling gen_kill_estimator and gen_new_estimator.Returns 0 on success or a negative error code.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |