vti6_dev_init_gen(9)
π vti6_dev_init_gen(9) β like, the whole kernel API manual vibe β¨
okay so bestie, welcome to the Kernel API Manual π today's main character is vti6_dev_init_gen(9) and honestly? she's the general initializer for all tunnel devices π¦ no cap, that's her whole job description.
β¨ NAME β¨
vti6_dev_init_gen β the general initializer for every single tunnel device out there. all of them. the whole squad π«Ά
πΈ SYNOPSIS πΈ
int vti6_dev_init_gen (struct net_device *dev );
like, she takes one thing and gives you back an int. that's it. that's the energy π
π¦ ARGUMENTS π¦
devβ the virtual device that's associated with the tunnel. yes that's the one. she's holding it.<struct net_device *>and everything β¨
π₯ SEE ALSO π₯
girl, there is a whole extended universe of related functions, and we're listing every single one because we don't do "and friends" around here π
the kernel file is ./net/ipv6/ip6_vti.c and it's giving iconic:
vti6_tnl_lookup(9)vti6_tnl_bucket(9)vti6_locate(9)vti6_dev_uninit(9)vti6_addr_conflict(9)vti6_xmit(9)vti6_tnl_change(9)vti6_siocdevprivate(9)vti6_dev_setup(9)vti6_dev_init(9)vti6_fb_tnl_dev_init(9)vti6_tunnel_init(9)vti6_tunnel_cleanup(9)
it's a whole friend group fr fr π go read them, iykyk π
reminder bestie:</> every one of those is a real function name and you should copy-paste them exactly, we are not freehanding kernel symbols, that's how you summon a segfault demon π
and that's the tea π this lil page lives in ./net/ipv6 and it's dated October 2026 β so yeah, future vibes only π« mwah, go init some tunnels, ily ππ
π¦ 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