batadv_v_ogm_aggr_packet(9)
π batadv_v_ogm_aggr_packet π
okay bestie, quick vibe check first: you're reading a page from the Kernel API Manual, section 9, and today's main character is batadv_v_ogm_aggr_packet. no cap, she's a little one but she matters π«Ά
β¨ NAME β¨
batadv_v_ogm_aggr_packet β checks if there is another OGM aggregated π₯
like, literally her whole job is peeking at the buffer and being like "girl, is there room for one more?"
π¦ SYNOPSIS π¦
bool batadv_v_ogm_aggr_packet (int buff_pos , int packet_len , const
struct batadv_ogm2_packet *ogm2_packet );
she returns a bool, she takes three args, she's not complicated. we love a low-maintenance icon β¨
π ARGUMENTS π
buff_posβ current position in the skb π« like where we're at right now in the buffer, our current little spotpacket_lenβ the total length of the skb π the whole entire thing, not just your sectionogm2_packetβ potential OGM2 in buffer π potential is doing so much work in that sentence and we respect it
πΈ RETURN πΈ
returns true if there's enough space for another OGM, and false otherwise β
that's it. that's the whole answer. no in-between, no "maybe", no "it's complicated" β just a clean little yes-or-no, slay π
π SEE ALSO π
so there's a whole friend group here, and honestly the group chat is popping off. from the kernel file ./net/batman-adv/bat_v_ogm.c:
batadv_v_ogm_orig_get(9)batadv_v_ogm_start_queue_timer(9)batadv_v_ogm_start_timer(9)batadv_v_ogm_send_to_if(9)batadv_v_ogm_len(9)batadv_v_ogm_queue_left(9)batadv_v_ogm_aggr_list_free(9)batadv_v_ogm_aggr_send(9)batadv_v_ogm_queue_on_if(9)batadv_v_ogm_send_meshif(9)batadv_v_ogm_send(9)batadv_v_ogm_aggr_work(9)batadv_v_ogm_iface_enable(9)batadv_v_ogm_iface_disable(9)batadv_v_ogm_primary_iface_set(9)batadv_v_forward_penalty(9)batadv_v_ogm_forward(9)batadv_v_ogm_metric_update(9)batadv_v_ogm_route_update(9)batadv_v_ogm_process_per_outif(9)batadv_v_ogm_process(9)batadv_v_ogm_packet_recv(9)batadv_v_ogm_init(9)batadv_v_ogm_free(9)
that's the whole squad π§ lowkey a reunion tour. go read them, they'd do the same for you π
and that's the page!! mwah π this cutie lives in ./net/batman-adv and the date stamp on her is October 2026 β screenshot it, frame it, put it on the fridge, she ate and left no crumbs πβ¨
π¦ 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