batadv_v_ogm_queue_left(9)
π batadv_v_ogm_queue_left β check if given OGM still fits aggregation queue π
okay so bestie, welcome to the Kernel API Manual β¨ yep you heard me, we're in the kernel API manual, and today's main character is batadv_v_ogm_queue_left(9) π«Ά she's a tiny little boolean checker and honestly she ate.
πΈ SYNOPSIS πΈ
bool batadv_v_ogm_queue_left (struct sk_buff *skb , struct
batadv_hard_iface *hard_iface );
like, that's the whole vibe. she takes two things and gives you back a bool. no cap. π
π¦ ARGUMENTS π¦
skbβ the OGM you wanna check π that's the packet in question, bestiehard_ifaceβ the interface you'd be using to send that OGM out into the world π
π DESCRIPTION π
okay so here's the important bit, do not skip this: the caller needs to hold hard_iface->bat_v.aggr_list.lock π fr fr, that's on you, not on her. she's just doing her little check, she's not about to grab the lock for you, periodt.
β RETURN β
- returns True if the given OGMv2 packet still fits πβ¨
- returns false otherwise π (like, it doesn't fit, sad but we move)
π§ SEE ALSO π§
the whole squad, all hanging out in the kernel file ./net/batman-adv/bat_v_ogm.c π β go say hi to all of them:
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_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_aggr_packet(9)batadv_v_ogm_process(9)batadv_v_ogm_packet_recv(9)batadv_v_ogm_init(9)batadv_v_ogm_free(9)
π reminder bestie: hold that hard_iface->bat_v.aggr_list.lock before you call her. that's the whole assignment. don't make it weird. π
okay that's the page!! this iconic little entry lives in ./net/batman-adv and it's dated October 2026 β like, future queen behavior tbh πβ¨ catch you on the next manpage, love u, bye!! ππ¦π
π¦ 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