STRUCT GNET_STATS_QUEUE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct gnet_stats_queue(9) πŸ’…

okay bestie, welcome to the Kernel API Manual β€” the page is struct gnet_stats_queue. yes it's a struct. yes it's about stats. yes we're gonna make it cute.


✨ NAME ✨

struct gnet_stats_queue β€” literally just queuing statistics πŸŽ€ that's the whole assignment.


🌸 SYNOPSIS 🌸

here's the whole vibe, no cap:

struct gnet_stats_queue {
    __u32 qlen;
    __u32 backlog;
    __u32 drops;
    __u32 requeues;
    __u32 overlimits;
 };

five little __u32 fields, all in a row, all holding numbers. look at them. icons. πŸ‘‘


πŸ¦‹ Members πŸ¦‹

okay so let's go field by field, because every single one matters and i'm not skipping a single one:

  • qlen β€” the queue length. that's it. that's the field. πŸ’–
  • backlog β€” the backlog size of queue. how much stuff is hanging out back there waiting. 🫢
  • drops β€” the number of dropped packets 😭 rip to those packets, they were doing their best.
  • requeues β€” the number of requeues. when a packet gets put back in line. main character energy, honestly.
  • overlimits β€” the number of enqueues over the limit πŸ”₯ like when the queue is full and you're still trying to add stuff. bold of you.
ngl these are all just __u32 counters β€” every one of them, no exceptions, no sneaky __u64 hiding in there. slay for consistency ✨

πŸ’œ SEE ALSO πŸ’œ

go read the neighbors!! it's giving family reunion 🧚:

  • the kernel file ./include/uapi/linux/gen_stats.h
  • struct gnet_stats_basic(9)
  • struct gnet_stats_rate_est(9)
  • struct gnet_stats_rate_est64(9)
  • struct gnet_estimator(9)

and that's the whole page bestie!! πŸ“ this beauty lives in ./include/uapi/linux, dated October 2026, and the page itself is struct gnet_stats_queue(9). periodt. πŸ’…πŸŒˆβ­

πŸ“¦ where this page comes from