batadv_mcast_forw_push_tt(9)
๐ 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 interfaceskbโ the skb to push the destination addresses onto ๐ฆ this is the packet getting all the new addresses yeeted onto itvidโ the vlan identifier ๐ท๏ธ yep, the vlan id, that's the onenum_destsโ a pointer to store the number of pushed addresses in ๐ข so after this runs, that's where the count livestvlv_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:
batadv_mcast_forw_skb_push(9)batadv_mcast_forw_push_padding(9)batadv_mcast_forw_push_est_padding(9)batadv_mcast_forw_orig_entry(9)batadv_mcast_forw_push_dest(9)batadv_mcast_forw_push_dests_list(9)batadv_mcast_forw_push_want_all(9)batadv_mcast_forw_push_want_rtr(9)batadv_mcast_forw_scrape(9)batadv_mcast_forw_push_scrape_padding(9)batadv_mcast_forw_push_insert_padding(9)batadv_mcast_forw_push_adjust_padding(9)batadv_mcast_forw_push_dests(9)batadv_mcast_forw_push_tracker(9)batadv_mcast_forw_push_tvlvs(9)batadv_mcast_forw_push_hdr(9)batadv_mcast_forw_scrub_dests(9)batadv_mcast_forw_shrink_fill(9)batadv_mcast_forw_shrink_pack_dests(9)batadv_mcast_forw_shrink_align_offset(9)batadv_mcast_forw_shrink_update_headers(9)batadv_mcast_forw_shrink_move_headers(9)batadv_mcast_forw_shrink_tracker(9)batadv_mcast_forw_packet(9)batadv_mcast_forw_tracker_tvlv_handler(9)batadv_mcast_forw_packet_hdrlen(9)batadv_mcast_forw_expand_head(9)batadv_mcast_forw_push(9)batadv_mcast_forw_mcsend(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms