STRUCT CA_CAPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct ca_caps β€” bestie's guide to CA slot interface capabilities πŸ’–

okay so this is a page from the Kernel API Manual (section 9, the kernel API one, iykyk) and it's all about struct ca_caps β€” the CA slot interface capabilities. yes it's a struct, yes it's short, no we're not skipping anything, let's go πŸŽ€


✨ SYNOPSIS ✨

here's the whole thing, literally every field, no notes:

struct ca_caps {
    unsigned int slot_num;
    unsigned int slot_type;
    unsigned int descr_num;
    unsigned int descr_type;
};

look at her. four unsigned ints and she's iconic πŸ‘‘


🌸 Members 🌸

  • slot_num β€” the total number of CA card and module slots. like, how many slots exist in total. that's it, that's the whole vibe πŸ’…
  • slot_type β€” a bitmap holding all the supported types, as defined at struct ca_slot_info (e.g. CA_CI, CA_CI_LINK, etc). so it's not one type, it's the whole lil bitmask collection of them πŸ¦‹
  • descr_num β€” the total number of descrambler slots β€” also known as keys πŸ”‘ that's the count, bestie.
  • descr_type β€” a bitmap with all the supported types, as defined at struct ca_descr_info (e.g. CA_ECD, CA_NDS, etc). again: bitmap, all the supported types, and those are the examples fr fr ✨
quick vibe check: slot_num and descr_num are counts, while slot_type and descr_type are bitmaps. don't mix them up, that's the whole personality of this struct 😭

πŸ‘€ SEE ALSO πŸ‘€

  • Kernel file ./include/uapi/linux/dvb/ca.h
  • struct ca_slot_info(9)
  • struct ca_descr_info(9)
  • struct ca_msg(9)
  • struct ca_descr(9)

go read those, they're the friend group 🫢


and that's the page!! πŸŽ‰ this one lives in ./include/uapi/linux/dvb, it's dated October 2026, and it's filed under struct ca_caps(9) β€” so if you ever need to find her again, that's where she's at πŸ’œβ­

πŸ“¦ where this page comes from