STRUCT SSAM_REQUEST(9)
π struct ssam_request(9) π
okay so bestie, welcome to the Kernel API Manual β this is the page for struct ssam_request, and it's literally the blueprint babe. it's giving "form you fill out before the actual message gets sent" energy. let's go π«Ά
β¨ NAME β¨
struct ssam_request β the SAM request description. that's it, that's the name, and honestly? iconic.
π¦ SYNOPSIS π¦
here's the whole struct, bestie, no cap, every field exactly as it is:
struct ssam_request {
u8 target_category;
u8 target_id;
u8 command_id;
u8 instance_id;
u16 flags;
u16 length;
const u8 *payload;
};
look at her. seven fields. perfect posture. main character energy π
π Members π
okay so now the vibe check on every single one of these, one by one, because we do NOT skip:
target_categoryβ the category of the request's target. for more deets, seeenum ssam_ssh_tc. like, the neighbourhood the target lives in πtarget_idβ the ID of the request's target. hi bestie, which one are you πcommand_idβ the command ID of the request. what are we even asking for, fr frinstance_idβ the instance ID of the request's target. the specific lil instance, yk?flagsβ flags for the request. seeenum ssam_request_flagsfor the whole menu β¨lengthβ length of the request payload, in bytes. count 'em, don't guess πpayloadβ the request payload data. the actual snack inside the wrapper π
πΈ Description πΈ
so this struct fully describes a SAM request with payload. like, completely. the whole thing. no crumbs left.
her whole purpose in life is to help you set up the actual transport struct β for example struct ssam_request_sync β and specifically its raw message data, via ssam_request_write_data. so think of ssam_request as the β¨conceptβ¨ and the transport struct as the β¨deliveryβ¨. she's the blueprint, not the building. iykyk π
π SEE ALSO π
buckle up bestie, this list is LONG and we are NOT cutting a single one, periodt:
- Kernel file
./include/linux/surface_aggregator/controller.h enum ssam_event_flags(9)struct ssam_event(9)enum ssam_request_flags(9)struct ssam_response(9)struct ssam_request_sync(9)ssam_request_sync_set_data(9)ssam_request_sync_set_resp(9)ssam_request_sync_wait(9)ssam_request_do_sync_onstack(9)__ssam_retry(9)ssam_retry(9)struct ssam_request_spec(9)struct ssam_request_spec_md(9)SSAM_DEFINE_SYNC_REQUEST_N(9)SSAM_DEFINE_SYNC_REQUEST_W(9)SSAM_DEFINE_SYNC_REQUEST_R(9)SSAM_DEFINE_SYNC_REQUEST_WR(9)SSAM_DEFINE_SYNC_REQUEST_MD_N(9)SSAM_DEFINE_SYNC_REQUEST_MD_W(9)SSAM_DEFINE_SYNC_REQUEST_MD_R(9)SSAM_DEFINE_SYNC_REQUEST_MD_WR(9)enum ssam_notif_flags(9)struct ssam_notifier_block(9)ssam_notifier_from_errno(9)ssam_notifier_to_errno(9)struct ssam_event_registry(9)struct ssam_event_id(9)enum ssam_event_mask(9)SSAM_EVENT_REGISTRY(9)enum ssam_event_notifier_flags(9)struct ssam_event_notifier(9)ssam_notifier_unregister(9)
like i said. every. single. one. π you're welcome.
quick vibe note: this whole page lives in./include/linux/surface_aggregator/controller.h, and the footer says October 2026 β so yeah, she's dated, she's sourced, she'sstruct ssam_request(9)and she ate. no notes π₯
okay bye bestie, go write some requests, ily, 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