iptfs_encap_add_ipv6(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 β€” the xfrm 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:


✨ 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