ip6_tnl_create(9)
π ip6_tnl_create(9) π
okay so this is a page from the Kernel API Manual β yes, the kernel has its own manual, she's iconic like that β and today we're looking at ip6_tnl_create, which is literally the "make a new tunnel" girlie. Let's go π
β¨ NAME β¨
ip6_tnl_create β create a new tunnel π¦
πΈ SYNOPSIS πΈ
struct ip6_tnl * ip6_tnl_create (struct net *net , struct __ip6_tnl_parm *p );
That's the whole vibe: you hand her a network namespace and some params, she hands you back a tunnel. Periodt. π
π«Ά ARGUMENTS π«Ά
netβ the network namespace, bestie. That's the world this tunnel is gonna live in πpβ the tunnel parameters. All the little details about what kind of tunnel you want β¨
π DESCRIPTION π
Create a tunnel matching the given parameters. That's it, that's the whole thing β you give her the params, she matches them up and builds you a tunnel. no cap π
β RETURN β
She returns the created tunnel, or an error pointer if things went sideways π β so like, pls check it, don't just rawdog the return value, iykyk.
π§ SEE ALSO π§
Kernel file ./net/ipv6/ip6_tunnel.c β and honestly the whole friend group:
ip6_tnl_lookup(9)ip6_tnl_bucket(9)ip6_tnl_link(9)ip6_tnl_unlink(9)ip6_tnl_locate(9)ip6_tnl_dev_uninit(9)ip6_tnl_parse_tlv_enc_lim(9)ip6_tnl_addr_conflict(9)ip6_tnl_xmit(9)ip6_tnl_change(9)ip6_tnl_siocdevprivate(9)ip6_tnl_change_mtu(9)ip6_tnl_dev_setup(9)ip6_tnl_dev_init_gen(9)ip6_tnl_dev_init(9)ip6_fb_tnl_dev_init(9)ip6_tunnel_init(9)ip6_tunnel_cleanup(9)
all of them, together, main character energy ππ
ok and that's the whole page bestie, love that for us π
so for the sign-off: this one's from the ./net/ipv6 source, dated October 2026, and it's filed under ip6_tnl_create(9). bye bestie, go build a tunnel π¦π
β¨
π¦ 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