ENUM NCSI_NL_ATTRS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME

enum ncsi_nl_attrs β€” the general NCSI netlink attributes, bestie. Like, all of them. Every single one. πŸ’…


✨ SYNOPSIS

enum ncsi_nl_attrs {
    NCSI_ATTR_UNSPEC ,
    NCSI_ATTR_IFINDEX ,
    NCSI_ATTR_PACKAGE_LIST ,
    NCSI_ATTR_PACKAGE_ID ,
    NCSI_ATTR_CHANNEL_ID ,
    NCSI_ATTR_DATA ,
    NCSI_ATTR_MULTI_FLAG ,
    NCSI_ATTR_PACKAGE_MASK ,
    NCSI_ATTR_CHANNEL_MASK ,
    __NCSI_ATTR_AFTER_LAST ,
    NCSI_ATTR_MAX

};

Ok so this is the kernel API manual page for enum ncsi_nl_attrs, and it is literally just the enum and what each member means. No cap. Let's get into it 🫢

πŸŽ€ Constants

  • NCSI_ATTR_UNSPEC β€” the unspecified attribute, whose whole job is catching errors. It's giving "designated driver" energy πŸš—
  • NCSI_ATTR_IFINDEX β€” the ifindex of the network device that's using NCSI
  • NCSI_ATTR_PACKAGE_LIST β€” a nested array of NCSI_PKG_ATTR attributes. Nested! Array! Iconic 🌸
  • NCSI_ATTR_PACKAGE_ID β€” the package ID, periodt
  • NCSI_ATTR_CHANNEL_ID β€” the channel ID, also periodt
  • NCSI_ATTR_DATA β€” the command payload πŸ“
  • NCSI_ATTR_MULTI_FLAG β€” the flag that signals multi-mode should be enabled with NCSI_CMD_SET_PACKAGE_MASK or NCSI_CMD_SET_CHANNEL_MASK. Copy those exactly, bestie, they're not vibes, they're symbols πŸ’€
  • NCSI_ATTR_PACKAGE_MASK β€” a 32-bit mask of allowed packages
  • NCSI_ATTR_CHANNEL_MASK β€” a 32-bit mask of allowed channels
  • __NCSI_ATTR_AFTER_LAST β€” honestly the original page just says -- undescribed -- and leaves it at that 😭 so that's what we're doing too, no invented lore, we don't make things up in this group chat πŸ™ˆ
  • NCSI_ATTR_MAX β€” the highest attribute number πŸ‘‘

🌈 SEE ALSO

Kernel file ./include/uapi/linux/ncsi.h, plus these three besties: enum ncsi_nl_commands(9), enum ncsi_nl_pkg_attrs(9), enum ncsi_nl_channel_attrs(9). Go read them, iykyk πŸ¦‹


So yeah, that's the whole page β€” it lives in ./include/uapi/linux, and the version/date stamp on it is October 2026. Slay, go forth and nest your attributes responsibly πŸ§šπŸ’œ

πŸ“¦ where this page comes from