batadv_mcast_forw_push_tt(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’… batadv_mcast_forw_push_tt(9) ๐Ÿ’…

okay bestie, welcome to the Kernel API Manual โœจ โ€” yes this is from the Kernel API Manual, and yes it's about the kernel, and yes we're gonna get through it together ๐Ÿซถ


๐ŸŒธ NAME ๐ŸŒธ

batadv_mcast_forw_push_tt โ€” push originators with interest through TT ๐ŸŒˆ

like, the whole vibe of this function is "hey, who actually wants this multicast packet? let's go find out and push them on board" โ€” you'll see ๐Ÿ’–


โœจ SYNOPSIS โœจ

bool batadv_mcast_forw_push_tt (struct batadv_priv *bat_priv , struct
sk_buff *skb , unsigned short vid , unsigned short *num_dests , unsigned
short *tvlv_len );

it returns a bool, no cap ๐ŸŽ€


๐Ÿฆ‹ ARGUMENTS ๐Ÿฆ‹

  • bat_priv โ€” the bat priv with all the mesh interface information ๐Ÿ’œ like, this is the main character struct, it's holding literally everything about the mesh interface
  • skb โ€” the skb to push the destination addresses onto ๐Ÿ“ฆ this is the packet getting all the new addresses yeeted onto it
  • vid โ€” the vlan identifier ๐Ÿท๏ธ yep, the vlan id, that's the one
  • num_dests โ€” a pointer to store the number of pushed addresses in ๐Ÿ”ข so after this runs, that's where the count lives
  • tvlv_len โ€” stores the amount of currently pushed TVLV bytes ๐Ÿ“ key word currently, iykyk

๐Ÿงš DESCRIPTION ๐Ÿงš

okay so here's the whole thing, no gatekeeping ๐Ÿ’…

Push the MAC addresses of all originators which have indicated interest in this multicast packet through the translation table onto the given skb.

that's it, that's the whole function ๐ŸŽฏ it goes through the translation table (TT, bestie, that's the TT in the name ๐Ÿ˜Œ), finds every originator that was like "yes I want this multicast packet", and pushes their MAC addresses onto the skb you handed it. king behavior honestly ๐Ÿ‘‘


๐Ÿ”ฅ RETURN ๐Ÿ”ฅ

true on success, false otherwise ๐Ÿ’€

that's it. that's the return. binary queen ๐Ÿ‘‘


๐ŸŒŸ SEE ALSO ๐ŸŒŸ

the kernel file lives here ๐Ÿ—‚๏ธ

./net/batman-adv/multicast_forw.c

and here's the whole friend group ๐Ÿซถ โ€” like, the entire multicast forwarding squad, all of them:

that's 29 besties, count 'em ๐Ÿงฎโœจ


okay that's the whole page bestie, we ate that fr fr ๐Ÿ’…โœจ this one's brought to you by ./net/batman-adv and it's dated October 2026 ๐ŸŽ€๐Ÿ“ go forth and push those originators ๐Ÿ‘‘๐Ÿ’–

๐Ÿ“ฆ where this page comes from