ice_tc_tun_get_type(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_tc_tun_get_type(9) β€” the kernel API manual, bestie edition πŸ¦‹

okay so bestie, welcome to ice_tc_tun_get_type, a little function from the Kernel API Manual and honestly? she's giving scout energy. her whole job is sniffing out the vibe of a device and reporting back. iconic. no cap.


✨ NAME ✨

ice_tc_tun_get_type β€” get the tunnel type 🌈


πŸŽ€ SYNOPSIS πŸŽ€

int ice_tc_tun_get_type (struct net_device *tunnel_dev );

like yes, that's the whole signature, it's a one-liner, we love a low-maintenance queen πŸ’…


🌸 ARGUMENTS 🌸

  • tunnel_dev β€” ptr to tunnel device. literally just a pointer to the tunnel device, that's it, that's the whole job 🫢

πŸ’– DESCRIPTION πŸ’–

okay so here's the tea β˜• β€” this function detects the appropriate tunnel_type if the device you hand it is actually a tunnel device, like VXLAN / Geneve. so it looks at the device, goes "hm. is this a tunnel? and if so, which kind?", and figures out the right type. vibe check complete ✨

note the "if" bestie β€” the detecting-a-tunnel-type situation only applies when the specified device really is a tunnel device such as VXLAN/Geneve. don't come for her if you pass something else πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group 🫢 if you liked this one, the kernel file is right here:

./drivers/net/ethernet/intel/ice/ice_tc_lib.c

and here's every single sibling, no gatekeeping, all twenty-two of them πŸ’œ:


and that's the page!! πŸŽ€ source/version lives at ./drivers/net/ethernet/intel/ice, dated October 2026, so like… future queen behavior honestly πŸ‘‘ go read the tunnel types bestie, ily, bye πŸ’–βœ¨πŸ§š

πŸ“¦ where this page comes from