STRUCT SOF_IPC4_MSG(9)
π
struct sof_ipc4_msg(9) π
okay bestie, welcome to the struct sof_ipc4_msg(9) page from the Kernel API Manual β we folded the manual name in up here instead of doing a boring header line, and honestly? it's giving accessible β¨
π NAME π
struct sof_ipc4_msg β Placeholder of an IPC4 message. That's the whole name section, short and iconic π
β¨ SYNOPSIS β¨
Here's the struct in all its glory, copied exactly, no edits, no cap:
struct sof_ipc4_msg {
union {
u64 header_u64;
struct {
u32 primary;
u32 extension;
};
};
size_t data_size;
void *data_ptr;
};
πΈ Members πΈ
{unnamed_union}β anonymous, literally no name, mysterious main character energy π«£header_u64β the IPC4 header as a singleu64number π₯{unnamed_struct}β anonymous again, the struct version of "no thoughts, just vibes" πprimaryβ the primary part of the header, and it's mandatory β not optional, the required one πextensionβ the extended part of the header; if it's not used, it should be set to0β
data_sizeβ the size of the data, in bytes, thatdata_ptrpoints to πdata_ptrβ pointer to the optional payload of a message, so it's the "maybe there, maybe not" data hookup π
π SEE ALSO π
Kernel file ./include/sound/sof/ipc4/header.h, plus these besties: struct sof_ipc4_tuple(9), struct sof_ipc4_process_data_error_event_data(9), struct sof_ipc4_mixer_underrun_event_data(9), union sof_ipc4_resource_event_data(9), and struct sof_ipc4_notify_module_data(9) π¦
source/version check bestie: ./include/sound/sof/ipc4 β date: October 2026 β page: struct sof_ipc4_msg(9). That's the cute sign-off, 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