batadv_iv_o...ry_iface_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ batadv_iv_ogm_primary_iface_set(9) πŸ¦‹

okay so bestie, welcome to the Kernel API Manual β€” yes that's the manual, we're literally in the kernel docs rn, put your hair up, it's about to be iconic ✨


πŸ’… NAME πŸ’…

batadv_iv_ogm_primary_iface_set β€” the glow-up function that applies primary interface state to a batadv_hard_iface, i.e. when one of your interfaces gets crowned the primary, this is the lil guy that handles the fallout πŸ‘‘


✨ SYNOPSIS ✨

void batadv_iv_ogm_primary_iface_set (struct batadv_hard_iface *hard_iface );

void return, no cap β€” it just does the thing and dips 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • hard_iface β€” the interface that just became the primary. like it literally just got the crown five seconds ago, main character energy fr fr πŸ’–

🌸 DESCRIPTION 🌸

so here's the tea β˜• the primary interface uses the full TTL for its own OGMs, right? so this function adjusts the TTL stored in the OGM template buffer accordingly. that's it. that's the whole job. lowkey simple, highkey essential πŸ’€

like β€” template buffer said "hold on, lemme match the vibe of the new primary," and this function said "say less" πŸ’…


πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group, the entire group chat, no one left out 🫢 β€” kernel file ./net/batman-adv/bat_iv_ogm.c and:


ngl if you're reading the whole list, you're so valid. touch grass after tho 🌱

mwah πŸ’‹ this page came from ./net/batman-adv and it's stamped October 2026 β€” yes, the future. she's ahead of her time, periodt. eat your heart out batadv_iv_o...ry_iface_set(9) πŸ’œ

πŸ“¦ where this page comes from