ip6_tnl_bucket(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, this is ip6_tnl_bucket(9) from the Kernel API Manual β€” and it is literally here to get head of list matching given tunnel parameters. no cap, that's the whole assignment. πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

struct ip6_tnl __rcu ** ip6_tnl_bucket (struct ip6_tnl_net *ip6n , const
struct __ip6_tnl_parm *p );

✨ ARGUMENTS ✨

  • ip6n β€” the private data for ip6_vti in the netns. that's the netns private-data situation, bestie. πŸ’…
  • p β€” parameters containing tunnel end-points. yes, the endpoint-carrying params. 🫢

πŸ’– DESCRIPTION πŸ’–

ip6_tnl_bucket returns the head of the list matching the struct in6_addr entries laddr and raddr in p.

like, you hand it p, it looks at the struct in6_addr entries laddr and raddr in there, and you get back the head of the list that matches. it's giving β€œfind me the right bucket for these tunnel endpoints” energy. 🌈

πŸ”₯ RETURN πŸ”₯

head of IPv6 tunnel list. literally that. the return value is the head of the IPv6 tunnel list. periodt. πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./net/ipv6/ip6_tunnel.c β€” and bestie, there are so many sibling functions to go read next:


source/version: ./net/ipv6 β€’ date: October 2026 β€’ page: ip6_tnl_bucket(9) β€” bye bestie, go bucket responsibly πŸ§šπŸ’œ

πŸ“¦ where this page comes from