Lines Matching defs:tun_info
575 struct ip_tunnel_info *tun_info;
584 tun_info = skb_tunnel_info(skb);
585 if (unlikely(!tun_info || !(tun_info->mode & IP_TUNNEL_INFO_TX) ||
586 ip_tunnel_info_af(tun_info) != AF_INET))
588 key = &tun_info->key;
604 use_cache = ip_tunnel_dst_cache_usable(skb, tun_info);
606 rt = dst_cache_get_ip4(&tun_info->dst_cache, &fl4.saddr);
614 dst_cache_set_ip4(&tun_info->dst_cache, &rt->dst,
667 struct ip_tunnel_info *tun_info = NULL;
693 tun_info = skb_tunnel_info(skb);
694 if (tun_info && (tun_info->mode & IP_TUNNEL_INFO_TX) &&
695 ip_tunnel_info_af(tun_info) == AF_INET &&
696 tun_info->key.u.ipv4.dst) {
697 dst = tun_info->key.u.ipv4.dst;
763 use_cache = ip_tunnel_dst_cache_usable(skb, tun_info);
765 rt = dst_cache_get_ip4(&tun_info->dst_cache,
780 dst_cache_set_ip4(&tun_info->dst_cache, &rt->dst,