ENUM BATADV_BANDWIDTH_UNITS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 type kbit ⭐ (yes, kilobits, she's the smaller one and she knows it)
  • BATADV_BW_UNIT_MBIT β€” unit type mbit πŸ”₯ (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