ENUM NET_SHAPER_METRIC(9)
π enum net_shaper_metric(9) β the Kernel API Manual glow-up β¨
okay so bestie, gather round, because we're talking about enum net_shaper_metric(9) β literally the enum that lists the different metric supported by the shaper. that's it, that's the whole vibe. it's giving "small but iconic" π
πΈ NAME πΈ
enum net_shaper_metric β the different metric supported by the shaper, no cap π
β¨ SYNOPSIS β¨
here's the whole thing, bestie, look how cute and tiny it is:
enum net_shaper_metric {
NET_SHAPER_METRIC_BPS ,
NET_SHAPER_METRIC_PPS
};
two constants, zero drama. we love a minimal queen π
π§ Constants π§
NET_SHAPER_METRIC_BPS
the shaper operates on a bits per second basis. bits! per! second! that's the whole personality π¦
NET_SHAPER_METRIC_PPS
the shaper operates on a packets per second basis. packets, bestie, packets π¦β¨
π₯ SEE ALSO π₯
- the kernel file
./include/uapi/linux/net_shaper.hβ go read it, iykyk π enum net_shaper_scope(9)β its sibling, also serving looks π
ngl there are no warnings here, this page is genuinely just two constants being unproblematic. main character energy only π
and that's the whole page, bestie π«Ά β sourced straight from ./include/uapi/linux, dated October 2026, from the Kernel API Manual itself. slay, ate, periodt. ππ
π¦ 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