batadv_v_iface_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ batadv_v_iface_enable(9) ✨

okay so bestie, welcome to the Kernel API Manual entry for batadv_v_iface_enable β€” and yes this is exactly as iconic as it sounds πŸ’…


🌸 NAME 🌸

batadv_v_iface_enable β€” turn on the B.A.T.M.A.N. V protocol on an interface πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

int batadv_v_iface_enable (struct batadv_hard_iface *hard_iface );

πŸ’œ ARGUMENTS πŸ’œ

  • hard_iface β€” the interface you're enabling, bestie. that's the one. 🫢

✨ DESCRIPTION ✨

So what does it actually do? It enables the ELP and OGM components for hard_iface. Both of them. Together. Slay πŸ’…

And here's the part that's giving responsible main character energy: if something goes wrong, the partially enabled state gets rolled back before the function returns. no half-on vibes left behind, periodt πŸ™ˆ


⭐ RETURN ⭐

  • 0 on success πŸŽ‰
  • a negative error number in case of failure 😭

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./net/batman-adv/bat_v.c β€” and honestly, the whole friend group showed up for this one:


okay that's the whole page, ily, go enable some interfaces πŸ’–

signed, sealed, delivered from ./net/batman-adv β€” dated October 2026 πŸŽ€βœ¨

πŸ“¦ where this page comes from