STRUCT LP(9)
π 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 π
- Kernel file
./net/ipv4/tcp_lp.c enum tcp_lp_state(9)tcp_lp_init(9)tcp_lp_cong_avoid(9)tcp_lp_remote_hz_estimator(9)tcp_lp_owd_calculator(9)tcp_lp_rtt_sample(9)tcp_lp_pkts_acked(9)
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
- 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