ethnl_bitset_is_compact(9)
β¨ ethnl_bitset_is_compact(9) β¨
okay so bestie, welcome to the <pink>ethnl_bitset_is_compact</pink> page from the Kernel API Manual β yes that's the function name, yes it's a mouthful, no we're not renaming it, it's iconic as-is π
π NAME π
ethnl_bitset_is_compact β check if bitset attribute represents a compact bitset
like, literally just a vibe check on whether your bitset attribute is compact or not π¦
πΈ SYNOPSIS πΈ
int ethnl_bitset_is_compact (const struct nlattr *bitset , bool *compact
);
π ARGUMENTS π
bitsetβ nested attribute representing a bitset π (yes, nested, it's giving layers)compactβ pointer for return value π (this is where the answer gets dropped off)
β RETURN β
0 on success π«Ά, negative error code on failure π
π₯ SEE ALSO π₯
Kernel file ./net/ethtool/bitset.c β go read it, iykyk π
ethnl_bitmap32_clear(9)ethnl_bitmap32_not_zero(9)ethnl_bitmap32_update(9)ethnl_bitset32_size(9)ethnl_put_bitset32(9)ethnl_name_to_idx(9)ethnl_bitmap32_equal(9)ethnl_update_bitset32(9)ethnl_parse_bitset(9)
basically the whole bitset friend group, they all ate π β¨
mwah, that's the whole page β shoutout to ./net/ethtool, October 2026, for making this little kernel moment possible π§π
π¦ 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