STRUCT MUX_CMDH(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 πŸ‘€


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