batadv_tp_re...sender_timer(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_tp_re...sender_timer(9) πŸŽ€

okay so this is a page from the Kernel API Manual and bestie, it's a tiny one but it matters, so let's get into it ✨


🌸 NAME 🌸

batadv_tp_reset_sender_timer β€” reschedules the sender timer πŸ’«

Like, that's it. That's the whole job. It resets a timer. And it does it iconically.


⭐ SYNOPSIS ⭐

void batadv_tp_reset_sender_timer (struct batadv_tp_sender *tp_vars );

Returns void, so don't go looking for a return value, there isn't one, periodt πŸ’€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • tp_vars β€” the private TP meter data for this session 🫢 this is the little bundle of session state the function needs, and it's literally the only thing you hand it.

πŸ”₯ DESCRIPTION πŸ”₯

So what it actually does: it reschedules the timer using tp_vars->cc.rto as the delay 🌈

That's the whole vibe. cc.rto is the delay value, the timer gets rescheduled with it, done, slay πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./net/batman-adv/tp_meter.c β€” that's where the whole TP meter family lives, iykyk 🧚

that's a whole friend group of functions, ngl. sender side, receiver side, ack handling, the whole cast 🎬

and that's the page!! πŸ’– brought to you by ./net/batman-adv, dated October 2026 β€” mwah, go read your kernel source bestie, ily 🫢✨

πŸ“¦ where this page comes from