batadv_bla_i...bone_gw_orig(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_bla_i...bone_gw_orig β€” Kernel API Manual, bestie edition ✨

okay so this is a page from the Kernel API Manual, and the star of the show is batadv_bla_is_backbone_gw_orig. Yes the name is a whole mouthful, no we are not changing it, it's iconic in a chaotic way 🫢


🌸 NAME 🌸

batadv_bla_is_backbone_gw_orig β€” literally just checks if the originator is a gateway for the VLAN identified by vid. That's it. That's the whole vibe check πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

bool batadv_bla_is_backbone_gw_orig (struct batadv_priv *bat_priv , u8
*orig , unsigned short vid );

look at her. returns a bool, takes three lil arguments, knows exactly what she wants ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • bat_priv β€” the bat priv with all the mesh interface information πŸ‘‘ like, the whole mesh interface's entire personality lives in here
  • orig β€” originator mac address 🏷️ this is the MAC we're asking about
  • vid β€” VLAN identifier 🌈 which VLAN we're checking, bestie

πŸ’– RETURN πŸ’–

returns true if orig is a backbone for this vid, and false otherwise. simple. clean. no notes πŸ”₯

ngl this is the easiest part of the whole page, so enjoy it while it lasts 😭

⭐ SEE ALSO ⭐

okay this is the part where the manpage lists literally everyone she knows. like a whole group chat of related functions, and we are NOT leaving anyone out 🫢

and also, she lives in the kernel file ./net/batman-adv/bridge_loop_avoidance.c β€” that's her address, don't come for her πŸ πŸ’œ


alright bestie, that's the whole page πŸ’– go read the source, it's giving main character energy and honestly it ate 🌟

sign-off time πŸŽ€ this page came from source ./net/batman-adv, dated October 2026 β€” iykyk, catch you in the kernel 🌈✨

πŸ“¦ where this page comes from