batadv_purge_orig_neighbors(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_purge_orig_neighbors (9) β€” aka the batadv_purge_orig_neighbors(9) page, from the Kernel API Manual, bestie πŸŽ€

okay so picture this: you're deep in the mesh, right, and somebody's originator node has collected a bunch of neighbors, and some of them are just... not it anymore. πŸ™ˆ This function is the cleanup fairy. It's the "girl, block him" of batman-adv. Let's get into it ✨


🌸 NAME 🌸

batadv_purge_orig_neighbors β€” purges neighbors from originator. literally what it says on the tin, no cap πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

bool batadv_purge_orig_neighbors (struct batadv_priv *bat_priv , struct
       batadv_orig_node *orig_node );

note the bool return, bestie β€” she gives you answers πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • bat_priv β€” the bat priv with all the mesh interface information, i.e. the whole entire vibe of your mesh interface lives in here 🫢
  • orig_node β€” orig node which is to be checked. this is the main character we're doing a vibe check on ⭐

πŸ’– RETURN πŸ’–

true if any neighbor was purged, false otherwise. so like, true = we cleaned house ✨ and false = nobody needed to go, everything's chill 🌈


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./net/batman-adv/originator.c β€” that's where the magic lives, go read her πŸ“–

that's a whole friend group, fr fr 🧚


ok that's the whole page!! this one's from ./net/batman-adv, dated October 2026, and it's batadv_purge_orig_neighbors(9) β€” go purge some neighbors, bestie, you got this πŸ’œπŸŽ€βœ¨
πŸ“¦ where this page comes from