batadv_v_primary_iface_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_v_primary_iface_set(9) β€” Kernel API Manual

okay so bestie, welcome to the batadv_v_primary_iface_set page ✨ this is from the Kernel API Manual, and it's literally the glow-up moment for your primary interface. sit down, sip ur drink, let's get into it πŸ“


🌸 NAME 🌸

batadv_v_primary_iface_set β€” apply primary interface state πŸ’«

like, the whole vibe of this function is "new primary just dropped, time to update everything" πŸ‘‘


✨ SYNOPSIS ✨

void batadv_v_primary_iface_set (struct batadv_hard_iface *hard_iface );

no cap, that's the whole signature 🫢 note the void β€” this one doesn't hand anything back, it just does the thing and dips.


πŸŽ€ ARGUMENTS πŸŽ€

  • hard_iface β€” the interface which just became the primary πŸ‘‘ like, this is the hard_iface that literally just got promoted to main character energy. the one that just became the primary. the chosen one. periodt πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

bestie there are SO many siblings, it's giving huge family reunion 😭 all of these live in the kernel file ./net/batman-adv/bat_v.c:

highkey go read them all, iykyk πŸ”₯


fr fr, this is the whole page β€” no options, no exit statuses, no environment variables, no bugs to warn u about. just the primary interface moment and its 25 besties πŸ’–

🌈 that's a wrap bestie!! brought to u by ./net/batman-adv, dated October 2026, and catalogued under batadv_v_primary_iface_set(9) β€” slay, ate, no crumbs πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from