ethnl_bitset_is_compact(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 πŸ“–

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