STRUCT IOSM_NETDEV_PRIV(9)
π struct iosm_netdev_priv(9) π
okay so this is a page from the Kernel API Manual and honestly? it's a little cutie. it's all about struct iosm_netdev_priv β the netdev WWAN driver specific private data. that's it, that's the vibe. it's the lil backpack of info the WWAN netdev driver carries around for itself πβ¨
β¨ SYNOPSIS β¨
struct iosm_netdev_priv {
struct iosm_wwan *ipc_wwan;
struct net_device *netdev;
int if_id;
int ch_id;
};
look at her. four fields. clean. iconic. no notes π
π Members π
ipc_wwanβ a pointer to theiosm_wwanstruct. literally just pointing at her bestie π«Άnetdevβ a pointer to the network interface device structure. yep, the netdev itself, right there, linked πif_idβ the interface id for the device. it's giving "which one am i" energy πͺͺch_idβ the IPC channel number for which the interface device is created. that's the channel she was born on, no cap π‘
π SEE ALSO π
- Kernel file
./drivers/net/wwan/iosm/iosm_ipc_wwan.c struct iosm_wwan(9)
go read those, bestie, iykyk ππ
aaaand that's the whole page fr fr π¦ this little drop came from ./drivers/net/wwan/iosm, dated October 2026, and it's page struct iosm_netdev_priv(9) of the Kernel API Manual β bye bye, slay, and happy hacking πβ¨πΈ
π¦ 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