batadv_meshif_is_valid(9)
π batadv_meshif_is_valid(9) π
okay so this page is straight from the Kernel API Manual, and it's giving very specific "is this a mesh interface or not" energy. The way that this function just checks one device and gives you a yes/no? iconic. β¨
πΈ NAME πΈ
batadv_meshif_is_valid - Check whether device is a batadv mesh interface. Like, is this thing a batadv mesh interface or not? That's the whole assignment, bestie. π
β¨ SYNOPSIS β¨
bool batadv_meshif_is_valid (const struct net_device *net_dev );
π ARGUMENTS π
net_devβ device which should be checked. That's the device getting the vibe check, fr fr.
π₯ RETURN π₯
true when net_dev is a batman-adv interface, false otherwise. No cap, that's the whole return story. β
π¦ SEE ALSO π¦
- Kernel file
./net/batman-adv/mesh-interface.c 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_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)
xoxo, bestie β source/version is ./net/batman-adv, date is October 2026, and this whole cute little page is batadv_meshif_is_valid(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