STRUCT RTRS_CLT_OPS(9)
π 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 tortrs_clt_open. It's your private pointer, your littlevoid *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
- 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