STRUCT GNET_STATS_RATE_EST(9)
π struct gnet_stats_rate_est(9) π
okay so bestie, welcome to the Kernel API Manual β yes we're reading kernel headers now, we contain multitudes β¨ this one is all about struct gnet_stats_rate_est, and honestly? it's giving "small but powerful." a whole rate estimator, right there in your uapi headers π
β¨ NAME β¨
struct gnet_stats_rate_est β the rate estimator, periodt. that's literally the whole job π
πΈ SYNOPSIS πΈ
struct gnet_stats_rate_est {
__u32 bps;
__u32 pps;
};
look at her. two fields, zero drama, immaculate vibes π¦
π Members π
bpsβ the current byte rate π like, how many bytes per second are we talking rnppsβ the current packet rate π how many packets per second, same energy, different unit
two lil __u32s and they're both doing main character work, no cap π₯
π¦ SEE ALSO π¦
- Kernel file
./include/uapi/linux/gen_stats.hβ the home base, go say hi πΈ struct gnet_stats_basic(9)struct gnet_stats_rate_est64(9)struct gnet_stats_queue(9)struct gnet_estimator(9)
it's a whole friend group fr fr, go read them all, iykyk π
okay that's the whole page bestie, go forth and estimate those rates π§ and hey β this lil masterpiece lives in ./include/uapi/linux, dated October 2026, and it's filed under struct gnet_stats_rate_est(9). slay, bye πβ¨π«Ά
π¦ 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