batadv_mcast_forw_push_hdr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– batadv_mcast_forw_push_hdr(9) πŸ’–

okay so bestie, this is a page from the Kernel API Manual β€” yes the kernel, yes the batman-adv one, we're doing networking today and honestly? iconic.


🌸 NAME 🌸

batadv_mcast_forw_push_hdr β€” push a multicast packet header onto an skb, that's the whole job, that's the vibe πŸ’…


✨ SYNOPSIS ✨

int batadv_mcast_forw_push_hdr (struct sk_buff *skb , unsigned short
       tvlv_len );

like, one function, two args, no drama 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • skb β€” the skb you're pushing the header onto. that's the main character of this whole operation fr.
  • tvlv_len β€” the total TVLV length value, and it's the one you want set in the header. total. not partial. we're being precise here ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

So what it does: it pushes a batman-adv multicast packet header onto the given skb, and it sets the provided total TVLV length value in it. That's it. That's the function. short and slay πŸ’–

⚠️ okay but listen β€” the caller needs to make sure there's enough skb headroom available. that's on you, bestie, not on the function. the function is literally trusting you. don't betray it πŸ™ˆ

πŸ”₯ RETURN πŸ”₯

  • -ENOMEM β€” if there is not enough skb headroom available. no cap, it will simply tell you 😭
  • otherwise, on success, 0 β€” and that's the good ending πŸŽ‰

πŸ‘‘ SEE ALSO πŸ‘‘

The kernel file lives at ./net/batman-adv/multicast_forw.c β€” that's the home base 🏠

and the whole friend group, literally the entire squad, in order:

like, that's the whole group chat right there, every single one got an invite 🫢✨


mwah πŸ’œ k bye β€” this was ./net/batman-adv, dated October 2026, and the page answers to the name batadv_mcast_forw_push_hdr(9). go push a header, bestie, you got this πŸŒˆπŸŽ€

πŸ“¦ where this page comes from