batadv_get_ethtool_stats(9)
π batadv_get_ethtool_stats(9) β like, the kernel API manual page, bestie
okay so real talk, this is a page from the Kernel API Manual and it's about batadv_get_ethtool_stats β the ethtool stats handler for mesh interfaces. yes THE one. she's a function, she's void, she's got β¨threeβ¨ arguments, and honestly? iconic behavior only.
π NAME π
batadv_get_ethtool_stats β the ethtool stats handler for mesh interfaces. that's it, that's her whole job description, and she ate π
β¨ SYNOPSIS β¨
void batadv_get_ethtool_stats (struct net_device *dev , struct
ethtool_stats *stats , u64 *data );
look at that signature. so clean. so void. no return value, no drama, no crumbs πΈ
π«Ά ARGUMENTS π«Ά
okay bestie, here's the breakdown of the three things you're handing her:
devβ the mesh interface to query. this is the main character of the whole operation ngl πstatsβ theethtool_statsstruct. and hmm... it's unused. yeah, she's just there for the vibe check π like she showed up to the group chat and said nothing. we respect it.dataβ the destination array where all the gathered counter values land. this is where the numbers go, and there are so many numbers π
π SEE ALSO π
okay so this whole thing lives in the kernel file ./net/batman-adv/mesh-interface.c β that's the neighborhood, that's where all her friends hang out. and she has a LOT of friends, no cap:
batadv_skb_head_push(9)batadv_sum_counter(9)batadv_interface_stats(9)batadv_interface_set_mac_addr(9)batadv_interface_change_mtu(9)batadv_interface_set_rx_mode(9)batadv_interface_tx(9)batadv_interface_rx(9)batadv_meshif_vlan_release(9)batadv_meshif_vlan_get(9)batadv_meshif_create_vlan(9)batadv_meshif_destroy_vlan(9)batadv_interface_add_vid(9)batadv_interface_kill_vid(9)batadv_set_lockdep_class_one(9)batadv_set_lockdep_class(9)batadv_meshif_init_late(9)batadv_meshif_slave_add(9)batadv_meshif_slave_del(9)batadv_get_drvinfo(9)batadv_get_strings(9)batadv_get_sset_count(9)batadv_meshif_free(9)batadv_meshif_init_early(9)batadv_meshif_validate(9)batadv_meshif_newlink(9)batadv_meshif_destroy_netlink(9)batadv_meshif_is_valid(9)
like literally the whole friend group. go read all of them, iykyk π¦
ngl this is a tiny page, but that's the whole point β she's a handler, she handles, she doesn't overexplain. periodt π
kisses and bye bestie, this page came out of the ./net/batman-adv directory in October 2026 and it's headed straight to your terminal with love πβ¨π
π¦ 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