batadv_meshif_slave_del(9)
π batadv_meshif_slave_del β the Kernel API Manual girlie's guide π
okay so bestie, welcome to the batadv_meshif_slave_del(9) page, straight out of the Kernel API Manual β¨ this one is short and sweet and honestly it's giving "small function, big responsibility" energy, so let's get into it π
πΈ NAME πΈ
batadv_meshif_slave_del β Delete a slave iface from a batadv_mesh_interface π¦
like, it's the breakup function. the slave iface is no longer in the situationship with the master interface, periodt π
β¨ SYNOPSIS β¨
int batadv_meshif_slave_del (struct net_device *dev , struct net_device
*slave_dev );
look at her go π two struct net_device * pointers, one int coming back. simple. iconic. no cap.
π«Ά ARGUMENTS π«Ά
devβ this is thebatadv_mesh_interfacethat's being used as the master interface π she's the main character here, the one doing the deleting.slave_devβ thenet_devicethat should be removed from the master interface π yeah. that one. she's getting yeeted out of the mesh interface, respectfully.
β RETURN β
0 if it worked, or an error otherwise π that's it, that's the whole vibe check β zero means slay, anything else means something went sideways.
π¦ SEE ALSO π¦
okay this list is long and I am obsessed, so buckle up bestie π the kernel file for all this is ./net/batman-adv/mesh-interface.c β and here's everyone she's linked with:
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)β the sister function!! she adds, this page's girlie deletes, they're literally opposites and I love that for them π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)batadv_meshif_is_valid(9)
fr fr that's the whole crew π₯ go read them too, iykyk.
quick reminder bestie: this is kernel-adjacent business, so treat it with the respect it deserves β the page only promises 0 on success or an error otherwise, so don't be out here assuming anything more, mwah π
and that's the page!! πΈ brought to you by ./net/batman-adv, dated October 2026, in the Kernel API Manual β catch you on the next one, bestie, drink some water and don't forget to rm your build artifacts πβ¨π
π¦ 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