STRUCT BRCMF_BUS_STATS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct brcmf_bus_stats(9) ✨

okay so bestie, welcome to the struct brcmf_bus_stats page from the Kernel API Manual β€” it's the manual page for struct brcmf_bus_stats, and we're gonna get through it together, no cap πŸ’…


πŸŽ€ NAME πŸŽ€

struct brcmf_bus_stats β€” bus statistic counters. that's it, that's the whole vibe: it's a lil struct full of counters that keep track of what the bus has been up to πŸ¦‹


🌸 SYNOPSIS 🌸

here's the actual shape of it, copy it exactly bestie, don't get creative:

struct brcmf_bus_stats {
    atomic_t pktcowed;
    atomic_t pktcow_failed;
 };

like… it's giving two atomic_t fields and nothing else. lowkey iconic for how small it is 🫢


πŸ‘‘ Members πŸ‘‘

  • pktcowed β€” packets that got cowed so they'd have extra headroom / get unorphaned. yes, "cowed". that's the real word in the real kernel, we do not question it πŸ„βœ¨
  • pktcow_failed β€” packets that got dropped because the cow-ing failed 😭 the counter of sadness fr fr
ngl both of these are atomic_t, so the counting itself is atomic β€” that's literally in the synopsis, go look, i'll wait πŸ’€

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/net/wireless/broadcom/brcm80211/brcmfmac/bus.h β€” that's where this whole thing lives 🧚
  • struct brcmf_bus_ops(9)
  • struct brcmf_bus_msgbuf(9)
  • struct brcmf_bus(9)

like, the whole brcmf bus friend group, go read those next πŸ’œ


and that's the page!! πŸŽ€ this one came out of ./drivers/net/wireless/broadco... (yes it's truncated in the footer, that's just how it's printed, don't come for me πŸ™ˆ) and it's dated October 2026, with the manual name struct brcmf_bus_stats(9) sitting right there in the footer too. slay, go count some cowed packets bestie ⭐πŸ”₯

πŸ“¦ where this page comes from