batadv_netlink_tp_meter_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so this page is straight out of the Kernel API Manual and it's about one tiny little function that does one tiny little job and honestly? it ate. 🫢 It's batadv_netlink_tp_meter_put(9), it lives in the batman-adv kernel world, and its whole personality is "fill in the info about a tp_meter session that just got started." No cap, that's it, that's the function. ✨


✨ NAME ✨

batadv_netlink_tp_meter_put β€” Fill information of started tp_meter session πŸ’«

Like, it literally fills the info for a tp_meter session that has already been started. Iconic, minimal, does what it says on the tin.


πŸ¦‹ SYNOPSIS πŸ¦‹

int batadv_netlink_tp_meter_put (struct sk_buff *msg , u32 cookie );

the way that signature is just sitting there. int in the front, two args in the back, periodt. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • msg β€” the netlink message to be sent back 🌸 like, this is the message that's gonna get shipped back out, and our function's whole job is helping fill it.
  • cookie β€” the tp meter session cookie πŸͺ not the edible kind, bestie, the tracking kind β€” the cookie that says which tp meter session we're talking about.

πŸ’– RETURN πŸ’–

  • 0 on success πŸ”₯
  • < 0 on error πŸ’€

that's the whole vibe check: zero means we're slaying, anything less than zero means something went sideways.

ngl if you see a value < 0 coming back, that's the function telling you it did not go well. no notes, just facts.

🌈 SEE ALSO 🌈

okay this is the part where the manpage just dumps the entire friend group at you, and I'm here for it. All of these live over in the kernel file ./net/batman-adv/netlink.c β€” that's the home base. 🏠✨

^^ that's the whole group chat, every single one, no one left on read. iykyk. πŸ‘‘


and that's the page!! mwah πŸ’‹ tiny function, big netlink energy. this cutie is filed under ./net/batman-adv and the manual's dated October 2026 β€” so yeah, mark your calendar, screenshot it, put it on the fridge, whatever feels right. πŸ§šβ­πŸŽ€

πŸ“¦ where this page comes from