STRUCT CODEL_PARAMS(9)
πΈ struct codel_params(9) πΈ
okay bestie, welcome to the Kernel API Manual β yes, that's the manual name, and yes, we're reading kernel docs together, it's giving study date energy π
β¨ NAME β¨
struct codel_params β literally just a little struct that contains codel parameters π no cap, that's the whole vibe.
π¦ SYNOPSIS π¦
struct codel_params {
codel_time_t target;
codel_time_t ce_threshold;
codel_time_t interval;
u32 mtu;
bool ecn;
u8 ce_threshold_selector;
u8 ce_threshold_mask;
};
look at her. seven fields. absolute main character energy π
π Members π
targetβ the target queue size, measured in time units β±οΈ (yes bestie, time, not bytes β iykyk)ce_thresholdβ the threshold for marking packets with ECN CE, lowkey the bouncer at the club deciding who gets marked πͺβ¨intervalβ the width of the moving time window, like a lil sliding window of time, so cozy πͺmtuβ the device mtu, or the minimal queue backlog in bytes. two jobs, one field, she's versatile π«Άecnβ is Explicit Congestion Notification enabled? a wholebooljust to answer that πce_threshold_selectorβ applyce_thresholdto packets matching this value in the diffserv/ECN byte of the IP header π― like a very specific little filterce_threshold_maskβ the mask to apply to thece_threshold_selectorcomparison π masking, but make it networking
π SEE ALSO π
- Kernel file
./include/net/codel.h struct codel_vars(9)struct codel_stats(9)
go read those too, they're the rest of the friend group fr fr π«Ά
π reminder:ce_threshold_selectorandce_threshold_maskwork together β one picks, one masks. don't use just one and expect magic, bestie, that's not how the comparison works.
and that's the whole page, babes π this lil gem lives under ./include/net and the manual says October 2026 β so like, see you in the future?? πΈ signing off, struct codel_params(9), mwah π
π
π¦ 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