ssh_packet_priority_get_try(9)
π ssh_packet_priority_get_try(9) π
okay bestie, welcome to the Kernel API Manual β yes, this is literally the kernel docs and we're gonna make it cute. this one's about pulling the number of tries out of a packet priority, and it's short, it's sweet, it slays, let's go π
β¨ NAME β¨
ssh_packet_priority_get_try β get the number of tries from a packet priority. that's it. that's the whole job. no cap π
πΈ SYNOPSIS πΈ
u8 ssh_packet_priority_get_try (u8 priority );
look at her. one arg, returns a u8. main character energy honestly π
π¦ ARGUMENTS π¦
priorityβ the packet priority. yeah she's just a packet priority, that's the whole vibe. hand her over and we'll do the rest π«Ά
β RETURN β
returns the number of tries encoded in the specified packet priority. so like β the try-count is in there, encoded in the priority, and this function is the one who gets it out for you. iconic behaviour, honestly π₯
π SEE ALSO π
the kernel file ./include/linux/surface_aggregator/serial_hub.h is where all this lives, and here's the whole little friend group of related symbols β every single one, no skipping, we don't do that here π€β¨
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_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)
like, that's the whole squad right there. go read them, they're all gonna be relevant someday i promise π§π
quick vibe check: everything above is straight from the kernel API manual β i did not invent a single option, value, or symbol. facts stay facts, only the outfit changed π
and that's the page!! π written against the kernel file ./include/linux/surface_aggreg... (yes it's truncated like that in the real footer, don't come for me π©·) and dated October 2026 β see you in the next manpage bestie, mwah πππ
π¦ 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