batadv_iv_ogm_aggregate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– batadv_iv_ogm_aggregate πŸ’–

okay so bestie, welcome to the batadv_iv_ogm_aggregate(9) page from the Kernel API Manual β€” yes, that Kernel API Manual, the one we all pretend to read. this one's short and sweet ngl, it's giving "tiny function, big friend group" energy, because look at that SEE ALSO list. literally everyone showed up to the party. πŸŽ€


✨ NAME ✨

batadv_iv_ogm_aggregate β€” append an OGM to an existing aggregated forward packet πŸ¦‹

like, you already have a bundle of OGMs (an aggregated forward packet, we love her), and this function just... adds one more OGM onto it. no cap, that's the whole vibe. 🫢


🌸 SYNOPSIS 🌸

void batadv_iv_ogm_aggregate (struct batadv_forw_packet
*forw_packet_aggr , const unsigned char *packet_buff , int packet_len ,
bool direct_link );

it returns void, so don't go looking for a return value, there isn't one, periodt. πŸ’…


πŸ‘‘ ARGUMENTS πŸ‘‘

  • forw_packet_aggr β€” the aggregated forward packet you're extending. she's the main character here, the one getting the new OGM appended to her. πŸ’–
  • packet_buff β€” pointer to the OGM you're about to append. that's the new kid joining the group chat. ✨
  • packet_len β€” length of the OGM to append. gotta know how many bytes we're sliding in there, iykyk. πŸŽ€
  • direct_link β€” true if packet_buff was received as a direct link OGM. so, is this OGM coming from a direct link situation or not? that's the whole question, bestie. 🌈
lowkey important: those two direct_link cases are distinguishable, and the flag is exactly how the function knows which one it's dealing with. no guessing, just facts. πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

okay this list. this list is long, and honestly every single one of them is an icon in her own right β€” presented, in order, no skips, no cuts, we respect the whole lineup πŸ‘‘

fr fr, if you read all fifty-plus of those you're genuinely built different πŸ’€πŸ‘‘

and that's the whole page, bestie! 🧚 tiny function, flawless execution, we stan. this little gem lives in ./net/batman-adv, dated October 2026, and it's part of the Kernel API Manual β€” so go forth and aggregate responsibly, mwah πŸ’œπŸ“

πŸ“¦ where this page comes from