batadv_mcas..._ipv6_update(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_mcast_want_ipv6_update(9) β€” like, the Kernel API Manual, but make it cute πŸŽ€

okay bestie, so this one lives in the Kernel API Manual and it's genuinely a tiny little function with main character energy β€” it just keeps a counter and a list in sync when one specific IPv6 flag flips. let's get into it ✨


🌸 NAME 🌸

batadv_mcast_want_ipv6_update β€” update the want-all-ipv6 counter and the list. that's the whole vibe, no cap 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

void batadv_mcast_want_ipv6_update (struct batadv_priv *bat_priv ,
struct batadv_orig_node *orig , u8 mcast_flags );

yes she takes three args and returns literally nothing (void), she's just here to do the bookkeeping πŸ’…


🧚 ARGUMENTS 🧚

  • bat_priv β€” the bat_priv that's holding all the mesh interface information. she's the whole personality of the mesh, basically πŸ‘‘
  • orig β€” the orig_node whose multicast state maybe just changed. "might have changed" β€” we don't know yet, that's the whole point, we're checking πŸ™ˆ
  • mcast_flags β€” the flags showing the new multicast state. like, the fresh fit the originator just walked in wearing πŸ”₯

⭐ DESCRIPTION ⭐

okay so here's the tea πŸ“: if the BATADV_MCAST_WANT_ALL_IPV6 flag on this originator β€” that's orig β€” has toggled, then this method goes and updates the counter and the list to match. toggled = it changed, bestie, and we are not letting stale numbers sit around looking a mess ✨

⚠️ real talk though: the caller needs to hold orig->mcast_handler_lock. that's not a suggestion, that's the rule. no lock, no update. periodt πŸ”’

🌈 SEE ALSO 🌈

okay this section is long and honestly iconic β€” it's giving "she knows everyone at the party" πŸ’€ but every single one is here, exactly like the original, because we don't do cut corners in this house πŸ‘‘

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

like… the whole multicast cinematic universe, fr fr πŸ¦‹


okay that's the page!! stay locked, stay updated, and don't forget the mcast_handler_lock bestie πŸ’– this one's from ./net/batman-adv, dated October 2026 β€” see u in the next manpage, mwah πŸ«ΆπŸŽ€πŸ‘‘

πŸ“¦ where this page comes from