STRUCT SSH_FRAME(9)
π¦ struct ssh_frame(9) π¦
okok so you're in the Kernel API Manual, bestie, and this page is allll about struct ssh_frame β the SSH communication frame. that's it, that's the NAME section, slay π
β¨ SYNOPSIS β¨
struct ssh_frame {
u8 type;
__le16 len;
u8 seq;
};
like literally look at it. three fields. it's giving minimalist icon energy π
πΈ Members πΈ
typeβ what kind of frame this is, babe. it's au8, and for the actual deets you gotta hit upenum ssh_frame_type. that's where the lore lives πlenβ the length of the frame payload that comes directly after the CRC for this frame. and no, it does not include the final CRC for that payload β do not come for me on this, it's right there in the spec π__le16, so keep your endianness in check fr fr.seqβ the sequence number for this message/exchange.u8. lowkey just a lil counter doing its thing so everything stays in order β¨
π₯ SEE ALSO π₯
the whole friend group, no cap:
- Kernel file
./include/linux/surface_aggregator/serial_hub.h enum ssh_frame_type(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)struct ssh_request(9)to_ssh_request(9)ssh_request_get(9)ssh_request_put(9)ssh_request_set_data(9)
that's a lot of cross-references bestie, go read them all, i'll wait π«Ά
mwah π this lil beauty lives at ./include/linux/surface_aggreg... and the version stamp on it is October 2026 β screenshot it, cite it, cite me, periodt π
π¦ 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