batadv_wifi...e_unregister(9)
π batadv_wifi...e_unregister(9) β Kernel API Manual β¨
okay so bestie, welcome to the glow-up page for batadv_wifi_net_device_unregister π this is a kernel API manual and it's lowkey tiny but it matters, so let's get into it π«Ά
πΈ NAME πΈ
batadv_wifi_net_device_unregister β the function that removes the wifi state of a net_device π§Ήβ¨
like, it's the cleanup crew. the "you're done here, bestie" moment. no cap.
π¦ SYNOPSIS π¦
void batadv_wifi_net_device_unregister (struct net_device *net_dev );
that's it. that's the whole signature. returns void β it gives nothing back, it's not about that life, it just does the thing π
π ARGUMENTS π
net_devβ thenet_deviceyou want to remove frombatadv_wifi_net_devices. that's the one. hand it over and it gets yeeted from the list πβ¨
π₯ SEE ALSO π₯
okay this part is iconic because it's literally the whole friend group π the kernel file is ./net/batman-adv/hard-interface.c and honestly every one of these is a main character:
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_is_cfg80211_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_event(9)batadv_hard_if_event(9)batadv_wifi_net_devices_init(9)batadv_wifi_net_devices_deinit(9)
like, insert and remove are literally siblings and unregister is right there in the wifi net_device saga ππ iykyk.
and that's the whole page, bestie πβ¨
this lil cutie lives in ./net/batman-adv, dropped October 2026, and it's filed under batadv_wifi...e_unregister(9) β go forth and unregister responsibly π
π«Ά
π¦ 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