ENUM RTRS_SRV_LINK_EV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 everything
  • RTRS_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