batadv_mcast_forw_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, welcome to the batadv_mcast_forw_mode(9) page from the Kernel API Manual. This function is literally the check on how to forward a multicast packet β€” it's giving β€œforwarding decision, but make it mesh” energy, and that's the whole vibe.

✨ SYNOPSIS ✨

       enum batadv_forw_mode batadv_mcast_forw_mode (struct batadv_priv
       *bat_priv , struct sk_buff *skb , unsigned short vid , int *is_routable
       );

πŸŽ€ ARGUMENTS πŸŽ€

  • bat_priv β€” the bat priv with all the mesh interface information, aka the main-character struct holding all the mesh deets.
  • skb β€” the multicast packet to check. Drop the packet you wanna vibe-check right here.
  • vid β€” the vlan identifier. Yep, the VLAN ID, iconic.
  • is_routable β€” stores whether the destination is routable; it's the spot where that answer gets kept.

πŸ”₯ RETURN πŸ”₯

You get the forwarding mode back as enum batadv_forw_mode β€” that's the return value, periodt.


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./net/batman-adv/multicast.c β€” the squad is all up in there. Full friend group, no skips:

xoxo, from your ./net/batman-adv source/version and the October 2026 date stamp πŸ’–

πŸ“¦ where this page comes from