batadv_mcast_forw_scrape(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… batadv_mcast_forw_scrape (9) β€” Kernel API Manual, bestie edition πŸŽ€

okay so picture this: you're deep in the kernel, the manual page is literally called batadv_mcast_forw_scrape(9), and it does exactly one (1) iconic thing. it's giving "small but mighty." let's get into it ✨


🌸 NAME 🌸

batadv_mcast_forw_scrape β€” remove bytes within skb data 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

void batadv_mcast_forw_scrape (struct sk_buff *skb , unsigned short
       offset , unsigned short len );

no cap, that's the whole signature. she's void, she takes three args, she does not return a thing. lowkey elegant πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • skb β€” the skb you're removing bytes from. yes, that skb. she's the main character here πŸ’–
  • offset β€” the offset from the skb data where the scraping starts. like, where in the buffer you begin, bestie πŸ“
  • len β€” how many bytes you're scraping, counting from offset. this is the amount, not the end point, don't get it twisted πŸ™ˆ

🌈 DESCRIPTION 🌈

so like, what does it do? it scrapes/removes len bytes from the given skb, at the given offset from the skb data. that's it. that's the vibe. it's a little byte-removal moment and honestly it ate πŸ”₯

but β€” and this is the part where you listen to me πŸ‘‘ β€” the caller needs to ensure that the region from the skb data's start up to/including the to-be-removed bytes are linearized. that's on you, not on her. she is not doing that for you. periodt.

⚠️ that linearization requirement is a real one, bestie. no cap, don't skip it. the region from the start of the skb data through the bytes you're removing has to be linearized before you call this. fr fr.

⭐ SEE ALSO ⭐

the whole friend group 🫢✨


okay that's the whole page, you're officially educated πŸ’œ this cutie lives in ./net/batman-adv, dated October 2026, and the page itself is batadv_mcast_forw_scrape(9). mwah, go scrape responsibly πŸ“βœ¨

πŸ“¦ where this page comes from