STRUCT MUX_ADTH_DG(9)
β¨ 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 π
- Kernel file
./drivers/net/wwan/iosm/iosm_ipc_mux.h - union
mux_cmd_param(9) - struct
mux_qlth_ql(9) - struct
mux_qlth(9) - struct
mux_adb(9) - struct
mux_acb(9) - struct
iosm_mux(9) ipc_mux_init(9)ipc_mux_deinit(9)ipc_mux_check_n_restart_tx(9)ipc_mux_get_active_protocol(9)ipc_mux_open_session(9)ipc_mux_close_session(9)ipc_mux_get_max_sessions(9)
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_indexanddatagram_lengthare 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
- 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