batadv_tp_b...error_notify(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ batadv_tp_batctl_error_notify β€” a whole vibe check πŸ’…

okay so first thing, bestie: this page lives in the Kernel API Manual ✨ (yes the whole big kernel docs situation), and it's about one very specific little function. Let's get into it 🫢


✨ NAME ✨

batadv_tp_batctl_error_notify β€” literally just "send client error result to client" πŸ’Œ like it's the function whose entire job is telling the client that things went sideways. no cap.


🌸 SYNOPSIS 🌸

void batadv_tp_batctl_error_notify (enum batadv_tp_meter_reason reason ,
const u8 *dst , struct batadv_priv *bat_priv , u32 cookie );

she returns void (so, no return value, she's giving "my work here is done, I don't owe you a status code" energy πŸ’…) and she takes four arguments. four! not three, not five. we love a consistent queen πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • reason β€” the reason for tp meter session stop. like why are we stopping, bestie, what happened 😭 it's an enum batadv_tp_meter_reason, so it's one of those pre-approved reason vibes.
  • dst β€” destination of tp_meter session. that's the const u8 * bestie, the address of where this whole session was headed πŸ“
  • bat_priv β€” the bat priv with all the mesh interface information. the main character struct, the whole struct batadv_priv moment, holding literally everything the mesh interface knows πŸ‘‘
  • cookie β€” cookie of tp_meter session. a u32 cookie!! not a browser cookie, a session identifier, but honestly the metaphor tracks πŸͺ
ngl the argument list is short and sweet. nothing sketchy here. she knows exactly what she's about πŸ’–

πŸ”₯ SEE ALSO πŸ”₯

okay this is the part where the manpage just absolutely dumps the whole friend group on you. like, every single one. here we go, no skipping, I promised 🫢

the constants (the batadv_tp.c lore) πŸŽ€

the session / window / rto girlies πŸ’…

sender-side crew πŸ“€

ack handling (the ✨drama✨) 🌈

sending + pacing 🧚

receiver-side crew πŸ“₯

the top-level meter entry points πŸšͺ

like I said. the whole group chat. every single one of them is in there, I checked twice πŸ˜­πŸ’œ

okay that's the page bestie, ily, go read the kernel source, mwah πŸ’‹

this lil doc ships from ./net/batman-adv, dated October 2026 β€” so yeah, fresh out the kernel, iconic behavior only πŸŽ€βœ¨

πŸ“¦ where this page comes from