STRUCT GSM_NETCONFIG(9)
π NAME π
struct gsm_netconfig β the network configuration parameters for n_gsm, bestie. That's the whole vibe. It's a struct. It holds your network setup. Slay.
β¨ SYNOPSIS β¨
okay so here's literally the exact shape of it, no cap:
struct gsm_netconfig {
unsigned int adaption;
unsigned short protocol;
unsigned short unused2;
char if_name[IFNAMSIZ];
__u8 unused[28];
};
π Members π
adaptionβ which adaption you wanna use in network mode. That's the one. Pick your adaption, live your truth πprotocolβ the protocol to use, and listen: onlyETH_P_IPis supported. That's it, that's the whole list. Don't come at it with anything else πunused2β can not be used. Not "maybe", not "if you're brave". Can not. Leave it alone π«Άif_nameβ interface name format string. It's achararray sizedIFNAMSIZ, so that's the budget for your naming fantasy β¨unusedβ can not be used. Twenty-eight (28)__u8s of pure hands-off energy. Do not touch, do not pass go π
π¦ Description π¦
So this struct is the bestie that rides along with GSMIOC_ENABLE_NET and GSMIOC_DISABLE_NET β together they enable or disable a network data connection over a mux virtual tty channel π₯
And who is this for? For modems that support data connections with raw IP frames instead of PPP. Raw IP frames, periodt. iykyk πΈ
π SEE ALSO π
Go touch some kernel files, king:
- Kernel file
./include/uapi/linux/gsmmux.hβstruct gsm_config(9),struct gsm_config_ext(9),struct gsm_dlci_config(9)π¦
sign-off era π β this lil page lives in ./include/uapi/linux, dated October 2026. Bye bestie, go configure something iconic ππ
π¦ 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