batadv_meshif_slave_del(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 the batadv_mesh_interface that's being used as the master interface πŸ‘‘ she's the main character here, the one doing the deleting.
  • slave_dev β€” the net_device that 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:

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