batadv_iv_ogm_emit(9)
β¨ batadv_iv_ogm_emit(9) β¨
okay bestie, welcome to the Kernel API Manual π this one's a kernel function page and honestly? it's giving "small but mighty." let's get into it π«Ά
πΈ NAME πΈ
batadv_iv_ogm_emit β emit an (aggregated) OGM packet π
like, literally just send the thing out. that's the whole job. iconic.
π¦ SYNOPSIS π¦
void batadv_iv_ogm_emit (struct batadv_forw_packet *forw_packet );
that's it. one argument. no drama. no cap. β¨
π ARGUMENTS π
forw_packetβ the forward packet that should be emitted π this is the little guy that's gonna get sent. it's your main character rn.
π DESCRIPTION π
so here's the tea, bestie π΅ the forw_packet will be emitted β but it will not be consumed. meaning: we send it, we don't eat it. it's still yours after. not me being generous with your data structures π
and the vibe check on the interface: when the interface is no longer active, the transmission will be skipped β οΈ like, she's asleep, don't wake her, no packet for you. so if nothing comes out the other end, check your interface first, iykyk π
fr fr keep that in mind β inactive interface = no send. not a bug, just the rules π
π SEE ALSO π
omg okay this is the long part, buckle up bestie, we're going on a tour of literally every related function in ./net/batman-adv/bat_iv_ogm.c π§ββοΈβ¨ no skipping, we don't do that here π
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_disable(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_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 the kernel file herself: ./net/batman-adv/bat_iv_ogm.c ππ
like, that's a whole friend group right there. ate. π₯
okay that's the whole page bestie, you understood it, I'm so proud of you π₯Ήπ this dropped from ./net/batman-adv back in October 2026 under the title batadv_iv_ogm_emit(9) β so go forth, emit your (aggregated) OGM packets responsibly, and slay β¨ππΈ
π¦ 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