---
name: "gnet_stats_copy_rate_est"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/gnet_stats_copy_rate_est"
---

# gnet\_stats\_copy\_rate\_est(9)

copy rate estimator statistics into statistics TLV

## NAME

gnet\_stats\_copy\_rate\_est - copy rate estimator statistics into statistics TLV

## SYNOPSIS

**int gnet\_stats\_copy\_rate\_est(struct gnet\_dump \*** *d***, const struct gnet\_stats\_basic\_packed \*** *b***, struct gnet\_stats\_rate\_est64 \*** *r***);**

## ARGUMENTS

*d*

dumping handle

*b*

basic statistics

*r*

rate estimator statistics

## DESCRIPTION

Appends the rate estimator statistics to the top level TLV created by **gnet\_stats\_start\_copy**.

Returns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.

## COPYRIGHT
