ssh_rqid_next_valid(9)
β¨ ssh_rqid_next_valid β¨
okay so bestie, welcome to the ssh_rqid_next_valid page from the Kernel API Manual β yes it's a section 9 manpage, no it's not scary, i promise π«Ά
πΈ NAME πΈ
ssh_rqid_next_valid β return the next valid request ID, literally that's the whole thing π
π SYNOPSIS π
u16 ssh_rqid_next_valid (u16 rqid );
π¦ ARGUMENTS π¦
rqidβ the current request ID. that's it, that's the input, it's giving "one job" energy β¨
β RETURN β
so it returns the next valid request ID, following the current request ID you handed it. and here's the lil plot twist: it skips any request IDs that are reserved for events π₯ so like, if the next one's an event ID, it just keeps going. no cap, that's the whole mechanic.
π SEE ALSO π
all the besties in the same header file β Kernel file ./include/linux/surface_aggregator/serial_hub.h β plus this whole iconic 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_crc(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)
π real talk: read them all, they're all in the same little ecosystem, iykyk π
okay bye bestie, this page is from ./include/linux/surface_aggreg... and it's dated October 2026 and it lives under the name ssh_rqid_next_valid(9) β go forth and skip those event IDs like the main character you are ππ§π
π¦ 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