ip6_tnl_dev_init(9)
π ip6_tnl_dev_init(9) π
okay so bestie, welcome to the Kernel API Manual β yes it's a real manual page, yes it's giving β¨ kernel internals β¨, and yes you're gonna get it. this one is ip6_tnl_dev_init(9), and no cap, it's a little function with a big job. let's go πΈ
β¨ NAME β¨
ip6_tnl_dev_init β the initializer for all non fallback tunnel devices π
like, every tunnel device that isn't the fallback one? this is the function that sets it up. main character energy fr fr.
π¦ SYNOPSIS π¦
int ip6_tnl_dev_init (struct net_device *dev );
that's it. that's the whole vibe. one argument, returns an int π
π ARGUMENTS π
devβ the virtual device associated with the tunnel π«Ά literally the device that gets initialized. that's the one.
π SEE ALSO π
the kernel file lives at ./net/ipv6/ip6_tunnel.c β go read it, it's iconic π and here's the whole friend group, all the (9) siblings you should also go say hi to:
ip6_tnl_lookup(9)ip6_tnl_bucket(9)ip6_tnl_link(9)ip6_tnl_unlink(9)ip6_tnl_create(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_fb_tnl_dev_init(9)ip6_tunnel_init(9)ip6_tunnel_cleanup(9)
bestie please actually read these if you're poking at tunnel code β iykyk, they're all up in the same file and they all matter π
anyway that's the page π it came from ./net/ipv6, it's dated October 2026, and it's filed under the <hotpink>ip6_tnl_dev_init(9)</hotpink> manual page. slay, go init some tunnels, and remember: non fallback devices only π
β¨π¦
π¦ 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