batadv_purge_orig(9)
π batadv_purge_orig(9) β a Kernel API Manual moment
okay so bestie, welcome to the batadv_purge_orig(9) page, straight out of the Kernel API Manual β¨ this one's short and sweet and honestly it's giving "small function, big responsibility" energy. let's get into it π«Ά
β¨ NAME β¨
batadv_purge_orig β the periodic worker that goes around purging stale originator entries π§Ήπ like it's doing a closet clean-out on a schedule, and honestly? iconic.
πΈ SYNOPSIS πΈ
void batadv_purge_orig (struct work_struct *work );
literally one argument, no drama, no cap π
π ARGUMENTS π
workβ delayed work that's embedded right up in thebat_privπ«Ά that's it, that's the whole argument, and yes she's astruct work_struct *.
π¦ DESCRIPTION π¦
so here's the vibe: this thing invokes batadv_purge_orig_ref to drop the stale originators ποΈβ¨ and then it reschedules its next run after BATADV_ORIG_WORK_PERIOD milliseconds β° like a main character who's already planning her next appearance. no cap, that's the whole bit.
bestie note: the reschedule is part of the deal β it's a periodic worker, so it keeps coming back. BATADV_ORIG_WORK_PERIOD is the number of milliseconds it waits before the next round π
π SEE ALSO π
bestie, brace yourself, the friend group is LARGE π but every single one of them is here, fr fr:
- Kernel file
./net/batman-adv/originator.cπ 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_purge_orig_neighbors(9)batadv_find_best_neighbor(9)batadv_purge_orig_node(9)batadv_purge_orig_ref(9)batadv_orig_dump(9)
and that's the whole page, bestie π tysm for reading, mwah π
sign-off time β this one lives in ./net/batman-adv and the date on the tin is October 2026 β go off, batadv_purge_orig(9), we love to see it ππ
π¦ 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