STRUCT GSM_DLCI_CONFIG(9)
π struct gsm_dlci_config(9) π
okay so bestie, welcome to the Kernel API Manual, section 9 β this is the page for struct gsm_dlci_config(9), and it's lowkey the blueprint for n_gsm channel configuration. no cap, every field matters. β¨
πΈ NAME πΈ
struct gsm_dlci_config β n_gsm channel configuration parameters.
π¦ SYNOPSIS π¦
struct gsm_dlci_config {
__u32 channel;
__u32 adaption;
__u32 mtu;
__u32 priority;
__u32 i;
__u32 k;
__u32 flags;
__u32 reserved[7];
};
π Members π
here's the cast of fields, and yes, they're all main characters:
channelβ DLCI (0 for the associated DLCI).adaptionβ Convergence layer type.mtuβ Maximum transfer unit.priorityβ Priority (0 for default value).iβ Frame type (1 = UIH, 2 = UI).kβ Window size (0 for default value).flagsβ DLCI specific flags.reservedβ For future use, must be initialized to zero.
quick vibe check: reserved is for future use and must be initialized to zero. don't leave it messy, bestie. π
π Description π
so this structure teams up with GSMIOC_GETCONF_DLCI and GSMIOC_SETCONF_DLCI to retrieve and set the channel specific parameters of an n_gsm ldisc. it's giving "get and set, but make it channel-specific." periodt. π
Set the channel accordingly before calling GSMIOC_GETCONF_DLCI β like, set it first, then call. iykyk. π
π SEE ALSO π
- Kernel file
./include/uapi/linux/gsmmux.h struct gsm_config(9)struct gsm_netconfig(9)struct gsm_config_ext(9)
mwah π sign-off time: source/version is ./include/uapi/linux, date is October 2026, and that's the whole struct gsm_dlci_config(9) moment. slay. π«Ά
π¦ 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