iptfs_complete_inner_skb(9)
π NAME π
iptfs_complete_inner_skb β bestie, this one finishes prepping the inner packet so it can go off to gro recv β¨
πΈ SYNOPSIS πΈ
void iptfs_complete_inner_skb (struct xfrm_state *x , struct sk_buff
*skb );
π ARGUMENTS π
xβ the xfrm state, aka the vibe-context for this whole operation πskbβ the inner packet itself, the main character of this function fr fr
π¦ DESCRIPTION π¦
Okay so here's the tea: this function finishes up the standard xfrm processing on the inner packet, right before it gets sent back through gro_cells_receive. That's the whole job. Clean, simple, iconic.
And why do we do it as a separate step, you ask? Because β and this is the part where we're being hopeful β we're building up a list of packets, lowkey manifesting that one day xfrm_input will just take a whole list from us. Not today, but likeβ¦ someday. π«Ά
So yeah, it's giving "preparation era" β the packet gets its finishing touches here, then it's off to the receive path. No cap. β¨
π 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_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_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)
π quick reminder that all of the above are (9) kernel API pages, so read responsibly β¨
Okay that's the whole page, bestie, go forth and finish those inner packets ππ· This one lives over in ./net/xfrm and it's dated October 2026 β slay πππ¦
π¦ 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