STRUCT CODEL_STATS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay so bestie, this page is from the Kernel API Manual, and it's literally all about struct codel_stats β€” the struct that contains codel shared variables and stats. no cap, it's giving β€œsmall but important” energy 🫢✨


πŸŽ€ NAME πŸŽ€

struct codel_stats β€” contains codel shared variables and stats πŸ’–


✨ SYNOPSIS ✨

struct codel_stats {
    u32 maxpacket;
    u32 drop_count;
    u32 drop_len;
    u32 ecn_mark;
    u32 ce_mark;
};

🌸 Members 🌸

okay so here's the cast of fields, and every single one is doing main character work πŸ‘‘

  • maxpacket β€” largest packet we've seen so far πŸ‘‘ lowkey the big one
  • drop_count β€” temp count of dropped packets in dequeue πŸ’€ emphasis on temp, bestie
  • drop_len β€” bytes of dropped packets in dequeue πŸ“
  • ecn_mark β€” number of packets we ECN marked instead of dropping ✨ slay, no drop needed
  • ce_mark β€” number of packets CE marked because sojourn time was above ce_threshold πŸ¦‹

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./include/net/codel.h β€” also go say hi to struct codel_params(9) and struct codel_vars(9), iykyk 🫢

this iconic little page comes from the source path ./include/net and is dated October 2026 β€” mwah πŸ’‹ periodt πŸ’œ

πŸ“¦ where this page comes from