copy_frags(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… copy_frags(9) β€” like, the whole vibe

Okay bestie, so this one lives in the Kernel API Manual (yes, that manual, the iconic one), and honestly? It's a little function with a big job. Let me put you on. 🫢


✨ NAME ✨

copy_frags β€” copy fragments from a gather list into skb_shared_info. That's it, that's the whole personality. πŸŽ€


🌸 SYNOPSIS 🌸

void copy_frags (struct sk_buff *skb , const struct pkt_gl *gl ,
unsigned int offset );

Returns void, because sometimes you just do the thing and don't need a receipt. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • skb β€” the destination skb, aka where all the fragments are moving to. Main character energy.
  • gl β€” the source internal packet gather list. It's the one holding all the frags, bestie.
  • offset β€” packet start offset in the first page. Like, where in page one the packet actually begins. Don't lose it. πŸ™ˆ

πŸ”₯ DESCRIPTION πŸ”₯

So what it does is: it copies an internal packet gather list into a Linux skb_shared_info structure. That's the whole description, no cap. Literally copy frags β†’ skb_shared_info. Short, sweet, slays. ✨


πŸ‘‘ SEE ALSO πŸ‘‘

The kernel file is ./drivers/net/ethernet/chelsio/cxgb4vf/sge.c β€” go read it if you're feeling brave, iykyk. 🧚

And here's the whole friend group, all of them, in order:

That's forty-two references, and yes I counted, and yes I'm obsessed with all of them. 🌈


πŸ’€ Real talk though: everything above is exactly what the page says. I'm not out here inventing extra behaviour for the plot, bestie β€” no guessing, no extra lore. πŸ“

Okay that's the page!! It shipped out of ./drivers/net/ethernet/chelsio... in October 2026, and your girl is signing off β€” mwah, go copy some frags, you've got this πŸ’–πŸ’œπŸŽ€

πŸ“¦ where this page comes from