STRUCT GSM_CONFIG_EXT(9)
πΈ STRUCT GSM_CONFIG_EXT β n_gsm extended configuration parameters πΈ
okay bestie, this is struct gsm_config_ext(9) from the Kernel API Manual β yes it's a kernel thing, no it's not scary, come sit with me π
β¨ SYNOPSIS β¨
like, here's the whole shape of her, literally verbatim:
struct gsm_config_ext {
__u32 keep_alive;
__u32 wait_config;
__u32 flags;
__u32 reserved[5];
};
that's it. that's the girl. five lines of pure struct energy π
π MEMBERS π
okay so each of these fields is a whole personality, let me introduce you:
keep_aliveβ this is the control channel keep-alive, and the unit is 1/100th of a second. set it to0to disable it entirely (yes, zero means off, she's not doing the heartbeat thing anymore π).wait_configβ the big question: do we wait for the DLCI config before opening the virtual link? that's literally what this field is asking. it's giving "are we patient or are we impulsive" energy πflagsβ mux specific flags. mux. specific. flags. iykyk β¨reservedβ for future use, and bestie listen to me: it must be initialized to zero. not "probably should", not "if you feel like it" β must. don't be the one who forgets this, i'm begging π«Ά
π DESCRIPTION π
so this structure gets used in combination with GSMIOC_GETCONF_EXT and GSMIOC_SETCONF_EXT to retrieve and set the extended parameters of an n_gsm ldisc. that's the whole job. get conf, set conf, extended edition π
and one thing that applies to all the timers here β no cap, every single one:
all timers are in units of 1/100th of a second</> . so like, do the math before you set a number, please, i'm asking nicely π
π¦ SEE ALSO π¦
go look at these next, they're all in the kernel file ./include/uapi/linux/gsmmux.h:
struct gsm_config(9)struct gsm_netconfig(9)struct gsm_dlci_config(9)
okay that's the whole page, periodt π this gem lives in ./include/uapi/linux and the date on it is October 2026 β so yes she's from the future and she still wants you to zero out your reserved array. slay, go write some gsm code bestie πΈππ¦
π¦ 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