STRUCT GSM_DLCI_CONFIG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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