STRUCT GNET_STATS_QUEUE(9)
π 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__u32counters β every one of them, no exceptions, no sneaky__u64hiding 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms