ENUM RTRS_SRV_LINK_EV(9)
π enum rtrs_srv_link_ev β like, the server-side link events bestie π
okay so this is from the Kernel API Manual, and it's genuinely one of those tiny-but-iconic headers you need in your life if you're poking at RTRS on the server side. no cap, it's short, but it's doing something. π«Ά
β¨ NAME β¨
enum rtrs_srv_link_ev β Server link events
likeβ¦ literally the vibes your server-side link can be in, enumerated. periodt. π
πΈ SYNOPSIS πΈ
enum rtrs_srv_link_ev {
RTRS_SRV_LINK_EV_CONNECTED ,
RTRS_SRV_LINK_EV_DISCONNECTED
};
that's the whole thing. two constants. main character energy only. β¨
π Constants π
RTRS_SRV_LINK_EV_CONNECTEDβ bestie, a connection from the client was established π like it actually showed up and everythingRTRS_SRV_LINK_EV_DISCONNECTEDβ the connection was disconnected, and all connection RTRS resources were freed π ngl that "all" is doing a lot of work β everything tied to that connection is gone, freed, donezo
lowkey important: RTRS_SRV_LINK_EV_DISCONNECTED isn't just "the socket closed" β the manpage says the connection was disconnected and all connection RTRS resources were freed. so if you're holding onto anything, that's your heads-up. π
π¦ SEE ALSO π¦
- Kernel file
./drivers/infiniband/ulp/rtrs/rtrs.hβ the enum lives here, go say hi π enum rtrs_clt_link_ev(9)struct rtrs_addr(9)struct rtrs_clt_ops(9)enum rtrs_clt_con_type(9)struct rtrs_clt_req_ops(9)struct rtrs_attrs(9)
the whole friend group honestly. go read them too, iykyk. π
okay that's the whole page π it lives in ./drivers/infiniband/ulp/rtrs, dated October 2026, and it's the enum rtrs_srv_link_ev(9) entry β mwah, slay, see u in the kernel tree bestie π§βπ₯
π¦ 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