ENUM DCBNL_NUMTCS_ATTRS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum dcbnl_numtcs_attrs(9) β€” the kernel API manual, but make it make sense

okay so bestie, welcome to the glow-up edition of the enum dcbnl_numtcs_attrs(9) page from the Kernel API Manual ✨ this is the little enum that's literally just here to count traffic classes for you. no cap, that's the whole vibe.


✨ NAME ✨

enum dcbnl_numtcs_attrs β€” number of traffic classes πŸŽ€

🌸 SYNOPSIS 🌸

enum dcbnl_numtcs_attrs {
    DCB_NUMTCS_ATTR_UNDEFINED ,
    DCB_NUMTCS_ATTR_ALL ,
    DCB_NUMTCS_ATTR_PG ,
    DCB_NUMTCS_ATTR_PFC ,
    __DCB_NUMTCS_ATTR_ENUM_MAX ,
    DCB_NUMTCS_ATTR_MAX

};

like, look at her. five-ish members and a whole lot of ~purpose~ πŸ’…

πŸ¦‹ Constants πŸ¦‹

okay so here's the cast, and every single one of them matters:

  • DCB_NUMTCS_ATTR_UNDEFINED β€” the unspecified attribute whose whole job is to catch errors 🫢 she's the safety net, the vibes check, the "wait that shouldn't be here" girlie.
  • DCB_NUMTCS_ATTR_ALL β€” (NLA_FLAG) all traffic class attributes. all of them. the full set. main character energy πŸ‘‘
  • DCB_NUMTCS_ATTR_PG β€” (NLA_U8) number of traffic classes used for priority groups. iconic, numbered, and a u8 for reasons.
  • DCB_NUMTCS_ATTR_PFC β€” (NLA_U8) number of traffic classes which can support priority flow control 🌈 also a u8, also doing the most.
  • __DCB_NUMTCS_ATTR_ENUM_MAX β€” -- undescribed -- 😭 the manpage literally has nothing for her. she's mysterious. she's private. respect her privacy fr fr.
  • DCB_NUMTCS_ATTR_MAX β€” -- undescribed -- πŸ’€ same situation. no description, only vibes. we love an enigmatic icon.
ngl, two of these entries being -- undescribed -- is not me being lazy, that is genuinely what the original page says. keeping the facts, keeping the mystery ✨

πŸ”₯ SEE ALSO πŸ”₯

go read these next, bestie, they're all linked up:

  • Kernel file ./include/uapi/linux/dcbnl.h
  • struct cee_pg(9)
  • struct cee_pfc(9)
  • struct dcb_peer_app_info(9)
  • enum dcbnl_commands(9)
  • enum dcbnl_attrs(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 dcb_general_attr_values(9)

and that's the whole page πŸ’– this queen lives in ./include/uapi/linux, and the page itself is dated October 2026 β€” so yeah, she's from the future and she's still just counting traffic classes. slay 🌟

πŸ“¦ where this page comes from