STRUCT MUX_ADGH(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct mux_adgh(9) β€” like, the Kernel API Manual page, bestie

okay so real talk, this is from the Kernel API Manual and it's about one (1) little struct that does a LOT of heavy lifting for aggregated datagrams ✨

✨ NAME ✨

struct mux_adgh β€” the Aggregated Datagram Header. yes that's its whole government name πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

struct mux_adgh {
    __le32 signature;
    __le16 length;
    u8 if_id;
    u8 opt_ipv4v6;
    u8 service_class;
    u8 next_count;
    u8 reserved1[6];
 };

like, that's the whole vibe right there. eight fields, zero notes πŸ’…


🌸 Members 🌸

  • signature β€” the Signature of the Aggregated Datagram Header, and it is literally 0x48474441. no cap, that's the magic number, bestie πŸ”₯
  • length β€” how long the datagram header is, in bytes. and listen, this length shall include the header size itself (she's self-aware πŸ’β€β™€οΈ). Min value: 0x10 β€” that's the floor, do not go below it πŸ™ˆ
  • if_id β€” the ID of the interface that these datagrams belong to. every datagram's gotta know where it came from 🫢
  • opt_ipv4v6 β€” tells you IPv4 (=0) or IPv6 (=1). It is optional, so if you're not using it, set it to zero. easy ✨
  • service_class β€” the Service class identifier for the datagram. it's giving ✨priority✨ energy πŸ‘‘
  • next_count β€” the count of the datagrams that shall be following this datagram for this interface. and a count of zero means the next datagram may not belong to this interface 🧚 big "we're done here" energy
  • reserved1 β€” reserved bytes. Set to zero. that's it, that's the whole job πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

go look at the Kernel file ./drivers/net/wwan/iosm/iosm_ipc_mux_codec.h first, then the whole friend group:

like the whole squad showed up to the group chat πŸŒˆπŸ’–


aaaand that's the page!! sourced from ./drivers/net/wwan/iosm, dated October 2026 β€” mwah, kissing this manpage goodbye, hope you understood it fr fr β­πŸŽ€πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from