tun_info          101 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c 	const struct ip_tunnel_info *tun_info = act->tunnel;
tun_info          102 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c 	const struct ip_tunnel_key *tun_key = &tun_info->key;
tun_info          104 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c 	if (ip_tunnel_info_af(tun_info) != AF_INET) {
tun_info          213 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 	const struct ip_tunnel_key *tun_key = &e->tun_info->key;
tun_info          332 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 	const struct ip_tunnel_key *tun_key = &e->tun_info->key;
tun_info           19 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_geneve.c 	       e->tun_info->options_len;
tun_info           96 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_geneve.c 	const struct ip_tunnel_info *tun_info = e->tun_info;
tun_info          104 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_geneve.c 	udp->dest = tun_info->key.tp_dst;
tun_info          108 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_geneve.c 	geneveh->opt_len = tun_info->options_len / 4;
tun_info          109 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_geneve.c 	geneveh->oam = !!(tun_info->key.tun_flags & TUNNEL_OAM);
tun_info          110 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_geneve.c 	geneveh->critical = !!(tun_info->key.tun_flags & TUNNEL_CRIT_OPT);
tun_info          111 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_geneve.c 	mlx5e_tunnel_id_to_vni(tun_info->key.tun_id, geneveh->vni);
tun_info          114 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_geneve.c 	if (tun_info->key.tun_flags & TUNNEL_GENEVE_OPT) {
tun_info          117 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_geneve.c 		ip_tunnel_info_opts_get(geneveh->options, tun_info);
tun_info           14 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_gre.c 	return gre_calc_hlen(e->tun_info->key.tun_flags);
tun_info           31 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_gre.c 	const struct ip_tunnel_key *tun_key  = &e->tun_info->key;
tun_info           65 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_vxlan.c 	int dst_port = be16_to_cpu(e->tun_info->key.tp_dst);
tun_info           86 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_vxlan.c 	const struct ip_tunnel_key *tun_key = &e->tun_info->key;
tun_info          165 drivers/net/ethernet/mellanox/mlx5/core/en_rep.h 	const struct ip_tunnel_info *tun_info;
tun_info          142 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	const struct ip_tunnel_info *tun_info[MLX5_MAX_FLOW_FWD_VPORTS];
tun_info         1283 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 			kfree(attr->parse_attr->tun_info[out_index]);
tun_info         1564 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	kfree(e->tun_info);
tun_info         2971 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 		e_key.ip_tun_key = &e->tun_info->key;
tun_info         2981 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c static struct ip_tunnel_info *dup_tun_info(const struct ip_tunnel_info *tun_info)
tun_info         2983 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	size_t tun_size = sizeof(*tun_info) + tun_info->options_len;
tun_info         2985 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	return kmemdup(tun_info, tun_size, GFP_KERNEL);
tun_info         2999 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	const struct ip_tunnel_info *tun_info;
tun_info         3007 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	tun_info = parse_attr->tun_info[out_index];
tun_info         3008 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	family = ip_tunnel_info_af(tun_info);
tun_info         3009 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	key.ip_tun_key = &tun_info->key;
tun_info         3044 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	tun_info = dup_tun_info(tun_info);
tun_info         3045 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	if (!tun_info) {
tun_info         3049 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	e->tun_info = tun_info;
tun_info         3096 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	kfree(tun_info);
tun_info         3278 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 				parse_attr->tun_info[attr->out_count] = dup_tun_info(info);
tun_info         3279 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 				if (!parse_attr->tun_info[attr->out_count])
tun_info           54 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c 	} tun_info[];
tun_info          185 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c 	if (pay_len != struct_size(payload, tun_info, count)) {
tun_info          192 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c 		ipv4_addr = payload->tun_info[i].ipv4;
tun_info          193 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c 		port = be32_to_cpu(payload->tun_info[i].egress_port);
tun_info          236 drivers/net/geneve.c 		ip_tunnel_info_opts_set(&tun_dst->u.tun_info,
tun_info         1547 drivers/net/vxlan.c 		tun_dst->u.tun_info.key.tun_flags |= TUNNEL_VXLAN_OPT;
tun_info         1548 drivers/net/vxlan.c 		tun_dst->u.tun_info.options_len = sizeof(*md);
tun_info         1711 drivers/net/vxlan.c 		md = ip_tunnel_info_opts(&tun_dst->u.tun_info);
tun_info           23 include/net/dst_metadata.h 		struct ip_tunnel_info	tun_info;
tun_info           45 include/net/dst_metadata.h 		return &md_dst->u.tun_info;
tun_info           80 include/net/dst_metadata.h 		return memcmp(&a->u.tun_info, &b->u.tun_info,
tun_info           81 include/net/dst_metadata.h 			      sizeof(a->u.tun_info) +
tun_info           82 include/net/dst_metadata.h 					 a->u.tun_info.options_len);
tun_info          103 include/net/dst_metadata.h 	tun_dst->u.tun_info.options_len = 0;
tun_info          104 include/net/dst_metadata.h 	tun_dst->u.tun_info.mode = 0;
tun_info          117 include/net/dst_metadata.h 	md_size = md_dst->u.tun_info.options_len;
tun_info          122 include/net/dst_metadata.h 	memcpy(&new_md->u.tun_info, &md_dst->u.tun_info,
tun_info          138 include/net/dst_metadata.h 	return &dst->u.tun_info;
tun_info          155 include/net/dst_metadata.h 	ip_tunnel_key_init(&tun_dst->u.tun_info.key,
tun_info          188 include/net/dst_metadata.h 	info = &tun_dst->u.tun_info;
tun_info          214 include/net/ip_tunnels.h 					       *tun_info)
tun_info          216 include/net/ip_tunnels.h 	return tun_info->mode & IP_TUNNEL_INFO_IPV6 ? AF_INET6 : AF_INET;
tun_info           57 include/net/tc_act/tc_tunnel_key.h 	return &params->tcft_enc_metadata->u.tun_info;
tun_info           71 net/bridge/br_vlan_tunnel.c 	metadata->u.tun_info.mode |= IP_TUNNEL_INFO_TX | IP_TUNNEL_INFO_BRIDGE;
tun_info          294 net/core/dst.c 		dst_cache_destroy(&md_dst->u.tun_info.dst_cache);
tun_info          327 net/core/dst.c 			dst_cache_destroy(&one_md_dst->u.tun_info.dst_cache);
tun_info         3966 net/core/filter.c 	info = &md->u.tun_info;
tun_info         4011 net/core/filter.c 	if (unlikely(info != &md->u.tun_info || (size & (sizeof(u32) - 1))))
tun_info          309 net/ipv4/ip_gre.c 			md = ip_tunnel_info_opts(&tun_dst->u.tun_info);
tun_info          315 net/ipv4/ip_gre.c 			info = &tun_dst->u.tun_info;
tun_info          456 net/ipv4/ip_gre.c 	struct ip_tunnel_info *tun_info;
tun_info          461 net/ipv4/ip_gre.c 	tun_info = skb_tunnel_info(skb);
tun_info          462 net/ipv4/ip_gre.c 	if (unlikely(!tun_info || !(tun_info->mode & IP_TUNNEL_INFO_TX) ||
tun_info          463 net/ipv4/ip_gre.c 		     ip_tunnel_info_af(tun_info) != AF_INET))
tun_info          466 net/ipv4/ip_gre.c 	key = &tun_info->key;
tun_info          473 net/ipv4/ip_gre.c 	if (gre_handle_offloads(skb, !!(tun_info->key.tun_flags & TUNNEL_CSUM)))
tun_info          476 net/ipv4/ip_gre.c 	flags = tun_info->key.tun_flags &
tun_info          479 net/ipv4/ip_gre.c 			 tunnel_id_to_key32(tun_info->key.tun_id),
tun_info          494 net/ipv4/ip_gre.c 	struct ip_tunnel_info *tun_info;
tun_info          504 net/ipv4/ip_gre.c 	tun_info = skb_tunnel_info(skb);
tun_info          505 net/ipv4/ip_gre.c 	if (unlikely(!tun_info || !(tun_info->mode & IP_TUNNEL_INFO_TX) ||
tun_info          506 net/ipv4/ip_gre.c 		     ip_tunnel_info_af(tun_info) != AF_INET))
tun_info          509 net/ipv4/ip_gre.c 	key = &tun_info->key;
tun_info          510 net/ipv4/ip_gre.c 	if (!(tun_info->key.tun_flags & TUNNEL_ERSPAN_OPT))
tun_info          512 net/ipv4/ip_gre.c 	if (tun_info->options_len < sizeof(*md))
tun_info          514 net/ipv4/ip_gre.c 	md = ip_tunnel_info_opts(tun_info);
tun_info          548 net/ipv4/ip_tunnel.c 	struct ip_tunnel_info *tun_info;
tun_info          557 net/ipv4/ip_tunnel.c 	tun_info = skb_tunnel_info(skb);
tun_info          558 net/ipv4/ip_tunnel.c 	if (unlikely(!tun_info || !(tun_info->mode & IP_TUNNEL_INFO_TX) ||
tun_info          559 net/ipv4/ip_tunnel.c 		     ip_tunnel_info_af(tun_info) != AF_INET))
tun_info          561 net/ipv4/ip_tunnel.c 	key = &tun_info->key;
tun_info          577 net/ipv4/ip_tunnel.c 	use_cache = ip_tunnel_dst_cache_usable(skb, tun_info);
tun_info          579 net/ipv4/ip_tunnel.c 		rt = dst_cache_get_ip4(&tun_info->dst_cache, &fl4.saddr);
tun_info          587 net/ipv4/ip_tunnel.c 			dst_cache_set_ip4(&tun_info->dst_cache, &rt->dst,
tun_info          643 net/ipv4/ip_tunnel.c 	struct ip_tunnel_info *tun_info = NULL;
tun_info          669 net/ipv4/ip_tunnel.c 		tun_info = skb_tunnel_info(skb);
tun_info          670 net/ipv4/ip_tunnel.c 		if (tun_info && (tun_info->mode & IP_TUNNEL_INFO_TX) &&
tun_info          671 net/ipv4/ip_tunnel.c 		    ip_tunnel_info_af(tun_info) == AF_INET &&
tun_info          672 net/ipv4/ip_tunnel.c 		    tun_info->key.u.ipv4.dst) {
tun_info          673 net/ipv4/ip_tunnel.c 			dst = tun_info->key.u.ipv4.dst;
tun_info          739 net/ipv4/ip_tunnel.c 		use_cache = ip_tunnel_dst_cache_usable(skb, tun_info);
tun_info          741 net/ipv4/ip_tunnel.c 			rt = dst_cache_get_ip4(&tun_info->dst_cache,
tun_info          756 net/ipv4/ip_tunnel.c 			dst_cache_set_ip4(&tun_info->dst_cache, &rt->dst,
tun_info          128 net/ipv4/ip_tunnel_core.c 	    md->u.tun_info.mode & IP_TUNNEL_INFO_TX)
tun_info          136 net/ipv4/ip_tunnel_core.c 	dst = &res->u.tun_info;
tun_info          137 net/ipv4/ip_tunnel_core.c 	src = &md->u.tun_info;
tun_info          227 net/ipv4/ip_tunnel_core.c 	struct ip_tunnel_info *tun_info;
tun_info          237 net/ipv4/ip_tunnel_core.c 	new_state = lwtunnel_state_alloc(sizeof(*tun_info));
tun_info          243 net/ipv4/ip_tunnel_core.c 	tun_info = lwt_tun_info(new_state);
tun_info          246 net/ipv4/ip_tunnel_core.c 	err = dst_cache_init(&tun_info->dst_cache, GFP_KERNEL);
tun_info          254 net/ipv4/ip_tunnel_core.c 		tun_info->key.tun_id = nla_get_be64(tb[LWTUNNEL_IP_ID]);
tun_info          257 net/ipv4/ip_tunnel_core.c 		tun_info->key.u.ipv4.dst = nla_get_in_addr(tb[LWTUNNEL_IP_DST]);
tun_info          260 net/ipv4/ip_tunnel_core.c 		tun_info->key.u.ipv4.src = nla_get_in_addr(tb[LWTUNNEL_IP_SRC]);
tun_info          263 net/ipv4/ip_tunnel_core.c 		tun_info->key.ttl = nla_get_u8(tb[LWTUNNEL_IP_TTL]);
tun_info          266 net/ipv4/ip_tunnel_core.c 		tun_info->key.tos = nla_get_u8(tb[LWTUNNEL_IP_TOS]);
tun_info          269 net/ipv4/ip_tunnel_core.c 		tun_info->key.tun_flags = nla_get_be16(tb[LWTUNNEL_IP_FLAGS]);
tun_info          271 net/ipv4/ip_tunnel_core.c 	tun_info->mode = IP_TUNNEL_INFO_TX;
tun_info          272 net/ipv4/ip_tunnel_core.c 	tun_info->options_len = 0;
tun_info          282 net/ipv4/ip_tunnel_core.c 	struct ip_tunnel_info *tun_info = lwt_tun_info(lwtstate);
tun_info          284 net/ipv4/ip_tunnel_core.c 	dst_cache_destroy(&tun_info->dst_cache);
tun_info          291 net/ipv4/ip_tunnel_core.c 	struct ip_tunnel_info *tun_info = lwt_tun_info(lwtstate);
tun_info          293 net/ipv4/ip_tunnel_core.c 	if (nla_put_be64(skb, LWTUNNEL_IP_ID, tun_info->key.tun_id,
tun_info          295 net/ipv4/ip_tunnel_core.c 	    nla_put_in_addr(skb, LWTUNNEL_IP_DST, tun_info->key.u.ipv4.dst) ||
tun_info          296 net/ipv4/ip_tunnel_core.c 	    nla_put_in_addr(skb, LWTUNNEL_IP_SRC, tun_info->key.u.ipv4.src) ||
tun_info          297 net/ipv4/ip_tunnel_core.c 	    nla_put_u8(skb, LWTUNNEL_IP_TOS, tun_info->key.tos) ||
tun_info          298 net/ipv4/ip_tunnel_core.c 	    nla_put_u8(skb, LWTUNNEL_IP_TTL, tun_info->key.ttl) ||
tun_info          299 net/ipv4/ip_tunnel_core.c 	    nla_put_be16(skb, LWTUNNEL_IP_FLAGS, tun_info->key.tun_flags))
tun_info          344 net/ipv4/ip_tunnel_core.c 	struct ip_tunnel_info *tun_info;
tun_info          354 net/ipv4/ip_tunnel_core.c 	new_state = lwtunnel_state_alloc(sizeof(*tun_info));
tun_info          360 net/ipv4/ip_tunnel_core.c 	tun_info = lwt_tun_info(new_state);
tun_info          363 net/ipv4/ip_tunnel_core.c 		tun_info->key.tun_id = nla_get_be64(tb[LWTUNNEL_IP6_ID]);
tun_info          366 net/ipv4/ip_tunnel_core.c 		tun_info->key.u.ipv6.dst = nla_get_in6_addr(tb[LWTUNNEL_IP6_DST]);
tun_info          369 net/ipv4/ip_tunnel_core.c 		tun_info->key.u.ipv6.src = nla_get_in6_addr(tb[LWTUNNEL_IP6_SRC]);
tun_info          372 net/ipv4/ip_tunnel_core.c 		tun_info->key.ttl = nla_get_u8(tb[LWTUNNEL_IP6_HOPLIMIT]);
tun_info          375 net/ipv4/ip_tunnel_core.c 		tun_info->key.tos = nla_get_u8(tb[LWTUNNEL_IP6_TC]);
tun_info          378 net/ipv4/ip_tunnel_core.c 		tun_info->key.tun_flags = nla_get_be16(tb[LWTUNNEL_IP6_FLAGS]);
tun_info          380 net/ipv4/ip_tunnel_core.c 	tun_info->mode = IP_TUNNEL_INFO_TX | IP_TUNNEL_INFO_IPV6;
tun_info          381 net/ipv4/ip_tunnel_core.c 	tun_info->options_len = 0;
tun_info          391 net/ipv4/ip_tunnel_core.c 	struct ip_tunnel_info *tun_info = lwt_tun_info(lwtstate);
tun_info          393 net/ipv4/ip_tunnel_core.c 	if (nla_put_be64(skb, LWTUNNEL_IP6_ID, tun_info->key.tun_id,
tun_info          395 net/ipv4/ip_tunnel_core.c 	    nla_put_in6_addr(skb, LWTUNNEL_IP6_DST, &tun_info->key.u.ipv6.dst) ||
tun_info          396 net/ipv4/ip_tunnel_core.c 	    nla_put_in6_addr(skb, LWTUNNEL_IP6_SRC, &tun_info->key.u.ipv6.src) ||
tun_info          397 net/ipv4/ip_tunnel_core.c 	    nla_put_u8(skb, LWTUNNEL_IP6_TC, tun_info->key.tos) ||
tun_info          398 net/ipv4/ip_tunnel_core.c 	    nla_put_u8(skb, LWTUNNEL_IP6_HOPLIMIT, tun_info->key.ttl) ||
tun_info          399 net/ipv4/ip_tunnel_core.c 	    nla_put_be16(skb, LWTUNNEL_IP6_FLAGS, tun_info->key.tun_flags))
tun_info         2043 net/ipv4/route.c 	struct ip_tunnel_info *tun_info;
tun_info         2060 net/ipv4/route.c 	tun_info = skb_tunnel_info(skb);
tun_info         2061 net/ipv4/route.c 	if (tun_info && !(tun_info->mode & IP_TUNNEL_INFO_TX))
tun_info         2062 net/ipv4/route.c 		fl4.flowi4_tun_key.tun_id = tun_info->key.tun_id;
tun_info          217 net/ipv4/udp_tunnel.c 	info = &tun_dst->u.tun_info;
tun_info          575 net/ipv6/ip6_gre.c 			info = &tun_dst->u.tun_info;
tun_info          728 net/ipv6/ip6_gre.c 		struct ip_tunnel_info *tun_info;
tun_info          732 net/ipv6/ip6_gre.c 		tun_info = skb_tunnel_info(skb);
tun_info          733 net/ipv6/ip6_gre.c 		if (unlikely(!tun_info ||
tun_info          734 net/ipv6/ip6_gre.c 			     !(tun_info->mode & IP_TUNNEL_INFO_TX) ||
tun_info          735 net/ipv6/ip6_gre.c 			     ip_tunnel_info_af(tun_info) != AF_INET6))
tun_info          738 net/ipv6/ip6_gre.c 		key = &tun_info->key;
tun_info          752 net/ipv6/ip6_gre.c 				 tunnel_id_to_key32(tun_info->key.tun_id),
tun_info          962 net/ipv6/ip6_gre.c 		struct ip_tunnel_info *tun_info;
tun_info          967 net/ipv6/ip6_gre.c 		tun_info = skb_tunnel_info(skb);
tun_info          968 net/ipv6/ip6_gre.c 		if (unlikely(!tun_info ||
tun_info          969 net/ipv6/ip6_gre.c 			     !(tun_info->mode & IP_TUNNEL_INFO_TX) ||
tun_info          970 net/ipv6/ip6_gre.c 			     ip_tunnel_info_af(tun_info) != AF_INET6))
tun_info          973 net/ipv6/ip6_gre.c 		key = &tun_info->key;
tun_info          981 net/ipv6/ip6_gre.c 		if (!(tun_info->key.tun_flags & TUNNEL_ERSPAN_OPT))
tun_info          983 net/ipv6/ip6_gre.c 		if (tun_info->options_len < sizeof(*md))
tun_info          985 net/ipv6/ip6_gre.c 		md = ip_tunnel_info_opts(tun_info);
tun_info         1249 net/ipv6/ip6_tunnel.c 		struct ip_tunnel_info *tun_info;
tun_info         1252 net/ipv6/ip6_tunnel.c 		tun_info = skb_tunnel_info(skb);
tun_info         1253 net/ipv6/ip6_tunnel.c 		if (unlikely(!tun_info || !(tun_info->mode & IP_TUNNEL_INFO_TX) ||
tun_info         1254 net/ipv6/ip6_tunnel.c 			     ip_tunnel_info_af(tun_info) != AF_INET6))
tun_info         1256 net/ipv6/ip6_tunnel.c 		key = &tun_info->key;
tun_info         1321 net/ipv6/ip6_tunnel.c 		struct ip_tunnel_info *tun_info;
tun_info         1324 net/ipv6/ip6_tunnel.c 		tun_info = skb_tunnel_info(skb);
tun_info         1325 net/ipv6/ip6_tunnel.c 		if (unlikely(!tun_info || !(tun_info->mode & IP_TUNNEL_INFO_TX) ||
tun_info         1326 net/ipv6/ip6_tunnel.c 			     ip_tunnel_info_af(tun_info) != AF_INET6))
tun_info         1328 net/ipv6/ip6_tunnel.c 		key = &tun_info->key;
tun_info         2449 net/ipv6/route.c 	struct ip_tunnel_info *tun_info;
tun_info         2460 net/ipv6/route.c 	tun_info = skb_tunnel_info(skb);
tun_info         2461 net/ipv6/route.c 	if (tun_info && !(tun_info->mode & IP_TUNNEL_INFO_TX))
tun_info         2462 net/ipv6/route.c 		fl6.flowi6_tun_key.tun_id = tun_info->key.tun_id;
tun_info           27 net/netfilter/nft_tunnel.c 	struct ip_tunnel_info *tun_info;
tun_info           29 net/netfilter/nft_tunnel.c 	tun_info = skb_tunnel_info(pkt->skb);
tun_info           33 net/netfilter/nft_tunnel.c 		if (!tun_info) {
tun_info           39 net/netfilter/nft_tunnel.c 		     !(tun_info->mode & IP_TUNNEL_INFO_TX)) ||
tun_info           41 net/netfilter/nft_tunnel.c 		     (tun_info->mode & IP_TUNNEL_INFO_TX)))
tun_info           47 net/netfilter/nft_tunnel.c 		if (!tun_info) {
tun_info           53 net/netfilter/nft_tunnel.c 		     !(tun_info->mode & IP_TUNNEL_INFO_TX)) ||
tun_info           55 net/netfilter/nft_tunnel.c 		     (tun_info->mode & IP_TUNNEL_INFO_TX)))
tun_info           56 net/netfilter/nft_tunnel.c 			*dest = ntohl(tunnel_id_to_key32(tun_info->key.tun_id));
tun_info          415 net/netfilter/nft_tunnel.c 	memcpy(&md->u.tun_info, &info, sizeof(info));
tun_info          417 net/netfilter/nft_tunnel.c 	err = dst_cache_init(&md->u.tun_info.dst_cache, GFP_KERNEL);
tun_info          423 net/netfilter/nft_tunnel.c 	ip_tunnel_info_opts_set(&md->u.tun_info, &priv->opts.u, priv->opts.len,
tun_info          539 net/netfilter/nft_tunnel.c 	struct ip_tunnel_info *info = &priv->md->u.tun_info;
tun_info          842 net/openvswitch/flow.c int ovs_flow_key_extract(const struct ip_tunnel_info *tun_info,
tun_info          851 net/openvswitch/flow.c 	if (tun_info) {
tun_info          852 net/openvswitch/flow.c 		key->tun_proto = ip_tunnel_info_af(tun_info);
tun_info          853 net/openvswitch/flow.c 		memcpy(&key->tun_key, &tun_info->key, sizeof(key->tun_key));
tun_info          855 net/openvswitch/flow.c 		if (tun_info->options_len) {
tun_info          856 net/openvswitch/flow.c 			BUILD_BUG_ON((1 << (sizeof(tun_info->options_len) *
tun_info          860 net/openvswitch/flow.c 			ip_tunnel_info_opts_get(TUN_METADATA_OPTS(key, tun_info->options_len),
tun_info          861 net/openvswitch/flow.c 						tun_info);
tun_info          862 net/openvswitch/flow.c 			key->tun_opts_len = tun_info->options_len;
tun_info          274 net/openvswitch/flow.h int ovs_flow_key_extract(const struct ip_tunnel_info *tun_info,
tun_info          952 net/openvswitch/flow_netlink.c 			    struct ip_tunnel_info *tun_info)
tun_info          954 net/openvswitch/flow_netlink.c 	return __ip_tun_to_nlattr(skb, &tun_info->key,
tun_info          955 net/openvswitch/flow_netlink.c 				  ip_tunnel_info_opts(tun_info),
tun_info          956 net/openvswitch/flow_netlink.c 				  tun_info->options_len,
tun_info          957 net/openvswitch/flow_netlink.c 				  ip_tunnel_info_af(tun_info), tun_info->mode);
tun_info         2562 net/openvswitch/flow_netlink.c 	struct ip_tunnel_info *tun_info;
tun_info         2601 net/openvswitch/flow_netlink.c 	err = dst_cache_init(&tun_dst->u.tun_info.dst_cache, GFP_KERNEL);
tun_info         2617 net/openvswitch/flow_netlink.c 	tun_info = &tun_dst->u.tun_info;
tun_info         2618 net/openvswitch/flow_netlink.c 	tun_info->mode = IP_TUNNEL_INFO_TX;
tun_info         2620 net/openvswitch/flow_netlink.c 		tun_info->mode |= IP_TUNNEL_INFO_IPV6;
tun_info         2622 net/openvswitch/flow_netlink.c 		tun_info->mode |= IP_TUNNEL_INFO_BRIDGE;
tun_info         2623 net/openvswitch/flow_netlink.c 	tun_info->key = key.tun_key;
tun_info         2629 net/openvswitch/flow_netlink.c 	ip_tunnel_info_opts_set(tun_info,
tun_info         3376 net/openvswitch/flow_netlink.c 		struct ip_tunnel_info *tun_info = &ovs_tun->tun_dst->u.tun_info;
tun_info         3382 net/openvswitch/flow_netlink.c 		err =  ip_tun_to_nlattr(skb, &tun_info->key,
tun_info         3383 net/openvswitch/flow_netlink.c 					ip_tunnel_info_opts(tun_info),
tun_info         3384 net/openvswitch/flow_netlink.c 					tun_info->options_len,
tun_info         3385 net/openvswitch/flow_netlink.c 					ip_tunnel_info_af(tun_info), tun_info->mode);
tun_info           50 net/openvswitch/flow_netlink.h 			    struct ip_tunnel_info *tun_info);
tun_info          425 net/openvswitch/vport.c 		      const struct ip_tunnel_info *tun_info)
tun_info          439 net/openvswitch/vport.c 		tun_info = NULL;
tun_info          443 net/openvswitch/vport.c 	error = ovs_flow_key_extract(tun_info, skb, &key);
tun_info          332 net/sched/act_tunnel_key.c 		ret = dst_cache_init(&metadata->u.tun_info.dst_cache, GFP_KERNEL);
tun_info          339 net/sched/act_tunnel_key.c 						  &metadata->u.tun_info,
tun_info          345 net/sched/act_tunnel_key.c 		metadata->u.tun_info.mode |= IP_TUNNEL_INFO_TX;
tun_info          536 net/sched/act_tunnel_key.c 			&params->tcft_enc_metadata->u.tun_info;
tun_info          543 net/sched/act_tunnel_key.c 					      &params->tcft_enc_metadata->u.tun_info) ||