STRUCT SSH_REQUEST(9)
π struct ssh_request(9) β Kernel API Manual π
okay so bestie, welcome to the struct ssh_request page β this is the Kernel API Manual and we are about to get into the SSH transport request lore. no cap, it's giving kernel internals but make it cute. β¨
πΈ NAME πΈ
struct ssh_request β SSH transport request. literally the whole point, and we're obsessed. π
β¨ SYNOPSIS β¨
struct ssh_request {
struct ssh_packet packet;
struct list_head node;
unsigned long state;
ktime_t timestamp;
const struct ssh_request_ops *ops;
};
π«Ά Members π«Ά
packetβ the underlying SSH transport packet. that's the packet this request rides on, bestie. π¦nodeβ list node for the request queue and pending set. it's the lil link that lets the request sit in the queue and the pending set. πstateβ state and type flags describing current request state (dynamic) and type (static). peepenum ssh_request_flagsfor possible options. this one is highkey doing double duty: dynamic state, static type. πtimestampβ timestamp specifying when we start waiting on the response of the request. it gets set once the underlying packet has been completed, and it may beKTIME_MAXbefore that, or when the request does not expect a response. this is used for the request timeout implementation. β°opsβ request Operations. the ops table for the request, periodt. π₯
π SEE ALSO π
okay if you want the full rabbit hole, these are the refs, bestie:
- Kernel file
./include/linux/surface_aggregator/serial_hub.h enum ssh_frame_type(9)struct ssh_frame(9)enum ssh_payload_type(9)struct ssh_command(9)SSH_MESSAGE_LENGTH(9)SSH_COMMAND_MESSAGE_LENGTH(9)SSH_MSGOFFSET_FRAME(9)SSH_MSGOFFSET_COMMAND(9)ssh_crc(9)ssh_rqid_next_valid(9)ssh_rqid_to_event(9)ssh_rqid_is_event(9)ssh_tc_to_rqid(9)ssh_tid_to_index(9)ssh_tid_is_valid(9)struct ssam_span(9)enum ssam_ssh_tid(9)enum ssh_packet_base_priority(9)SSH_PACKET_PRIORITY(9)ssh_packet_priority_get_try(9)ssh_packet_priority_get_base(9)struct ssh_packet_ops(9)struct ssh_packet(9)ssh_packet_set_data(9)struct ssh_request_ops(9)to_ssh_request(9)ssh_request_get(9)ssh_request_put(9)ssh_request_set_data(9)
okay that's the page, bestie. mwah π β source/version: ./include/linux/surface_aggreg...; date: October 2026. slay and stay iconic. π
π¦ 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