iptfs_skb_can_add_frags(9)
π NAME π
Bestie, weβre on the iptfs_skb_can_add_frags(9) page in the Kernel API Manual, and this one is short but iconic: iptfs_skb_can_add_frags β check if ok to add frags from walk to skb. Thatβs the whole vibe check, no cap.
β¨ SYNOPSIS β¨
bool iptfs_skb_can_add_frags (const struct sk_buff *skb , struct
iptfs_skb_frag_walk *walk , u32 offset , u32 len );
πΈ ARGUMENTS πΈ
skbβ the skb to check for adding frags to. Like, this is the one weβre asking about before we start adding stuff πwalkβ the walk that will be used as source for frags. Itβs literally the source supply for the frags.offsetβ offset from beginning of original skb to start from. So it tells you where in the original skb this starts from.lenβ amount of data to add frag references to in skb. Basically how much data in the skb is getting frag references added to it.
π RETURN π
It returns true if ok to add frags. Thatβs the answer the page gives: true means ok to add frags. Periodt.
π¦ SEE ALSO π¦
Kernel file ./net/xfrm/xfrm_iptfs.c, plus the whole friend group:
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)struct iptfs_skb_frag_walk(9)iptfs_skb_prepare_frag_walk(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)
xoxo, signing off from ./net/xfrm, dated October 2026, on the iptfs_skb_can_add_frags(9) page π
π«Ά
π¦ 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