STRUCT MUX_ADTH(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ struct mux_adth(9) πŸŽ€

okay so bestie, welcome to the kernel API manual for struct mux_adth, and yes it's literally the Structure of the Aggregated Datagram Table Header πŸ’… like that's the whole name, no notes.


✨ SYNOPSIS ✨

struct mux_adth {
    __le32 signature;
    __le16 table_length;
    u8 if_id;
    u8 opt_ipv4v6;
    __le32 next_table_index;
    __le32 reserved2;
    struct mux_adth_dg dg[];
 };

look at that little layout bestie, it's giving "packed and ready to party" 🫢 and no, you cannot just reorder it, the fields are in that order, periodt.


🌸 Members 🌸

  • signature β€” the signature of the Aggregated Datagram Table Header. it's the vibe check of the whole struct, ngl ✨
  • table_length β€” length, in bytes, of the datagram table. bytes, not vibes. bytes πŸ’€
  • if_id β€” the ID of the interface that the datagrams in the table belong to, so you know whose table this is πŸŽ€
  • opt_ipv4v6 β€” the IPv4 (=0) / IPv6 (=1) hint. lowkey just a tiny flag doing big main character work 🌈
  • next_table_index β€” index (in bytes) to the next Datagram Table in the buffer. yes, in bytes, keep up πŸ’…
  • reserved2 β€” reserved bytes. set to zero, always, no cap, do not put anything cute in there πŸ™ˆ
  • dg β€” the datagramm table with variable length πŸ¦‹ (spelled datagramm in the original, and honestly? iconic. we keep it.)

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/net/wwan/iosm/iosm_ipc_mux_codec.h and its whole friend group:


fr fr bestie, read the linked structs before you go poking at this buffer, iykyk πŸ’€

and that's the whole page!! πŸ“ brought to you by the kernel file over in ./drivers/net/wwan/iosm, dated October 2026 β€” mwah, go read some more mux structs, slay πŸ’–πŸ§š

πŸ“¦ where this page comes from