ice_tc_tun_get_type(9)
π 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 asVXLAN/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 π:
ice_tc_count_lkups(9)ice_tc_fill_rules(9)ice_locate_vsi_using_queue(9)ice_tc_forward_action(9)ice_add_tc_flower_adv_fltr(9)ice_tc_set_pppoe(9)ice_tc_set_ipv4(9)ice_tc_set_ipv6(9)ice_tc_set_tos_ttl(9)ice_tc_set_port(9)ice_parse_gtp_type(9)ice_parse_cls_flower(9)ice_add_switch_fltr(9)ice_prep_adq_filter(9)ice_handle_tclass_action(9)ice_parse_tc_flower_actions(9)ice_del_tc_fltr(9)ice_add_tc_fltr(9)ice_find_tc_flower_fltr(9)ice_add_cls_flower(9)ice_del_cls_flower(9)ice_replay_tc_fltrs(9)
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
- 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