wx_get_stats64(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… wx_get_stats64(9) β€” from the Kernel API Manual, bestie ✨

okay so quick vibe check: this little icon lives in the Kernel API Manual, and it's the one that goes and grabs the system network statistics for you. no cap, that's the whole job. let's get into it 🫢


🌸 NAME 🌸

wx_get_stats64 β€” literally just Get System Network Statistics. that's it. that's the girl. πŸ’–


✨ SYNOPSIS ✨

void wx_get_stats64 (struct net_device *netdev , struct
rtnl_link_stats64 *stats );

returns void, so she gives you nothing back directly β€” she fills in your stats and dips. iconic behaviour honestly πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • netdev β€” the network interface device structure πŸ¦‹ like, the actual NIC she's gonna read from.
  • stats β€” the storage space for 64bit statistics πŸ“ this is where the numbers land, so make sure it's ready for them.
fr fr, stats is storage space β€” she's writing into it, not handing you a fresh one. just so we're clear πŸ‘‘

πŸ”₯ SEE ALSO πŸ”₯

the kernel file this all lives in:

  • Kernel file ./drivers/net/ethernet/wangxun/libwx/wx_lib.c

and the whole friend group, all in (9):


and that's the whole page, bestie β€” go read the source, it's giving main character energy πŸ’œ

source/version: ./drivers/net/ethernet/wangxun... · dated October 2026 · and yes it's still wx_get_stats64(9) at the bottom 🧚

πŸ“¦ where this page comes from