batadv_hard...le_interface(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_hardif_disable_interface(9) πŸŽ€

okay bestie, welcome to the Kernel API Manual β€” yes, that's the manual name, we're fancy here ✨. Today's main character is batadv_hardif_disable_interface, and honestly? She's the one who closes the door on the way out. Let's get into it πŸ¦‹


🌸 NAME 🌸

batadv_hardif_disable_interface β€” Remove hard interface from mesh interface πŸ’…

like, the hard interface is leaving the group chat, and this function is the one who actually removes her from it. no cap.


✨ SYNOPSIS ✨

void batadv_hardif_disable_interface (struct batadv_hard_iface
*hard_iface );

note the void β€” she returns nothing, she just does it and leaves. main character energy fr πŸ”₯


🫢 ARGUMENTS 🫢

  • hard_iface β€” the hard interface to be removed πŸ₯Ί that's the one getting yeeted from the mesh interface, bestie. that's literally her whole job.

πŸ‘‘ SEE ALSO πŸ‘‘

the Kernel file it lives in:

./net/batman-adv/hard-interface.c

and wow okay, the friend group is large. here's the full squad, no one gets left out πŸ’œ:

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_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)

iykyk 😭 that's a whole roster. go read them, they're all slay in their own way ⭐


🧚 friendly reminder: this page lives in ./net/batman-adv, dated October 2026, and it's brought to you by the Kernel API Manual β€” so if you see batadv_hard...le_interface(9) floating around in a header or footer somewhere, that's just her, being iconic πŸŒˆπŸ’–
πŸ“¦ where this page comes from