batadv_dat_forward_data(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ batadv_dat_forward_data(9) ✨

okay so bestie, you found your way into the Kernel API Manual for batadv_dat_forward_data β€” a little corner of batman-adv that lives rent-free in my heart, no cap πŸ¦‹


πŸ’– NAME πŸ’–

batadv_dat_forward_data β€” copy the payload and yeet it to the candidates we picked πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

bool batadv_dat_forward_data (struct batadv_priv *bat_priv , struct
       sk_buff *skb , __be32 ip , unsigned short vid , int packet_subtype );

🌸 ARGUMENTS 🌸

  • bat_priv β€” the bat priv holding all the mesh interface info πŸ‘‘
  • skb β€” the payload we're sending out 🫢
  • ip β€” the DHT key, bestie πŸ”‘
  • vid β€” VLAN identifier, periodt
  • packet_subtype β€” which unicast4addr packet subtype to use πŸ’…

⭐ DESCRIPTION ⭐

so basically this function copies the skb using pskb_copy, and then it gets sent as a unicast packet to each of the selected candidates. yes, each of them. iconic behaviour honestly πŸ”₯


🌈 RETURN 🌈

true if the packet made it to at least one candidate β€” slay πŸ’– β€” and false otherwise 😭


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./net/batman-adv/distributed-arp-table.c plus this whole crew, all in the same universe 🌌


ngl that's a lot of cross-references, but every single one of them matters, bestie 🧚

k bye ily, this page came from ./net/batman-adv, dated October 2026, and it's literally called batadv_dat_forward_data(9) β€” go read the source, it's giving main character energy πŸ’œβœ¨

πŸ“¦ where this page comes from