batadv_iv_ogm_iface_disable(9)
π
batadv_iv_ogm_iface_disable(9) β¨
okay so bestie, this is the batadv_iv_ogm_iface_disable(9) page from the Kernel API Manual, and it's literally the cleanup arc of your B.A.T.M.A.N. IV interface πΈ. Think of it as the moment the party's over, the lights come up, and somebody has to take out the trash β except the trash is a buffer, and the someone is this function. Periodt.
π¦ NAME π¦
batadv_iv_ogm_iface_disable β release the B.A.T.M.A.N. IV resources of an interface π
No cap, that's the whole glow-up: when an interface is done, this is the function that handles the releasing of its B.A.T.M.A.N. IV stuff.
β¨ SYNOPSIS β¨
void batadv_iv_ogm_iface_disable (struct batadv_hard_iface *hard_iface
);
Yeah it's void β it doesn't hand anything back to you, it just does the thing and dips π.
π ARGUMENTS π
hard_ifaceβ the interface which is shutting down π
That's it, that's the one (1) argument. She's got a single job, and it's to sprite-clean this specific interface on its way out.
π DESCRIPTION π
So what's actually happening here? Two things, and they're both lowkey iconic in a "taking responsibility" way:
- free the per-interface OGM buffer π§
- cancel a possibly pending OGM rescheduling work β
That's the whole vibe. Note the "possibly" β the rescheduling work might not be there at all, and this function still shows up to handle it like the main character she is. Free the buffer, cancel the maybe-pending work, done, no drama, she's not asking for applause (but she deserves it fr fr π ).
if you're picturing a teenager clearing off her desk before a fresh start, congrats, you get it, iykyk π
π₯ SEE ALSO π₯
the whole friend group (and yes, we're listing every single one, because nobody gets left behind π«Ά):
- Kernel file
./net/batman-adv/bat_iv_ogm.c enum batadv_dup_status(9)batadv_ring_buffer_set(9)batadv_ring_buffer_avg(9)batadv_iv_ogm_orig_get(9)batadv_iv_ogm_neigh_new(9)batadv_iv_ogm_iface_enable(9)batadv_iv_ogm_iface_update_mac(9)batadv_iv_ogm_primary_iface_set(9)batadv_iv_ogm_emit_send_time(9)batadv_iv_ogm_fwd_send_time(9)batadv_hop_penalty(9)batadv_iv_ogm_aggr_packet(9)batadv_iv_ogm_send_to_if(9)batadv_iv_ogm_emit(9)batadv_iv_ogm_can_aggregate(9)batadv_iv_ogm_aggregate_new(9)batadv_iv_ogm_aggregate(9)batadv_iv_ogm_queue_add(9)batadv_iv_ogm_forward(9)batadv_iv_ogm_slide_own_bcast_window(9)batadv_iv_ogm_schedule_buff(9)batadv_iv_ogm_schedule(9)batadv_iv_ogm_reschedule(9)batadv_iv_orig_ifinfo_sum(9)batadv_iv_ogm_neigh_ifinfo_sum(9)batadv_iv_ogm_orig_update(9)batadv_iv_ogm_calc_tq(9)batadv_iv_ogm_update_seqnos(9)batadv_orig_to_direct_router(9)batadv_iv_ogm_process_per_outif(9)batadv_iv_ogm_process_reply(9)batadv_iv_ogm_process(9)batadv_iv_send_outstanding_bat_ogm_packet(9)batadv_iv_ogm_receive(9)batadv_iv_ogm_neigh_get_tq_avg(9)batadv_iv_ogm_orig_dump_subentry(9)batadv_iv_ogm_orig_dump_entry(9)batadv_iv_ogm_orig_dump_bucket(9)batadv_iv_ogm_orig_dump(9)batadv_iv_ogm_neigh_diff(9)batadv_iv_ogm_neigh_dump_neigh(9)batadv_iv_ogm_neigh_dump_hardif(9)batadv_iv_ogm_neigh_dump(9)batadv_iv_ogm_neigh_cmp(9)batadv_iv_ogm_neigh_is_sob(9)batadv_iv_iface_enabled(9)batadv_iv_init_sel_class(9)batadv_iv_gw_get_best_gw_node(9)batadv_iv_gw_is_eligible(9)batadv_iv_gw_dump_entry(9)batadv_iv_gw_dump(9)batadv_iv_init(9)batadv_iv_deinit(9)
and that's the page, bestie π the "shutting down era" is fully documented. this one's from ./net/batman-adv, dated October 2026, and it will forever be known as batadv_iv_ogm_iface_disable(9) β a little legend, a tiny icon, a cleanup queen ππ
π¦ 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