ENUM BATADV_BANDWIDTH_UNITS(9)
π enum batadv_bandwidth_units(9) π
okay so bestie, welcome to the Kernel API Manual β this is one of those tiny pages that's short but lowkey iconic? It's literally just an enum that tells you what flavor of bandwidth unit you're dealing with in batman-adv land. no cap, that's the whole vibe. π¦
β¨ NAME β¨
enum batadv_bandwidth_units β bandwidth unit types π
Like, the types of units you can use when you're talking about bandwidth. that's it. that's the girl. π
πΈ SYNOPSIS πΈ
enum batadv_bandwidth_units {
BATADV_BW_UNIT_KBIT ,
BATADV_BW_UNIT_MBIT
};
bestie look at it. two constants. two. it's giving minimalism, it's giving main character energy, it's giving "I don't need a hundred members, I need two." πβ¨
π Constants π
okay so these are the actual members of the enum, and there are exactly two of them, so let's give each one its moment:
BATADV_BW_UNIT_KBITβ unit typekbitβ (yes, kilobits, she's the smaller one and she knows it)BATADV_BW_UNIT_MBITβ unit typembitπ₯ (megabits, the louder one, the one that shows up to the group chat with big energy)
that's the whole list. no secret third option. don't go looking for one. π«Ά
π¦ SEE ALSO π¦
- Kernel file
./net/batman-adv/gateway_common.hβ go read it, iykyk π
ngl if you were hoping for more options or flags or literally anything elseβ¦ there aren't any. this page is a two-constant situation and we stan a compact icon. π
k byeeee, this little page lives in ./net/batman-adv and it's dated October 2026 β go forth and unit-ify your bandwidth correctly, bestie π
ππ
π¦ 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