STRUCT RTRS_CLT_OPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct rtrs_clt_ops πŸ’–

Okay bestie, welcome to the Kernel API Manual, section 9 β€” we're looking at struct rtrs_clt_ops, and it's lowkey iconic. This is the little struct that holds the link event callback and private pointer. ✨


🌸 NAME 🌸

struct rtrs_clt_ops β€” it holds the link event callback and private pointer. That's the whole vibe: callback + private pointer, sitting pretty. πŸ’…

✨ SYNOPSIS ✨

Here's the struct in all its glory, no cap:

       struct rtrs_clt_ops {
           void *priv;
           void (*link_ev)(void *priv, enum rtrs_clt_link_ev ev);
        };

πŸŽ€ Members πŸŽ€

  • priv β€” User supplied data that was passed to rtrs_clt_open. It's your private pointer, your little void * bestie, holding whatever you handed over.
  • link_ev β€” Event notification callback function for connection state changes. The way it just shows up when the connection state changes? Obsessed. πŸ¦‹

🌈 SEE ALSO 🌈

Kernel file ./drivers/infiniband/ulp/rtrs/rtrs.h β€” plus the whole squad: enum rtrs_clt_link_ev(9), struct rtrs_addr(9), enum rtrs_clt_con_type(9), struct rtrs_clt_req_ops(9), struct rtrs_attrs(9), enum rtrs_srv_link_ev(9). Go off, bestie. πŸ’–


And that's the page! Source/version sign-off: ./drivers/infiniband/ulp/rtrs Β· October 2026 Β· struct rtrs_clt_ops(9). Mwah πŸ’‹

πŸ“¦ where this page comes from