ENUM NCSI_NL_ATTRS(9)
π 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 NCSINCSI_ATTR_PACKAGE_LISTβ a nested array ofNCSI_PKG_ATTRattributes. Nested! Array! Iconic πΈNCSI_ATTR_PACKAGE_IDβ the package ID, periodtNCSI_ATTR_CHANNEL_IDβ the channel ID, also periodtNCSI_ATTR_DATAβ the command payload πNCSI_ATTR_MULTI_FLAGβ the flag that signals multi-mode should be enabled withNCSI_CMD_SET_PACKAGE_MASKorNCSI_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 packagesNCSI_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
- 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