ENUM NET_SHAPER_METRIC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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