STRUCT LP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay so bestie, welcome to the struct lp page from the Kernel API Manual β€” yes, that's the TCP-LP one, and yes it's lowkey iconic. sit down, grab a strawberry πŸ“, and let's get into it.


✨ NAME ✨

struct lp β€” literally the private struct for TCP-LP, that's it, that's the vibe πŸ¦‹


🌸 SYNOPSIS 🌸

struct lp {
    u32 flag;
    u32 sowd;
    u32 owd_min;
    u32 owd_max;
    u32 owd_max_rsv;
    u32 remote_hz;
    u32 remote_ref_time;
    u32 local_ref_time;
    u32 last_drop;
    u32 inference;
 };

like, that's the whole shape of it, no cap πŸ’–


πŸŽ€ Members πŸŽ€

  • flag β€” the TCP-LP state flag. it's giving "current mood" but for the protocol ✨
  • sowd β€” smoothed OWD << 3. yes the shift is part of it, keep it exactly, don't touch it πŸ™ˆ
  • owd_min β€” min OWD. the floor, the bare minimum, the lowkey smallest one πŸ“‰
  • owd_max β€” max OWD. the ceiling, the main character of the upper bound πŸ”₯
  • owd_max_rsv β€” reserved max owd. it's reserved, so like, it's holding its spot πŸ‘‘
  • remote_hz β€” estimated remote HZ. an estimate, bestie, not a promise πŸ‘€
  • remote_ref_time β€” remote reference time. the remote side's timestamp moment πŸ•
  • local_ref_time β€” local reference time. our own timestamp moment, matching energy 🫢
  • last_drop β€” time for last active drop. when the last active drop happened, for the record πŸ’€
  • inference β€” current inference. the current inference, periodt πŸ’…

⭐ Description ⭐

so this is TCP-LP's private struct β€” private as in it's hers, not for everyone 🧚

the idea comes from the original TCP-LP implementation, where only the members that were actually found to be really useful were kept. like a closet cleanout but for kernel struct fields, and honestly? ate. 🌈

ngl, this is a "we only left the useful ones" situation, not a "we documented every historical field" situation β€” so don't go looking for extra members, they're not here πŸ’–

πŸ” SEE ALSO πŸ”

like, go read those too, iykyk πŸ“šβœ¨


aaaand that's the page, bestie 🫢 this one lives in ./net/ipv4 and it's dated October 2026 β€” struct lp(9), slay, bye πŸ’œ

πŸ“¦ where this page comes from