batadv_interface_stats(9)
okay bestie, welcome to the batadv_interface_stats(9) page from the Kernel API Manual β manual name folded in like a cute lil name tag π«Ά. This is the mesh-interface stats situation, and honestly itβs giving βquietly useful iconβ energy.
β¨ NAME β¨
batadv_interface_stats β return netdev stats for a mesh interface. Thatβs the whole vibe: you want the netdev stats, and this is the one serving them π
.
π¦ SYNOPSIS π¦
struct net_device_stats * batadv_interface_stats (struct net_device *dev
);
π ARGUMENTS π
devβ the mesh interface to query. Thatβs the interface youβre asking for stats about, no mystery.
π DESCRIPTION π
Aggregate the per-CPU traffic counters into the standard netdev stats structure. Lowkey the whole job is gathering those per-CPU counters up into the standard structure β clean, simple, slay β¨.
π RETURN π
A pointer to the populated net_device_stats structure β yes, it returns struct net_device_stats *, and yes, that pointer is the prize π.
π SEE ALSO π
Kernel file ./net/batman-adv/mesh-interface.c β thatβs the home base. Also go say hi to these icons:
batadv_skb_head_push(9)batadv_sum_counter(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_get_sset_count(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)
mwah π β source/version: ./net/batman-adv Β· date: October 2026 Β· manual: batadv_interface_stats(9) π«Ά
π¦ 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