batadv_mcast...push_padding(9)
π batadv_mcast...push_padding(9) β Kernel API Manual π
okay so bestie, welcome to the kernel API manual page for batadv_mcast_forw_push_padding β section 9, live from the kernel docs. it's a tiny little function and it's honestly so iconic for it. let's get into it β¨
πΈ NAME πΈ
batadv_mcast_forw_push_padding β push 2 padding bytes to skb's front π
like, literally just two bytes. two. tiny. precious. front of the skb. slay.
β¨ SYNOPSIS β¨
char * batadv_mcast_forw_push_padding (struct sk_buff *skb , unsigned
short *tvlv_len );
yes the signature wraps like that, don't come for me, that's just how the page is π«Ά
π¦ ARGUMENTS π¦
skbβ the skb to push onto. that's the victim. the main character. we're pushing bytes at the front of it πtvlv_lenβ stores the amount of currently pushed TVLV bytes. so it's keeping the running tally, ngl very responsible of it π
π DESCRIPTION π
Pushes two padding bytes to the front of the given skb. that's it. that's the whole vibe. two bytes, front, padding, done. no cap, sometimes the small functions are the ones carrying the whole operation on their back π
β RETURN β
On success: a pointer to the first byte of the two pushed padding bytes within the skb. π₯
NULL otherwise. π (iykyk β always check it, bestie, always check it)
π§ SEE ALSO π§
the whole friend group, fr fr β kernel file ./net/batman-adv/multicast_forw.c plus:
batadv_mcast_forw_skb_push(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_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 ???? the whole squad showed up. love that for them π
heads up bestie: this is a kernel-internal function from ./net/batman-adv, so it's not like a command you type β it's the docs for the code itself. read the source, it's right there π
and that's the page!! sign-off time: this one lives in ./net/batman-adv, dated October 2026, and it's batadv_mcast...push_padding(9) all the way to the end. mwah π go push those two bytes, queen ππ¦β¨
π¦ 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