batadv_get_sset_count(9)
β¨ 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):
batadv_skb_head_push(9)batadv_sum_counter(9)batadv_interface_stats(9)batadv_interface_set_mac_addr(9)batadv_interface_change_mtu(9)batadv_interface_set_rx_mode(9)batadv_interface_tx(9)batadv_interface_rx(9)batadv_meshif_vlan_release(9)batadv_meshif_vlan_get(9)batadv_meshif_create_vlan(9)batadv_meshif_destroy_vlan(9)batadv_interface_add_vid(9)batadv_interface_kill_vid(9)batadv_set_lockdep_class_one(9)batadv_set_lockdep_class(9)batadv_meshif_init_late(9)batadv_meshif_slave_add(9)batadv_meshif_slave_del(9)batadv_get_drvinfo(9)batadv_get_strings(9)batadv_get_ethtool_stats(9)batadv_meshif_free(9)batadv_meshif_init_early(9)batadv_meshif_validate(9)batadv_meshif_newlink(9)batadv_meshif_destroy_netlink(9)batadv_meshif_is_valid(9)
π reminder bestie: ifstringsetisn't one of the supported ones, you get-EOPNOTSUPPback, 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
- 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