batadv_iv_og...it_send_time(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ NAME πŸ¦‹

ok so bestie, this is batadv_iv_ogm_emit_send_time β€” from the Kernel API Manual, no cap β€” and what it does is literally calculate the jiffies when an own OGM should be sent next. that's it, that's the whole vibe. ✨


🌸 SYNOPSIS 🌸

unsigned long batadv_iv_ogm_emit_send_time (const struct batadv_priv
*bat_priv );

like, you hand it a bat_priv and it hands you back an unsigned long. that's the trade. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • bat_priv β€” the bat priv with all the mesh interface information. yes queen, it wants the whole thing, all the mesh interface info is in there πŸ’–

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the tea β˜• β€” the next emission point is the configured orig_interval, but randomised by +/- BATADV_JITTER milliseconds. why? to reduce the chance of potential collisions between neighbours, periodt. it's giving "everyone don't talk at the exact same time challenge" and honestly it ate πŸ’…βœ¨


⭐ RETURN ⭐

it returns a jiffies value when the next OGM should be transmitted β€” that's your timestamp bestie, go off πŸ•πŸ‘‘


🌈 SEE ALSO 🌈

you want the whole friend group? here's the whole friend group, iykyk β€” Kernel file ./net/batman-adv/bat_iv_ogm.c, plus:

like i said. the whole group chat. πŸ«ΆπŸ’–


ngl bestie, this page lives in ./net/batman-adv and it's dated October 2026 β€” so when you're reading it, just know the manual itself is batadv_iv_og...it_send_time(9), yes the title is truncated in the header, that's just how it's shipped, don't come for me πŸ˜­πŸ’€

ok bye ily, go schedule those OGMs responsibly πŸ§šβ€β™€οΈπŸŒΈπŸ’œ

πŸ“¦ where this page comes from