STRUCT IPTFS_SKB_FRAG_WALK(9)
π 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 beforefragi, 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 toskb_prepare_frag_walk, keeping that original offset safe and sound πfragsβ the page fragments inc. room for head page, bestie it'sskb_frag_t frags[MAX_SKB_FRAGS + 1];and yes that+ 1is doing its thing πpp_recycleβ copy ofskb->pp_recycle, iconic little bool behavior π¦
π SEE ALSO π
Kernel file ./net/xfrm/xfrm_iptfs.c, plus these linked besties β every single one, periodt:
IPTFS_DEFAULT_DROP_TIME_USECS(9)IPTFS_DEFAULT_REORDER_WINDOW(9)IPTFS_DEFAULT_INIT_DELAY_USECS(9)IPTFS_DEFAULT_MAX_QUEUE_SIZE(9)struct xfrm_iptfs_config(9)struct xfrm_iptfs_data(9)iptfs_alloc_skb(9)iptfs_skb_head_to_frag(9)iptfs_skb_prepare_frag_walk(9)iptfs_skb_can_add_frags(9)iptfs_skb_add_frags(9)iptfs_pskb_add_frags(9)iptfs_pskb_extract_seq(9)iptfs_input_save_runt(9)__iptfs_iphlen(9)__iptfs_iplen(9)iptfs_complete_inner_skb(9)iptfs_reassem_abort(9)iptfs_reassem_done(9)iptfs_reassem_cont(9)iptfs_input_ordered(9)iptfs_drop_timer(9)iptfs_input(9)iptfs_enqueue(9)iptfs_copy_create_frag(9)iptfs_copy_create_frags(9)iptfs_first_skb(9)iptfs_encap_add_ipv4(9)iptfs_encap_add_ipv6(9)iptfs_prepare_output(9)__iptfs_get_inner_mtu(9)iptfs_get_inner_mtu(9)iptfs_user_init(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms