ssh_packet_p...ity_get_base(9)
π ssh_packet_priority_get_base(9) β Kernel API Manual
okay bestie, welcome to the Kernel API Manual β¨ this one's a tiny little icon β a one-function wonder that lives in the kernel headers and does exactly one (1) thing. no cap. let's get into it π«Ά
πΈ NAME
ssh_packet_priority_get_base β Get base priority from packet priority.
like, that's the whole job. it reads a packet priority and hands you back the base priority hiding inside it. lowkey elegant π
β¨ SYNOPSIS
u8 ssh_packet_priority_get_base (u8 priority );
two u8s and a dream, fr fr π
π ARGUMENTS
priorityβ The packet priority. that's it, that's the input, she's giving one-parameter main character energy π
π¦ RETURN
Returns the base priority encoded in the given packet priority. so you hand her a packet priority, she hands you back the base priority that was encoded in it β in and out, no drama, no side quests π«
π₯ SEE ALSO
okay this is the part where the whole friend group shows up π all of these live in the kernel file ./include/linux/surface_aggregator/serial_hub.h, and honestly? the guest list is kind of iconic:
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)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)
every single one of them is in ./include/linux/surface_aggregator/serial_hub.h, so go say hi π
and that's the whole page, bestie π this lil legend comes from ./include/linux/surface_aggreg... and she's stamped October 2026, filed under ssh_packet_p...ity_get_base(9) β she may have a truncated name but she's got a full heart π 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