STRUCT MUX_ADTH_DG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct mux_adth_dg β€” the kernel API manual, bestie edition ✨

okay so you're here for struct mux_adth_dg(9), which lives in the Kernel API Manual, and honestly? it's giving "small struct, big responsibilities." Let's get into it πŸ’…


🌸 NAME 🌸

struct mux_adth_dg β€” this is the Structure of the datagram in the Aggregated Datagram Table Header. yes, that's a lot of capital letters, and yes, it's exactly as important as it sounds 🫢


πŸŽ€ SYNOPSIS πŸŽ€

struct mux_adth_dg {
    __le32 datagram_index;
    __le16 datagram_length;
    u8 service_class;
    u8 reserved;
 };

four fields. that's it. that's the whole vibe check, and it passed ✨


πŸ¦‹ Members πŸ¦‹

  • datagram_index β€” this is the index (in bytes) to the k-th datagram in the table. and listen, the index shall count from the start of the block including the 16-byte header β€” don't forget those 16 bytes, bestie, they're part of the count fr fr. also this value shall be non-zero. zero is not the moment πŸ™ˆ
  • datagram_length β€” the length of the k-th datagram, including the head padding. so yes, the padding counts, it's invited to the party too πŸ’– and this value shall be non-zero as well β€” no zero-length friend group allowed πŸ’€
  • service_class β€” the service class identifier for the datagram. it's giving "which class of service is this datagram in," main character energy πŸ‘‘
  • reserved β€” reserved bytes. Set to zero. that's the whole assignment. do not get creative with it, i'm begging 🧚

🌈 SEE ALSO 🌈

like, that's a whole friend group of functions and structs, go say hi to them, they're all iconic in their own way πŸ’œ


quick reminder bestie: datagram_index and datagram_length are both shall be non-zero β€” the manual said it twice and so did i, because it matters πŸ”₯

alright, that's the page! sourced straight from ./drivers/net/wwan/iosm, dated October 2026, and titled struct mux_adth_dg(9) β€” mwah, go read some kernel headers, love u, bye πŸ“πŸ’…

πŸ“¦ where this page comes from