batadv_get_ethtool_stats(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the ethtool_stats struct. 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:

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