STRUCT IPTFS_SKB_FRAG_WALK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct iptfs_skb_frag_walk(9) β€” Kernel API Manual πŸ’–

okay bestie, welcome to the Kernel API Manual page for struct iptfs_skb_frag_walk(9) ✨ this struct is literally your little itinerary when you're doing a walk through fragments, and we're gonna go through every single field together, no cap.


🌸 NAME 🌸

struct iptfs_skb_frag_walk β€” use to track a walk through fragments 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

struct iptfs_skb_frag_walk {
    u32 fragi;
    u32 past;
    u32 total;
    u32 nr_frags;
    u32 initial_offset;
    skb_frag_t frags[MAX_SKB_FRAGS + 1];
    bool pp_recycle;
 };

πŸŽ€ Members πŸŽ€

  • fragi β€” current fragment index, aka where you're at rn in the walk πŸ’…
  • past β€” length of data in fragments before fragi, so you know how much came before this point ✨
  • total β€” length of data in all fragments, the whole vibe check of the data size 🌈
  • nr_frags β€” number of fragments present in array, literally how many are in there πŸŽ€
  • initial_offset β€” the value passed in to skb_prepare_frag_walk, keeping that original offset safe and sound πŸ™ˆ
  • frags β€” the page fragments inc. room for head page, bestie it's skb_frag_t frags[MAX_SKB_FRAGS + 1]; and yes that + 1 is doing its thing πŸ’–
  • pp_recycle β€” copy of skb->pp_recycle, iconic little bool behavior πŸ¦‹

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./net/xfrm/xfrm_iptfs.c, plus these linked besties β€” every single one, periodt:


mwah πŸ’‹ that's the whole page, bestie! Source/version: ./net/xfrm; date: October 2026; filed under struct iptfs_skb_frag_walk(9) 🫢

πŸ“¦ where this page comes from