gen_replace_estimator — replace rate estimator configuration
int gen_replace_estimator
(struct gnet_stats_basic * bstats, struct gnet_stats_rate_est * rate_est, spinlock_t * stats_lock, struct nlattr * opt);
basic statistics
rate estimator statistics
statistics lock
rate estimator configuration TLV
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.