ENUM DCBNL_ATTRS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ enum dcbnl_attrs(9) ✨

okay so bestie, welcome to the enum dcbnl_attrs page from the Kernel API Manual πŸ’… this is the DCB top-level netlink attributes enum and honestly it's giving "networking homework but make it cute" πŸŽ€


🌸 NAME 🌸

enum dcbnl_attrs β€” DCB top-level netlink attributes πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

enum dcbnl_attrs {
    DCB_ATTR_UNDEFINED ,
    DCB_ATTR_IFNAME ,
    DCB_ATTR_STATE ,
    DCB_ATTR_PFC_STATE ,
    DCB_ATTR_PFC_CFG ,
    DCB_ATTR_NUM_TC ,
    DCB_ATTR_PG_CFG ,
    DCB_ATTR_SET_ALL ,
    DCB_ATTR_PERM_HWADDR ,
    DCB_ATTR_CAP ,
    DCB_ATTR_NUMTCS ,
    DCB_ATTR_BCN ,
    DCB_ATTR_APP ,
    DCB_ATTR_IEEE ,
    DCB_ATTR_DCBX ,
    DCB_ATTR_FEATCFG ,
    DCB_ATTR_CEE ,
    __DCB_ATTR_ENUM_MAX ,
    DCB_ATTR_MAX

};

πŸ’œ Constants πŸ’œ

no skipping, we're doing all of them, mwah 😘

  • DCB_ATTR_UNDEFINED β€” the unspecified attribute whose whole job is catching errors 🚨 literally the safety net of this enum.
  • DCB_ATTR_IFNAME β€” interface name of the underlying device (NLA_STRING) 🏷️
  • DCB_ATTR_STATE β€” enable state of DCB in the device (NLA_U8) ✨
  • DCB_ATTR_PFC_STATE β€” enable state of PFC in the device (NLA_U8) πŸŽ€
  • DCB_ATTR_PFC_CFG β€” priority flow control configuration (NLA_NESTED) 🫢
  • DCB_ATTR_NUM_TC β€” number of traffic classes supported in the device (NLA_U8) πŸ”’
  • DCB_ATTR_PG_CFG β€” priority group configuration (NLA_NESTED) 🌸
  • DCB_ATTR_SET_ALL β€” bool to commit changes to hardware or not (NLA_U8) πŸ’€ yes bestie, "or not" is doing a lot of work there.
  • DCB_ATTR_PERM_HWADDR β€” MAC address of the physical device (NLA_NESTED) 🧚
  • DCB_ATTR_CAP β€” DCB capabilities of the device (NLA_NESTED) πŸ”₯
  • DCB_ATTR_NUMTCS β€” number of traffic classes supported (NLA_NESTED) ⭐
  • DCB_ATTR_BCN β€” backward congestion notification configuration (NLA_NESTED) 🌈
  • DCB_ATTR_APP β€” -- undescribed -- πŸ™ˆ the manpage itself has no lore for this one, and I refuse to make any up. enigmatic main character energy.
  • DCB_ATTR_IEEE β€” IEEE 802.1Qaz supported attributes (NLA_NESTED) πŸ‘‘
  • DCB_ATTR_DCBX β€” DCBX engine configuration in the device (NLA_U8) πŸ¦‹
  • DCB_ATTR_FEATCFG β€” DCBX features flags (NLA_NESTED) πŸ“
  • DCB_ATTR_CEE β€” CEE std supported attributes (NLA_NESTED) πŸ’œ
  • __DCB_ATTR_ENUM_MAX β€” -- undescribed -- πŸ«₯ also undescribed, also iconic for it.
  • DCB_ATTR_MAX β€” -- undescribed -- 😭 same deal, no description, no cap.

🌟 SEE ALSO 🌟

Kernel file ./include/uapi/linux/dcbnl.h, plus the whole friend group: struct cee_pg(9), struct cee_pfc(9), struct dcb_peer_app_info(9), enum dcbnl_commands(9), enum ieee_attrs(9), enum cee_attrs(9), enum dcbnl_pg_attrs(9), enum dcbnl_tc_attrs(9), enum dcbnl_cap_attrs(9), enum dcbnl_numtcs_attrs(9), enum dcb_general_attr_values(9) πŸ’– go read them, iykyk.


ok that's the whole page, go forth and configure DCB responsibly πŸ«‘πŸ’…

and that's a wrap bestie 🌸 this one lives in ./include/uapi/linux, dated October 2026 ⭐ mwah, go slay your netlink attributes πŸŽ€πŸ’–

πŸ“¦ where this page comes from