gnet_stats_copy_rate_est(9)
π NAME π
okay so welcome to the Kernel API Manual, bestie β this is the gnet_stats_copy_rate_est(9) page, and its whole thing is copying rate estimator statistics into a statistics TLV. iconic behavior, no cap β¨
π¦ SYNOPSIS π¦
int gnet_stats_copy_rate_est (struct gnet_dump *d , struct net_rate_estimator __rcu **rate_est );
πΈ ARGUMENTS πΈ
dβ the dumping handle. that's the vibe.rate_estβ the rate estimator. main character energy fr.
β¨ DESCRIPTION β¨
so basically this function appends the rate estimator statistics to the top level TLV created by gnet_stats_start_copy. she's adding to the pile, not starting a whole new one π
Returns 0 on success. but if there wasn't enough room in the socket buffer, it returns -1 and the statistic lock is released. yes, statistic lock released β that detail matters, don't skip it π
π SEE ALSO π
- Kernel file
./net/core/gen_stats.c gnet_stats_start_copy_compat(9)gnet_stats_start_copy(9)gnet_stats_copy_basic(9)gnet_stats_copy_basic_hw(9)gnet_stats_copy_queue(9)gnet_stats_copy_app(9)gnet_stats_finish_copy(9)
okay that's the whole page, bestie β signing off from ./net/core, October 2026. mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms