arc_emac_stats(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie πŸ’– welcome to the arc_emac_stats(9) page from the Kernel API Manual β€” we're doing kernel networking statistics today and it's lowkey iconic. This is the function that hands you the system network statistics address, and yes, every detail is staying, no cap.

🌸 NAME 🌸

arc_emac_stats β€” Get system network statistics. That's the whole name, bestie; it's giving "stats girlie" and we love that for us. πŸ’…

✨ SYNOPSIS ✨

here's the exact signature, character for character 🫢:

struct net_device_stats * arc_emac_stats (struct net_device *ndev );

🫢 ARGUMENTS 🫢

  • ndev β€” pointer to the net_device structure. That's it. That's the argument. πŸŽ€

πŸ¦‹ DESCRIPTION πŸ¦‹

so what does it actually do? It returns the address of the device statistics structure β€” literally, that's the vibe. πŸ“Š

and the statistics are updated in the interrupt handler, so that's where the magic happens. πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/net/ethernet/arc/emac_main.c β€” and here's the whole friend group, every single reference, no skips:


byeeee πŸ’– source/version: ./drivers/net/ethernet/arc β€’ date: October 2026 β€’ manual: arc_emac_stats(9) β€” stay slay, kernel bestie 🌈✨

πŸ“¦ where this page comes from