.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "GEN_REPLACE_ESTIMATOR" "9" "09 October 2005" "" "" .SH NAME gen_replace_estimator \- replace rate estimator configruation .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int gen_replace_estimator (struct gnet_stats_basic * \fIbstats\fB, struct gnet_stats_rate_est * \fIrate_est\fB, spinlock_t * \fIstats_lock\fB, struct rtattr * \fIopt\fB); \fR .SH "ARGUMENTS" .TP \fB\fIbstats\fB\fR basic statistics .TP \fB\fIrate_est\fB\fR rate estimator statistics .TP \fB\fIstats_lock\fB\fR statistics lock .TP \fB\fIopt\fB\fR rate estimator configuration TLV .SH "DESCRIPTION" .PP Replaces the configuration of a rate estimator by calling \fBgen_kill_estimator\fR and \fBgen_new_estimator\fR\&. .PP Returns 0 on success or a negative error code.