batadv_is_cfg80211_netdev(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 wireless
  • false β€” 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 🌈


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 the batadv_is_cfg80211_netdev(9) page β€” periodt. πŸŽ€βœ¨πŸ¦‹
πŸ“¦ where this page comes from