batadv_mcas...ant_all_rtr4(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_mcast_forw_want_all_rtr4(9) β€” from the Kernel API Manual, bestie πŸŽ€

okay so like, welcome to the group chat for batadv_mcast_forw_want_all_rtr4, a real function in the Kernel API Manual and honestly? she's serving multicast-realness. sit down, grab a πŸ“, we're gonna go through this whole page together, every single crumb.


✨ NAME ✨

batadv_mcast_forw_want_all_rtr4 β€” forward to nodes with want-all-rtr4

no cap, that's literally her job description. forward to nodes with want-all-rtr4. she's an icon, she's a forwarder, she said "who wants rtr4? you get a copy, you get a copy." πŸ’…


🌸 SYNOPSIS 🌸

int batadv_mcast_forw_want_all_rtr4 (struct batadv_priv *bat_priv ,
struct sk_buff *skb , unsigned short vid );

look at her signature, so clean, so structured, i'm obsessed 😭. she takes three things and returns an int, and we respect that.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • bat_priv β€” the bat priv with all the mesh interface information. she's the main character of this whole mesh situation, lowkey holds everything together 🫢
  • skb β€” the multicast packet to transmit. like, the actual package being shipped, the payload, the vibe being delivered ✨
  • vid β€” the vlan identifier. you know, the vlan part. the identifier part. okay she just tells everybody which vlan we're on πŸŽ€

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the tea β˜• β€” this function sends copies of a frame with a multicast destination to any node with a BATADV_MCAST_WANT_NO_RTR4 flag unset. read that again bestie, unset. the flag being unset is what puts you on the list. the way that's basically a "yes please" by default iykyk πŸ™ˆ

and how does she actually deliver? a transmission is performed via a batman-adv unicast packet for each such destination node. like, for each one. one unicast packet per destination node. she is thorough, she is organized, she is doing the absolute most in the best way possible πŸ‘‘


⭐ RETURN ⭐

  • NET_XMIT_DROP on memory allocation failure 😭 (sad girl hours, memory said no)
  • NET_XMIT_SUCCESS otherwise πŸ’– (slay, we're so back)

like she's either dropping it or succeeding, there is genuinely no in-between and i kind of respect that energy ngl.


🌈 SEE ALSO 🌈

okay this is the part where she tags literally everyone in the group chat because she knows everyone and everyone knows her. hang on bestie, this is a long list, but we are not skipping a single one πŸ’€:

see? everyone. every single one. and notice she even shouts out her sibling batadv_mcast_forw_want_all_rtr6(9) and her cousin batadv_mcast_forw_want_rtr(9) β€” family business fr fr 🧚


πŸ’œ quick reminder bestie: the want... variants and the want_all... variants are different functions and they are both on this list. do not merge them in your head. i'm watching. πŸ‘€

and that's the whole page!! she's from ./net/batman-adv, dated October 2026, and she lives in the Kernel API Manual. mwah πŸ’‹ go forth and forward responsibly, bestie πŸ¦‹βœ¨πŸŽ€

πŸ“¦ where this page comes from