batadv_v_ogm_queue_left(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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, bestie
  • hard_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:


πŸ’œ 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