STRUCT TB_CAP_EXTENDED_LONG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct tb_cap_extended_long(9) β€” Kernel API Manual, bestie πŸ’…

okay so welcome to the group chat for struct tb_cap_extended_long(9), aka the Kernel API Manual page you didn't know you needed. We're gonna get you fluent, no cap. 🫢


🌸 NAME 🌸

struct tb_cap_extended_long β€” Switch extended long capability ✨

🌈 SYNOPSIS 🌈

Here's the struct exactly as it lives, bestie β€” no edits, no "improvements", periodt:

       struct tb_cap_extended_long {
           u8 zero1;
           u8 cap;
           u8 vsec_id;
           u8 zero2;
           u16 next;
           u16 length;
        };

🫢 Members 🫢

  • zero1 β€” this field should be zero πŸ™ˆ like literally, bestie, keep it zero.
  • cap β€” base capability ID (see enum tb_switch_cap) πŸ’–.
  • vsec_id β€” vendor specific capability ID (see enum switch_vse_cap) πŸŽ€.
  • zero2 β€” this field should be zero πŸ’… yes, this one too.
  • next β€” pointer to the next capability 🌸.
  • length β€” length of this capability ⭐.

πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./drivers/thunderbolt/tb_regs.h
  • struct tb_cap_extended_short(9), struct tb_cap_any(9) πŸ¦‹

k bye bestie πŸ’‹ β€” this iconic little page comes from ./drivers/thunderbolt, dated October 2026, and it's literally struct tb_cap_extended_long(9) at the bottom. mwah 🫢✨

πŸ“¦ where this page comes from