batadv_purge_orig_neighbors(9)
π
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 π
batadv_orig_hash_find(9)batadv_compare_orig(9)batadv_orig_node_vlan_get(9)batadv_vlan_id_valid(9)batadv_orig_node_vlan_new(9)batadv_orig_node_vlan_release(9)batadv_originator_init(9)batadv_neigh_ifinfo_release(9)batadv_hardif_neigh_release(9)batadv_neigh_node_release(9)batadv_orig_router_get(9)batadv_orig_to_router(9)batadv_orig_ifinfo_get(9)batadv_orig_ifinfo_new(9)batadv_neigh_ifinfo_get(9)batadv_neigh_ifinfo_new(9)batadv_neigh_node_get(9)batadv_hardif_neigh_create(9)batadv_hardif_neigh_get_or_create(9)batadv_hardif_neigh_get(9)batadv_neigh_node_create(9)batadv_neigh_node_get_or_create(9)batadv_hardif_neigh_dump(9)batadv_orig_ifinfo_release(9)batadv_orig_node_free_rcu(9)batadv_orig_node_release(9)batadv_originator_free(9)batadv_orig_node_new(9)batadv_purge_neigh_ifinfo(9)batadv_purge_orig_ifinfo(9)batadv_find_best_neighbor(9)batadv_purge_orig_node(9)batadv_purge_orig_ref(9)batadv_purge_orig(9)batadv_orig_dump(9)
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'sbatadv_purge_orig_neighbors(9)β go purge some neighbors, bestie, you got this ππβ¨
π¦ 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