ssh_rtl_submit(9)
π ssh_rtl_submit(9) β like, the Kernel API Manual, but make it make sense π«Ά
okay bestie, so this one lives in the Kernel API Manual and it's called ssh_rtl_submit(9). it's the "hey, send this thing out" function, and honestly it's giving short-and-sweet main character energy. let's get into it β¨
πΈ NAME πΈ
ssh_rtl_submit β submit a request to the transport layer. that's it, that's the vibe. π
β¨ SYNOPSIS β¨
int ssh_rtl_submit (struct ssh_rtl *rtl , struct ssh_request *rqst );
like, you hand it a transport layer and a request, and it returns an int. simple. iconic. no notes. π
π ARGUMENTS π
rtlβ the request transport layer. this is the ~infrastructure~, the pipeline, the whole thing the request travels through. lowkey important ngl.rqstβ the request to submit. the actual payload. the star of the show. π
π¦ DESCRIPTION π¦
so what it does is literally: submits a request to the transport layer. that's the whole job. it's not doing a little extra on the side, it's not "oh let me also" β no, it submits and it's done. periodt. π₯
the big caveat, and please internalize this bestie: a single request may not be submitted multiple times without reinitializing it. like, one request, one submission. if you want to send it again you gotta reinit it first. no cap. π
π RETURN π
what you get back, and what it means, fr fr:
0β success! it worked, slay, congrats, you ate. π-EINVALβ the request type is invalid or the request has been canceled prior to submission. bad input vibes, or you canceled too hard. π-EALREADYβ the request has already been submitted. bestie. you already did this one. we talked about this. π-ESHUTDOWNβ the request transport layer has been shut down. the whole thing is closed, nothing's home, sorry babe. πͺ
π SEE ALSO π
the kernel file in question, right here in all its glory:
./drivers/platform/surface/aggregator/ssh_request_layer.c
and the whole friend group of friends:
ssh_rtl_should_drop_response(9)ssh_rtl_cancel(9)ssh_request_init(9)ssh_rtl_init(9)ssh_rtl_destroy(9)ssh_rtl_start(9)ssh_rtl_flush(9)ssh_rtl_shutdown(9)
go read them all, i'll wait, i promise it's worth it π
tiny heads-up: this page is from ./drivers/platform/surface/agg... (yes it's truncated in the original, not me being lazy π
) and it's dated October 2026. yeah. the future. iykyk. β
and that's the page, bestie β ${pwd}-lessly signed off with love, from the very same source path and the very same October 2026 date we started with π§π
π¦ 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