ssh_crc(9)
π ssh_crc(9) β the Kernel API Manual glow-up π
okay so bestie, welcome to ssh_crc(9) from the Kernel API Manual β yes that's the manual name, we're not copying the header line, iykyk β¨
πΈ NAME πΈ
ssh_crc β literally just computes the CRC for SSH messages, no cap π«
β¨ SYNOPSIS β¨
u16 ssh_crc (const u8 *buf , size_t len );
like... two args, one lil return value, she's lowkey iconic π«Ά
π¦ ARGUMENTS π¦
bufβ the pointer that points at the data whose CRC you want computed. she's giving "here's my data, do ur thing" πββοΈlenβ the length of that data, i.e. how much of it we're CRC-ing. length matters, periodt π
π RETURN π
returns the CRC computed on the data you handed over β specifically the kind used for SSH messages. that's it, that's the whole vibe check π₯
π§ SEE ALSO π§
kernel file ./include/linux/surface_aggregator/serial_hub.h and like... the entire friend group π«Ά
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_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)
ngl that's a whole contact list bestie, go read them all, they're all linked π
π and that's the page!! this lil beauty lives in ./include/linux/surface_aggreg... and is dated October 2026, filed under ssh_crc(9) β mwah, slay, bye bestie π
β¨
π¦ 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