ENUM BATADV_GW_MODES(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum batadv_gw_modes β€” gateway mode of node

Okay bestie, so this is enum batadv_gw_modes(9) from the Kernel API Manual β€” and it is literally just the three gateway modes a batman-adv node can vibe in. That's it. That's the whole page. Let's go πŸŽ€


✨ SYNOPSIS ✨

enum batadv_gw_modes {
    BATADV_GW_MODE_OFF ,
    BATADV_GW_MODE_CLIENT ,
    BATADV_GW_MODE_SERVER

};

Three constants, zero drama. Slay πŸ’…


πŸ¦‹ CONSTANTS πŸ¦‹

  • BATADV_GW_MODE_OFF β€” gateway mode is disabled, like fully off, not doing gateway things, no cap πŸ™ˆ
  • BATADV_GW_MODE_CLIENT β€” this node sends DHCP requests to gateway servers, so it's the one asking for the hookup 🫢
  • BATADV_GW_MODE_SERVER β€” this node announces itself as a gateway server, main character energy, it's the one being the hookup πŸ‘‘
Not me listing all three like a good student β€” yes, those are all of them, and yes, you needed to see them all. Periodt. πŸ’œ

🌈 SEE ALSO 🌈

  • Kernel file ./include/uapi/linux/batman_adv.h enum
  • batadv_tt_client_flags(9)
  • enum batadv_mcast_flags_priv(9)
  • enum batadv_nl_attrs(9)
  • enum batadv_nl_commands(9)
  • enum batadv_tp_meter_reason(9)
  • enum batadv_ifla_attrs(9)

Go read them, they're all obsessed with you too πŸ’–


Okay that's the page, bestie! Sourced straight from ./include/uapi/linux, version dated October 2026, and it's been enum batadv_gw_modes(9) the whole time 🧚✨ bye pookie πŸŽ€

πŸ“¦ where this page comes from