batadv_v_primary_iface_set(9)
π 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:
batadv_v_iface_activate(9)batadv_v_iface_enable(9)batadv_v_iface_disable(9)batadv_v_iface_update_mac(9)batadv_v_hardif_neigh_init(9)batadv_v_neigh_dump_neigh(9)batadv_v_neigh_dump_hardif(9)batadv_v_neigh_dump(9)batadv_v_orig_dump_subentry(9)batadv_v_orig_dump_entry(9)batadv_v_orig_dump_bucket(9)batadv_v_orig_dump(9)batadv_v_neigh_cmp(9)batadv_v_neigh_is_sob(9)batadv_v_init_sel_class(9)batadv_v_gw_throughput_get(9)batadv_v_gw_get_best_gw_node(9)batadv_v_gw_is_eligible(9)batadv_v_gw_dump_entry(9)batadv_v_gw_dump(9)batadv_v_hardif_init(9)batadv_v_mesh_init(9)batadv_v_mesh_free(9)batadv_v_init(9)batadv_v_deinit(9)
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
- 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