gnet_stats_copy_rate_est(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 πŸŽ€


okay that's the whole page, bestie β€” signing off from ./net/core, October 2026. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from