STRUCT HAM_START_MESSAGE_RES(9)
β¨ struct ham_start_message_res β Kernel API Manual β¨
okay bestie, welcome to the struct ham_s..._message_res(9) page π
yeah the title's got that ellipsis thing going on, that's just how the kernel manual labels it, don't come for me.
π NAME π
struct ham_start_message_res β it's the start message response, that's the whole vibe. it's giving "the reply you get back when a start message went out" π¦
πΈ SYNOPSIS πΈ
here's the literal struct, character for character, no cap:
struct ham_start_message_res {
struct ham_bus_message header;
u16 fw_version[4];
u16 supported_version;
u8 heci_capabilities_length;
u8 heci_capabilities[];
};
π Members π
headerβ the bus message header, and it's specificallyHAM_BUS_CMD_START_RSP. that's your "this is a start response" label, periodt πfw_versionβ firmware version, and it comes in as fouru16blocks. four. like a little squad of version numbers π«Άsupported_versionβ the supported protocol version, oneu16, short and sweet β¨heci_capabilities_lengthβ how long the protocol capabilities data is, measured in bytes (u8, so keep it smol) πheci_capabilitiesβ the actual protocol capabilities data. flexible array member, so it's whatever lengthheci_capabilities_lengthsays it is. main character energy, honestly π
π¦ SEE ALSO π¦
- Kernel file
./drivers/misc/issei/hw_msg.hstruct ham_setup_shared_memory_req(9)struct ham_setup_shared_memory_res(9)struct control_buffer(9)struct ham_message_header(9)struct ham_bus_message(9)struct ham_start_message_req(9)struct ham_get_clients_req(9)struct ham_client_properties(9)struct ham_get_clients_res(9)
like, go read those too, they're all in the same friend group iykyk π
ngl the heci_capabilities[] bit is a flexible array member, so the length field is literally the only thing keeping you from reading past the end. respect it π
and that's the page, bestie π this one lives in ./drivers/misc/issei, dated October 2026, and yeah the footer still calls it struct ham_s..._message_res(9) β iconic, we love a consistent header. slay ππ₯
π¦ 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