STRUCT SSH_RTL_OPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct ssh_rtl_ops (9) β€” Kernel API Manual ✨

okay so bestie, welcome to the glow-up doc for struct ssh_rtl_ops from the Kernel API Manual, section 9. it's giving "small but mighty" and honestly? iconic. let's get into it 🫢


🌸 NAME 🌸

struct ssh_rtl_ops β€” the callback operations for the request transport layer. literally the plug-in points where the request transport layer (rtl, bestie, keep up πŸ’…) calls out to you. no cap.


✨ SYNOPSIS ✨

struct ssh_rtl_ops {
    void (*handle_event)(struct ssh_rtl *rtl, const struct ssh_command *cmd, const struct ssam_span *data);
 };

look at her. one single member. minimalism ate and left no crumbs πŸ‘‘


πŸŽ€ Members πŸŽ€

  • handle_event β€” the function that gets called when a SSH event has been received πŸ””. the function you specify takes the request layer, the received command struct, and the corresponding payload as its arguments. and heads up: if the event has no payload, the payload span is empty β€” not NULL. like, it's still a span, she's just got nothing in her. don't come for her πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

go read those too, iykyk πŸ’–


fr fr bestie: the empty-span-not-NULL thing is the one detail that will get you. check for an empty span, not a null pointer, or the vibe check will fail 😭

and that's the whole page, no notes πŸ’…

ok so this was struct ssh_rtl_ops(9) from the Kernel API Manual, sourced from ./drivers/platform/surface/agg... (the drivers/platform/surface/aggregator zone, you know the one 🌸), dated October 2026. that's the tea, periodt. πŸ“βœ¨

πŸ“¦ where this page comes from