STRUCT MUX_CMDH(9)
π struct mux_cmdh(9) π
okay so bestie, welcome to the Kernel API Manual entry for struct mux_cmdh β literally the glow-up guide to the Structure of Command Header. buckle up, it's short but she's iconic β¨
π NAME π
struct mux_cmdh β the Structure of Command Header. that's it, that's the vibe. no cap. π
πΈ SYNOPSIS πΈ
here's her actual shape, copy it exactly or the compiler will simply end you:
struct mux_cmdh {
__le32 signature;
__le16 cmd_len;
u8 if_id;
u8 reserved;
__le32 next_cmd_index;
__le32 command_type;
__le32 transaction_id;
union mux_cmd_param param;
};
look at her. absolutely serving struct energy π
π¦ Members π¦
okay now the member-by-member breakdown, no skipping, we respect all the fields in this house π«Ά
signatureβ the Signature of the Command Header. she's the little name tag at the party, fr fr πcmd_lenβ Length (in bytes) of the Aggregated Command Block. yes bestie, in bytes, write that down πif_idβ the ID of the interface that the commands in the table belong to. like which friend group they roll with πreservedβ Reserved. Set it to zero. not zero? don't. just don't πnext_cmd_indexβ Index (in bytes) to the next command in the buffer. again, in bytes, she said what she said β¨command_typeβ Command Enum. See the table in the Session Management chapter for details β that's where the lore lives, go read it iykyk πtransaction_idβ The Transaction ID shall be unique to the command. shall. be. unique. that's a whole sentence of requirement, respect it πparamβ Optional parameters used with the command. optional bestie, so don't stress, but they're there if you need 'em π
π₯ SEE ALSO π₯
the whole extended universe, all linked, all real, all in the Kernel file ./drivers/net/wwan/iosm/iosm_ipc_mux_codec.h β go be nosy π
struct mux_acbh(9)struct mux_adbh(9)struct mux_adth(9)struct mux_adgh(9)struct mux_lite_cmdh(9)struct mux_lite_vfl(9)struct ipc_mem_lite_gen_tbl(9)union mux_type_cmdh(9)union mux_type_header(9)ipc_mux_dl_acb_send_cmds(9)ipc_mux_netif_tx_flowctrl(9)ipc_mux_ul_trigger_encode(9)ipc_mux_ul_data_encode(9)ipc_mux_ul_encoded_process(9)
lowkey a whole friend group of structs and unions and functions, and you thought this page was gonna be short π go read them all, they're literally waiting π
and that's the whole page, bestie! this came from ./drivers/net/wwan/iosm, dated October 2026, and it's the struct mux_cmdh(9) page β slay, you're now educated ππ§β
π¦ 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