batadv_netlink_tp_meter_put(9)
π batadv_netlink_tp_meter_put β from the Kernel API Manual, bestie
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 π
0on success π₯< 0on 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. π β¨
enum batadv_netlink_multicast_groups(9)enum batadv_genl_ops_flags(9)batadv_netlink_get_ifindex(9)batadv_netlink_mesh_fill_ap_isolation(9)batadv_netlink_set_mesh_ap_isolation(9)batadv_netlink_mesh_fill(9)batadv_netlink_notify_mesh(9)batadv_netlink_get_mesh(9)batadv_netlink_set_mesh(9)batadv_netlink_tpmeter_notify(9)batadv_netlink_tp_meter_start(9)batadv_netlink_tp_meter_cancel(9)batadv_netlink_hardif_fill(9)batadv_netlink_notify_hardif(9)batadv_netlink_cmd_get_hardif(9)batadv_netlink_set_hardif(9)batadv_netlink_dump_hardif(9)batadv_netlink_vlan_fill(9)batadv_netlink_notify_vlan(9)batadv_netlink_get_vlan(9)batadv_netlink_set_vlan(9)batadv_netlink_get_meshif_from_ifindex(9)batadv_netlink_get_meshif_from_info(9)batadv_netlink_get_meshif(9)batadv_netlink_get_hardif_from_ifindex(9)batadv_netlink_get_hardif_from_info(9)batadv_netlink_get_hardif(9)batadv_get_vlan_from_info(9)batadv_pre_doit(9)batadv_post_doit(9)batadv_netlink_register(9)batadv_netlink_unregister(9)
^^ 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms