batadv_is_cfg80211_netdev(9)
π batadv_is_cfg80211_netdev(9) β a Kernel API Manual moment
okay so bestie, we're in the Kernel API Manual today and this one is literally a vibe check for network devices. stay with me π«Ά
β¨ NAME β¨
batadv_is_cfg80211_netdev β checks if the net_device struct you handed it is a cfg80211 wifi interface, no cap π₯
π¦ SYNOPSIS π¦
bool batadv_is_cfg80211_netdev (struct net_device *net_device );
that's it. one function, one argument, returns a bool. she's simple, she's iconic, she ate π
π ARGUMENTS π
net_deviceβ the device to check π like, the one you're side-eyeing and asking "are you wifi or not"
πΈ RETURN πΈ
trueβ if the net device is a cfg80211 wireless device β¨ slay, she's wirelessfalseβ otherwise π₯² not wifi, better luck next time
π§ SEE ALSO π§
okay this list is giving main character energy, it's a whole friend group of batman-adv hard-interface functions, all chilling in the kernel file ./net/batman-adv/hard-interface.c π
batadv_hardif_release(9)batadv_hardif_get_by_netdev(9)batadv_getlink_net(9)batadv_mutual_parents(9)batadv_is_on_batman_iface(9)batadv_is_valid_iface(9)__batadv_get_real_netdev(9)batadv_get_real_netdev(9)batadv_is_wext_netdev(9)batadv_wifi_flags_evaluate(9)batadv_netdev_get_wifi_flags(9)batadv_hardif_get_wifi_flags(9)batadv_is_wifi_hardif(9)batadv_hardif_no_broadcast(9)batadv_hardif_get_active(9)batadv_primary_if_update_addr(9)batadv_primary_if_select(9)batadv_hardif_is_iface_up(9)batadv_check_known_mac_addr(9)batadv_hardif_recalc_extra_skbroom(9)batadv_hardif_min_mtu(9)batadv_update_min_mtu(9)batadv_hardif_activate_interface(9)batadv_hardif_deactivate_interface(9)batadv_hardif_enable_interface(9)batadv_hardif_disable_interface(9)batadv_hard_if_event_meshif(9)batadv_wifi_net_device_insert(9)batadv_wifi_net_device_remove(9)batadv_wifi_net_device_update(9)batadv_wifi_net_device_unregister(9)batadv_wifi_net_device_event(9)batadv_hard_if_event(9)batadv_wifi_net_devices_init(9)batadv_wifi_net_devices_deinit(9)
and that's the whole page bestie, go check your wifi interfaces, ily π
π cute lil sign-off: this masterpiece lives in./net/batman-adv, dated October 2026, and it's thebatadv_is_cfg80211_netdev(9)page β periodt. πβ¨π¦
π¦ 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