batadv_mcast...push_padding(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

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