gen_replace_estimator(9)

gen_replace_estimator9

Replace rate estimator configuration

Usage

int gen_replace_estimator(struct gnet_stats_basic_packed * bstats, struct gnet_stats_basic_cpu __percpu * cpu_bstats, struct gnet_stats_rate_est64 * rate_est, spinlock_t * stats_lock, seqcount_t * running, struct nlattr * opt);

Arguments

bstats

basic statistics

cpu_bstats

bstats per cpu

rate_est

rate estimator statistics

stats_lock

statistics lock

running

qdisc running seqcount (might be NULL)

opt

rate estimator configuration TLV

Overview

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.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.