batadv_mcast_mla_meshif_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 batadv_mcast_mla_meshif_get(9) 🌸

hiii bestie, welcome to the Kernel API Manual page for batadv_mcast_mla_meshif_get(9) πŸ’– this one is all about grabbing meshif multicast listeners, and yes, it's giving kernel-internals main character energy.


πŸŽ€ NAME πŸŽ€

batadv_mcast_mla_meshif_get β€” get meshif multicast listeners. That's the vibe, periodt.


✨ SYNOPSIS ✨

int batadv_mcast_mla_meshif_get (struct net_device *dev , struct
       hlist_head *mcast_list , struct batadv_mcast_mla_flags *flags );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the device we're collecting multicast addresses from, bestie.
  • mcast_list β€” a list to put the found addresses into. Like a little collection basket 🧺
  • flags β€” flags indicating the new multicast state. Very flags. Much state.

πŸ’… DESCRIPTION πŸ’…

Okay so this function collects multicast addresses of multicast listeners residing on this kernel on the given mesh interface, dev, and drops them into the given mcast_list ✨ In general, multicast listeners provided by your multicast receiving applications run directly on this node β€” right here, on this very node, no cap.

If there's a bridge interface on top of dev, collect from that one instead. Just like with IP addresses and routes, multicast listeners will(/should) register to the bridge interface instead of an enslaved bat0. That's literally the rule, iykyk πŸ‘‘


πŸ”₯ RETURN πŸ”₯

-ENOMEM on memory allocation error, or the number of items added to the mcast_list otherwise. Slay πŸ’€βœ¨


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./net/batman-adv/multicast.c

The whole batman-adv multicast extended family is popping off here:


mwah πŸ’‹ this little page comes from ./net/batman-adv, October 2026, and it's literally the batadv_mcast_mla_meshif_get(9) page, bestie 🫢

πŸ“¦ where this page comes from