batadv_mcast..._est_padding(9)
π batadv_mcast_forw_push_est_padding(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this is literally the page for batadv_mcast_forw_push_est_padding, and yes the name is a mouthful, we're gonna get through it together π«Ά
πΈ NAME πΈ
batadv_mcast_forw_push_est_padding β push padding bytes if necessary π
like, if the vibes need filling out, this function does the filling. periodt.
β¨ SYNOPSIS β¨
bool batadv_mcast_forw_push_est_padding (struct sk_buff *skb , int count
, unsigned short *tvlv_len );
it returns a bool, it takes three whole arguments, it's giving main character energy ngl π
π¦ ARGUMENTS π¦
skbβ the skb you might be pushing that padding onto π like, she's the canvas, she's the momentcountβ the (estimated) number of originators the multicast packet needs to be sent to π₯ note the word estimated β it's an estimate, don't come for hertvlv_lenβ stores the amount of currently pushed TVLV bytes π she's keeping track, she's holding the receipts
π DESCRIPTION π
so here's the tea β: if the number of destination entries is even, then this adds two padding bytes to the end of the tracker TVLV. that's it. that's the whole job. slay π
even numbers get two lil padding bytes, iconic behaviour fr fr.
β RETURN β
returns true on success or if no padding is needed at all, and false otherwise πΈ
so like, true is the happy path in two different outfits, and false is the sad one π
π SEE ALSO π
kernel file: ./net/batman-adv/multicast_forw.c β¨
and okay bestie, buckle up, because the friend group is HUGE π«Ά:
batadv_mcast_forw_skb_push(9)batadv_mcast_forw_push_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_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)
like, that's the whole gc right there π every single one of them, no cap.
anyway bestie, that's the page!! sourced from ./net/batman-adv, dated October 2026 ποΈπ mwah, go forth and pad responsibly β¨π§ββοΈ
π¦ 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