STRUCT XFRM_IPTFS_CONFIG(9)
π STRUCT XFRM_IPTFS_CONFIG π
okay so this is <pink>struct xfrm_iptfs_config</pink>, straight out of the Kernel API Manual (section 9, bestie, we're in the kernel docs now π§). It's the config struct for the IPTFS tunnel β think of it as the little settings card you fill out before the tunnel does its thing β¨.
πΈ NAME πΈ
struct xfrm_iptfs_config β the configuration for the IPTFS tunnel. that's it, that's the whole vibe check π
π¦ SYNOPSIS π¦
struct xfrm_iptfs_config {
u32 pkt_size;
u32 max_queue_size;
u16 reorder_win_size;
u8 dont_frag : 1;
};
four members, no cap. let's go through them π
π Members π
pkt_sizeβ the size of the outer IP packet. set it to0and you're telling it "girl, use the interface and MTU discovery"; set it to anything else and that's the user-specified value, periodt π«Άmax_queue_sizeβ the maximum number of octets allowed to be queued up to be sent over the IPTFS SA. and how is the queue size measured? as the size of all the packets enqueued. literally all of them β¨reorder_win_sizeβ the number of slots in the reorder window, which is also the number of packets that may arrive out of order. so it's giving "how much chaos can we handle before we reorder" energy π₯dont_fragβtrueto inhibit fragmenting across IPTFS outer packets. small flag, big boundaries π
π SEE ALSO π
these all hang out in the kernel file ./net/xfrm/xfrm_iptfs.c β go click through them, iykyk π
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_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_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)
and that's the whole page, bestie π this little gem comes from the source tree at ./net/xfrm and slayed its way onto your terminal in October 2026 π mwah, go read some kernel code ππ¦
π¦ 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