batadv_netl...meter_notify(9)
π batadv_netlink_tpmeter_notify β NAME
Okay so bestie, welcome to the Kernel API Manual entry for batadv_netl...meter_notify(9) β yes the title's got that truncation moment, it's giving "my name is too long for the tab bar" energy, and honestly? Relatable. π
batadv_netlink_tpmeter_notify β send tp_meter result via netlink to client π
That's the whole vibe. The throughput meter did its little thing, the numbers came in, and now somebody has to actually tell the client about it. That somebody is this function. Main character energy fr fr. β¨
β¨ SYNOPSIS β¨
int batadv_netlink_tpmeter_notify (struct batadv_priv *bat_priv , const
u8 *dst , u8 result , u32 test_time , u64 total_bytes , u32 cookie );
Six arguments, one return value, zero chill. Let's go through them one by one because every single one matters. π«Ά
πΈ ARGUMENTS πΈ
bat_privβ the bat priv with all the mesh interface information. It's literally the whole mesh's business, all bundled up β every interface detail lives here. πdstβ destination of thetp_metersession. Like, where the session was pointed. πresultβ reason for thetp_metersession stop. Why did the session end? Thisu8is holding the receipts. π§Ύtest_timeβ total time of thetp_metersession. Theu32clock on the whole thing. β±οΈtotal_bytesβ bytes acked to the receiver. That's au64, because bytes get big, bestie. πcookieβ cookie of thetp_metersession. Not a snack (sadly πͺ), just the session's lil identifier so everybody knows which session we're talking about. π
π₯ RETURN π₯
0 on success, < 0 on error.
That's it. That's the whole return section. Zero means slay, negative means something went sideways. π
π¦ SEE ALSO π¦
Everything in the netlink cinematic universe, all linked up. First, the source:
Kernel file ./net/batman-adv/netlink.c and enum batadv_netlink_multicast_groups(9)
Then the whole friend group, alphabetically-adjacent and long, but I'm not skipping a single one because they're all icons:
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_tp_meter_put(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)
Not me listing thirty-two SEE ALSO entries and loving every second of it. The cross-reference game is strong here, iykyk. π
π SIGN-OFF π
This lil page lives in ./net/batman-adv, it's dated October 2026, and it answers to the name batadv_netl...meter_notify(9) β truncated title and all, we stan a consistent brand. π§π Byeee, go notify some clients! π
π¦ 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