batadv_mcas...sert_padding(9)
π batadv_mcast_forw_push_insert_padding(9) π
okay so bestie, welcome to the Kernel API Manual β this is a page about one (1) very specific little function in batman-adv, and honestly? it's giving niche icon behavior β¨
πΈ NAME πΈ
batadv_mcast_forw_push_insert_padding β insert TVLV padding, that's the whole job, no cap π
π¦ SYNOPSIS π¦
bool batadv_mcast_forw_push_insert_padding (struct sk_buff *skb ,
unsigned short *tvlv_len );
literally just two arguments and a bool bestie, we love a low-maintenance king π
π ARGUMENTS π
skbβ the skb where we might go adjust the TVLV's padding. yes it's potentially, it might just vibe there untouched, we'll see πtvlv_lenβ this one stores the amount of TVLV bytes currently pushed. it's a pointer, so this is a read-and-keep-int-the-loop situation, iykyk π₯
β¨ DESCRIPTION β¨
so here's the tea π: this function inserts two padding bytes at the very end of the multicast tracker TVLV, right before the payload data in the given skb. that's it. two bytes. tiny little cushions. padding is self-care fr fr π§
π RETURN π
trueβ slay, success πfalseβ otherwise π (that's the whole documented range, don't come for me)
no cap: those are the only two outcomes the page gives you, so that's all you're getting from me too π«Ά
π SEE ALSO π
buckle up bestie, this list is long β the whole multicast forw family reunion is here π
- Kernel file
./net/batman-adv/multicast_forw.cβ 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_tt(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_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)
like I said. whole family. main character energy in every single entry ππ
and that's the page, bestie!! π this one's brought to you by ./net/batman-adv, dated October 2026 in the Kernel API Manual β go forth and insert exactly two padding bytes, no more no less, periodt π¦ππ
π¦ 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