batadv_iv_ogm_can_aggregate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_iv_ogm_can_aggregate β€” a Kernel API Manual moment

okay so bestie, welcome to the batadv_iv_ogm_can_aggregate(9) page β€” yes that's the whole title, yes it's a mouthful, we're gonna get through it together 🫢. Short version: this function checks whether a new OGM packet can ride along inside an OGM packet that's already queued up to be forwarded.


✨ NAME ✨

batadv_iv_ogm_can_aggregate β€” literally just find out if an OGM can be aggregated onto an existing forward packet πŸ’«

🌸 SYNOPSIS 🌸

bool batadv_iv_ogm_can_aggregate (const struct batadv_ogm_packet
*new_bat_ogm_packet , struct batadv_priv *bat_priv , int packet_len ,
unsigned long send_time , bool directlink , const struct
batadv_hard_iface *if_incoming , const struct batadv_hard_iface
*if_outgoing , const struct batadv_forw_packet *forw_packet );

it returns a bool, it takes eight whole arguments, and it is the moment πŸ’…

πŸŽ€ ARGUMENTS πŸŽ€

  • new_bat_ogm_packet β€” the OGM packet that's hoping to get aggregated. it's the new kid, the one applying for the group project πŸ¦‹
  • bat_priv β€” the bat priv holding all the mesh interface info. it knows everything, it's giving main character energy πŸ‘‘
  • packet_len β€” the (total) length of the OGM. the total, bestie, the whole thing ✨
  • send_time β€” timestamp in jiffies for when the packet is supposed to be sent. jiffies!! not seconds!! 😭
  • directlink β€” true if this is a direct link packet. no cap, that's what it means πŸ’€
  • if_incoming β€” the interface where the packet was received. where it came from 🌸
  • if_outgoing β€” the interface the retransmission should be considered for. where it's headed 🧚
  • forw_packet β€” the forwarded packet that should be checked. the existing one, the one we're tryna join πŸŽ€

πŸ”₯ RETURN πŸ”₯

it returns true if new_packet can be aggregated with forw_packet. that's it, that's the whole deal β€” true or false, slay or nay 🌈


⭐ SEE ALSO ⭐

like, the entire rest of the neighborhood, fr fr:


ngl, that's a LOT of cross-references. read them all, iykyk πŸ“šπŸ’œ

pink flag moment: this page lives under <pink>./net/batman-adv</pink>, datestamped October 2026, and it's filed as batadv_iv_ogm_can_aggregate(9). that's the version-and-date sign-off, bestie β€” go aggregate something iconic πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from