batadv_mcast...w_push_dests(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– batadv_mcast_forw_push_dests β€” the Kernel API Manual moment πŸŽ€

okay so bestie, you found it β€” the batadv_mcast...w_push_dests(9) page, straight out of the Kernel API Manual. this is the one that pushes originator addresses onto an skb and honestly? it's giving quiet-but-essential. let's get into it πŸ’…


✨ NAME ✨

batadv_mcast_forw_push_dests β€” push originator addresses onto an skb. that's the whole vibe, no cap πŸ¦‹


🌸 SYNOPSIS 🌸

int batadv_mcast_forw_push_dests (struct batadv_priv *bat_priv , struct
sk_buff *skb , unsigned short vid , int is_routable , int *count ,
unsigned short *tvlv_len );

like, look at that signature. it ate, honestly πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

  • bat_priv β€” the bat priv with all the mesh interface information. it's literally the main character here πŸ‘‘
  • skb β€” the skb we're pushing the destination addresses onto. get her, she's getting new content 🫢
  • vid β€” the vlan identifier. small but iconic πŸ’œ
  • is_routable β€” indicates whether the destination is routable. yes/no energy ✨
  • count β€” the number of originators the multicast packet needs to be sent to. counting besties πŸ’–
  • tvlv_len β€” stores the amount of currently pushed TVLV bytes. keeping track, ngl πŸ™ˆ

πŸ¦‹ DESCRIPTION πŸ¦‹

so what it does is: push the MAC addresses of all originators which have indicated interest in this multicast packet onto the given skb. like, every originator who was like "yes i want this one" gets their MAC address yeeted onto that skb. obsessed honestly πŸ˜­πŸ’•


⭐ RETURN ⭐

  • -ENOMEM if there is not enough skb headroom available. not enough room = not the moment πŸ’€
  • otherwise, on success, 0. slay πŸŽ‰

🌈 SEE ALSO 🌈

first up, the kernel file:

  • Kernel file ./net/batman-adv/multicast_forw.c

and the whole friend group β€” every single one, no skipping πŸ‘‘:


that's the whole page, bestie, nothing skipped, nothing dropped πŸ’…

sign-off time: this one lives in ./net/batman-adv and it's dated October 2026 β€” so yeah, future-dated icon behavior fr fr πŸ§šβ€β™€οΈβ­ see you in the next manpage, mwah πŸ’–

πŸ“¦ where this page comes from