batadv_get_sset_count(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ batadv_get_sset_count(9) ✨

okay bestie so this is a page from the Kernel API Manual, and it's literally about batadv_get_sset_count β€” the ethtool stringset size handler for mesh interfaces πŸ’… like it's the little function that tells ethtool how many strings live in a stringset, and honestly? iconic.


πŸ¦‹ NAME πŸ¦‹

batadv_get_sset_count β€” the ethtool stringset size handler for mesh interfaces, no cap. It's giving "how many entries are in this set" energy and we're obsessed πŸ’–


🌸 SYNOPSIS 🌸

int batadv_get_sset_count (struct net_device *dev , int stringset );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the mesh interface, which is lowkey unused here πŸ™ˆ like it shows up to the function but doesn't do anything, we love a passive main character.
  • stringset β€” the ethtool string set you're querying ✨ this is the one that actually matters.

πŸ’œ RETURN πŸ’œ

It returns the number of entries in stringset πŸŽ‰ β€” or -EOPNOTSUPP if that stringset isn't supported 🫠 so like, vibe check the stringset before you get your hopes up, iykyk.


🌈 SEE ALSO 🌈

Kernel file ./net/batman-adv/mesh-interface.c β€” that's the home base 🏠 fr fr. And then the whole friend group, all of them at (9):


πŸ’€ reminder bestie: if stringset isn't one of the supported ones, you get -EOPNOTSUPP back, not a number. don't be surprised, it told you.

okay that's the whole page 🫢 and before you go β€” this beauty lives in ./net/batman-adv, it's dated October 2026, and it goes by batadv_get_sset_count(9). slay, go read some kernel source, mwah πŸ’–πŸ§šβ€β™€οΈβ­

πŸ“¦ where this page comes from