iptfs_encap_add_ipv6(9)
okay bestie, welcome to the Kernel API Manual page for iptfs_encap_add_ipv6(9) β yes, the outer-encaps one. Grab a strawberry π and letβs go.
πΈ NAME πΈ
iptfs_encap_add_ipv6 β add outer encaps. Thatβs the whole assignment, no cap. π
β¨ SYNOPSIS β¨
int iptfs_encap_add_ipv6 (struct xfrm_state *x , struct sk_buff *skb );
π ARGUMENTS π
xβ thexfrm state.skbβ the packet.
π DESCRIPTION π
okay so this was originally taken from xfrm6_tunnel_encap_add. Not a random copy-paste moment, bestie β the reason for the copy is that IP-TFS/AGGFRAG can have different functionality for how to set the flow label and TOS/DSCP bits.
It also sets the protocol to a different value and doesnβt do anything with inner headers as they arenβt pointing into a normal IP singleton inner packet. Thatβs the tea ββ¨
π¦ RETURN π¦
0 on success or a negative error code on failure. Slay. β
π SEE ALSO π
Kernel file to check out: ./net/xfrm/xfrm_iptfs.c.
The rest of the gang:
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_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_prepare_output(9)__iptfs_get_inner_mtu(9)iptfs_get_inner_mtu(9)iptfs_user_init(9)
β¨ sign-off bestie: source/version ./net/xfrm Β· date October 2026 Β· page iptfs_encap_add_ipv6(9) β bye, go slay those encaps π
π«Ά
π¦ 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