batadv_iv_ogm_aggr_packet(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_iv_ogm_aggr_packet β€” checks if there is another OGM attached

okay bestie, so this is a page from the Kernel API Manual, and it's about one very specific little function in the batman-adv world. She's small, she's bool-returning, and she has exactly one job. Let's get into it πŸŽ€


✨ NAME ✨

batadv_iv_ogm_aggr_packet β€” checks if there is another OGM attached πŸ¦‹

Like, literally that's the whole vibe. She peeks. She checks. She tells you if another OGM is riding along in there.


🌸 SYNOPSIS 🌸

bool batadv_iv_ogm_aggr_packet (int buff_pos , int packet_len , const
struct batadv_ogm_packet *ogm_packet );

no cap, that's the whole signature. three args in, one bool out. icon behavior ✨


πŸ’– ARGUMENTS πŸ’–

  • buff_pos β€” current position in the skb πŸ‘€ like where you're at right now in the buffer
  • packet_len β€” total length of the skb πŸ“ the whole thing, not just your lil corner
  • ogm_packet β€” potential OGM in buffer 🫢 the maybe-OGM we're side-eyeing

πŸ‘‘ RETURN πŸ‘‘

  • true β€” if there is enough space for another OGM πŸ’€βœ¨ slay, there's room
  • false β€” otherwise πŸ™ˆ nope, no room, not today

periodt. that's the entire return contract. no secret third thing.


🧚 SEE ALSO 🧚

bestie, this list is long, but we're not skipping a single one. every (9) stays. every name stays. character for character, fr fr πŸ’œ

First up, the actual kernel file she lives in:

./net/batman-adv/bat_iv_ogm.c

Then the whole squad, in order:

okay that's all of them, not one dropped, you're welcome πŸ’…


πŸŽ€ sign-off πŸŽ€

this lil cutie comes from ./net/batman-adv, it's dated October 2026, and it's living its best life under the Kernel API Manual banner. go read the whole OGM family, they're literally all here. mwah πŸ’‹πŸ’–πŸŒˆ

πŸ“¦ where this page comes from