ENUM NL802154_SUPPORTED_BOOL_STATES(9)
π enum nl802154_supported_bool_states β NAME β¨
okay so this is enum nl802154_supported_bool_states, bestie: it's the enum that holds the bool states for a bool capability entry. that's it, that's the whole vibe. it lives in the Kernel API Manual and it's lowkey one of the most "yes / no / also yes-and-no" moments in the whole kernel, iykyk πΈ
π SYNOPSIS π
here's the whole squad, exactly as declared, no cap:
enum nl802154_supported_bool_states {
NL802154_SUPPORTED_BOOL_FALSE ,
NL802154_SUPPORTED_BOOL_TRUE ,
__NL802154_SUPPORTED_BOOL_INVALD ,
NL802154_SUPPORTED_BOOL_BOTH ,
__NL802154_SUPPORTED_BOOL_AFTER_LAST ,
NL802154_SUPPORTED_BOOL_MAX
};
like, look at them. six icons. they're all in the group chat and they all have a job. π
β¨ Constants β¨
so here's the rundown on every single member, bestie β nobody gets left on read:
NL802154_SUPPORTED_BOOL_FALSEβ indicates to set false. that's thenoof the group. respectfully. πNL802154_SUPPORTED_BOOL_TRUEβ indicates to set true. the yes-girl. slay. π__NL802154_SUPPORTED_BOOL_INVALDβ reserved. it's giving "do not perceive her", she's not for you πNL802154_SUPPORTED_BOOL_BOTHβ indicates to set true and false. yes bestie, she contains multitudes π¦ both. at once. main character energy.__NL802154_SUPPORTED_BOOL_AFTER_LASTβ Internal. that's it, that's the whole description, she's private, mind your business π€«NL802154_SUPPORTED_BOOL_MAXβ the highest value for bool states. the ceiling. the limit. the moment when the bool states have peaked ππ₯
also can we talk about how it's spelled__NL802154_SUPPORTED_BOOL_INVALDand notINVALID? that is literally in the source, we do not fix her, we respect her π«Ά (copy it exactly in your code or she will not compile, fr fr)
π¦ SEE ALSO π¦
go read the whole friend group, they're all linked:
- Kernel file
./include/net/nl802154.henum nl802154_wpan_phy_capability_attr(9)enum nl802154_coord(9)enum nl802154_scan_types(9)enum nl802154_scan_done_reasons(9)enum nl802154_cca_modes(9)enum nl802154_cca_opts(9)
π the cute sign-off π
this little masterpiece came from ./include/net, dated October 2026, and it answers to the name enum nl8021..._bool_states(9) (yes, she truncates her own name in the header, iconic behaviour, no notes). take care of her, she's just a bool enum trying her best πβ¨π
π¦ 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