STRUCT CA_CAPS(9)
π 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 atstruct 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 atstruct 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_numanddescr_numare counts, whileslot_typeanddescr_typeare 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
- 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