Searched refs:tun_dst (Results 1 – 8 of 8) sorted by relevance
/net/ipv4/ |
D | udp_tunnel.c | 197 struct metadata_dst *tun_dst; in udp_tun_rx_dst() local 201 tun_dst = ip_tun_rx_dst(skb, flags, tunnel_id, md_size); in udp_tun_rx_dst() 203 tun_dst = ipv6_tun_rx_dst(skb, flags, tunnel_id, md_size); in udp_tun_rx_dst() 204 if (!tun_dst) in udp_tun_rx_dst() 207 info = &tun_dst->u.tun_info; in udp_tun_rx_dst() 212 return tun_dst; in udp_tun_rx_dst()
|
D | ip_gre.c | 256 struct metadata_dst *tun_dst = NULL; in erspan_rcv() local 299 tun_dst = ip_tun_rx_dst(skb, flags, in erspan_rcv() 301 if (!tun_dst) in erspan_rcv() 304 md = ip_tunnel_info_opts(&tun_dst->u.tun_info); in erspan_rcv() 306 dst_release((struct dst_entry *)tun_dst); in erspan_rcv() 311 info = &tun_dst->u.tun_info; in erspan_rcv() 319 ip_tunnel_rcv(tunnel, skb, tpi, tun_dst, log_ecn_error); in erspan_rcv() 332 struct metadata_dst *tun_dst = NULL; in __ipgre_rcv() local 355 tun_dst = ip_tun_rx_dst(skb, flags, tun_id, 0); in __ipgre_rcv() 356 if (!tun_dst) in __ipgre_rcv() [all …]
|
D | ipip.c | 222 struct metadata_dst *tun_dst = NULL; in ipip_tunnel_rcv() local 247 tun_dst = ip_tun_rx_dst(skb, 0, 0, 0); in ipip_tunnel_rcv() 248 if (!tun_dst) in ipip_tunnel_rcv() 251 return ip_tunnel_rcv(tunnel, skb, tpi, tun_dst, log_ecn_error); in ipip_tunnel_rcv()
|
D | ip_tunnel.c | 383 const struct tnl_ptk_info *tpi, struct metadata_dst *tun_dst, in ip_tunnel_rcv() argument 443 if (tun_dst) in ip_tunnel_rcv() 444 skb_dst_set(skb, (struct dst_entry *)tun_dst); in ip_tunnel_rcv() 450 if (tun_dst) in ip_tunnel_rcv() 451 dst_release((struct dst_entry *)tun_dst); in ip_tunnel_rcv()
|
/net/ipv6/ |
D | ip6_tunnel.c | 784 struct metadata_dst *tun_dst, in __ip6_tnl_rcv() argument 857 if (tun_dst) in __ip6_tnl_rcv() 858 skb_dst_set(skb, (struct dst_entry *)tun_dst); in __ip6_tnl_rcv() 864 if (tun_dst) in __ip6_tnl_rcv() 865 dst_release((struct dst_entry *)tun_dst); in __ip6_tnl_rcv() 872 struct metadata_dst *tun_dst, in ip6_tnl_rcv() argument 898 struct metadata_dst *tun_dst = NULL; in ipxip6_rcv() local 917 tun_dst = ipv6_tun_rx_dst(skb, 0, 0, 0); in ipxip6_rcv() 918 if (!tun_dst) in ipxip6_rcv() 921 ret = __ip6_tnl_rcv(t, skb, tpi, tun_dst, dscp_ecn_decapsulate, in ipxip6_rcv()
|
/net/openvswitch/ |
D | flow_netlink.c | 1925 dst_release((struct dst_entry *)ovs_tun->tun_dst); in ovs_nla_free_set_action() 2175 struct metadata_dst *tun_dst; in validate_and_copy_set_tun() local 2202 tun_dst = metadata_dst_alloc(key.tun_opts_len, METADATA_IP_TUNNEL, in validate_and_copy_set_tun() 2205 if (!tun_dst) in validate_and_copy_set_tun() 2208 err = dst_cache_init(&tun_dst->u.tun_info.dst_cache, GFP_KERNEL); in validate_and_copy_set_tun() 2210 dst_release((struct dst_entry *)tun_dst); in validate_and_copy_set_tun() 2217 dst_release((struct dst_entry *)tun_dst); in validate_and_copy_set_tun() 2222 ovs_tun->tun_dst = tun_dst; in validate_and_copy_set_tun() 2224 tun_info = &tun_dst->u.tun_info; in validate_and_copy_set_tun() 2724 struct ip_tunnel_info *tun_info = &ovs_tun->tun_dst->u.tun_info; in set_action_to_attr()
|
D | flow.h | 57 struct metadata_dst *tun_dst; member
|
D | actions.c | 986 dst_hold((struct dst_entry *)tun->tun_dst); in execute_set_action() 987 skb_dst_set(skb, (struct dst_entry *)tun->tun_dst); in execute_set_action()
|