STRUCT CODEL_STATS(9)
π 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 onedrop_countβ temp count of dropped packets in dequeue π emphasis on temp, bestiedrop_lenβ bytes of dropped packets in dequeue πecn_markβ number of packets we ECN marked instead of dropping β¨ slay, no drop neededce_markβ number of packets CE marked because sojourn time was abovece_thresholdπ¦
π₯ SEE ALSO π₯
- Kernel file
./include/net/codel.hβ also go say hi tostruct codel_params(9)andstruct 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
- 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