| /net/ipv4/ |
| A D | udp_tunnel_core.c | 210 struct metadata_dst *tun_dst; in udp_tun_rx_dst() local 214 tun_dst = ip_tun_rx_dst(skb, flags, tunnel_id, md_size); in udp_tun_rx_dst() 216 tun_dst = ipv6_tun_rx_dst(skb, flags, tunnel_id, md_size); in udp_tun_rx_dst() 217 if (!tun_dst) in udp_tun_rx_dst() 220 info = &tun_dst->u.tun_info; in udp_tun_rx_dst() 225 return tun_dst; in udp_tun_rx_dst()
|
| A D | ipip.c | 220 struct metadata_dst *tun_dst = NULL; in ipip_tunnel_rcv() local 249 tun_dst = ip_tun_rx_dst(skb, flags, 0, 0); in ipip_tunnel_rcv() 250 if (!tun_dst) in ipip_tunnel_rcv() 252 ip_tunnel_md_udp_encap(skb, &tun_dst->u.tun_info); in ipip_tunnel_rcv() 256 return ip_tunnel_rcv(tunnel, skb, tpi, tun_dst, log_ecn_error); in ipip_tunnel_rcv()
|
| A D | ip_gre.c | 271 struct metadata_dst *tun_dst = NULL; in erspan_rcv() local 328 tun_dst = ip_tun_rx_dst(skb, flags, in erspan_rcv() 330 if (!tun_dst) in erspan_rcv() 341 md = ip_tunnel_info_opts(&tun_dst->u.tun_info); in erspan_rcv() 347 info = &tun_dst->u.tun_info; in erspan_rcv() 354 ip_tunnel_rcv(tunnel, skb, tpi, tun_dst, log_ecn_error); in erspan_rcv() 367 struct metadata_dst *tun_dst = NULL; in __ipgre_rcv() local 400 tun_dst = ip_tun_rx_dst(skb, flags, tun_id, 0); in __ipgre_rcv() 401 if (!tun_dst) in __ipgre_rcv() 405 ip_tunnel_rcv(tunnel, skb, tpi, tun_dst, log_ecn_error); in __ipgre_rcv()
|
| A D | ip_tunnel.c | 378 const struct tnl_ptk_info *tpi, struct metadata_dst *tun_dst, in ip_tunnel_rcv() argument 445 if (tun_dst) in ip_tunnel_rcv() 446 skb_dst_set(skb, (struct dst_entry *)tun_dst); in ip_tunnel_rcv() 452 if (tun_dst) in ip_tunnel_rcv() 453 dst_release((struct dst_entry *)tun_dst); in ip_tunnel_rcv()
|
| /net/ipv6/ |
| A D | ip6_tunnel.c | 795 struct metadata_dst *tun_dst, in __ip6_tnl_rcv() argument 877 if (tun_dst) in __ip6_tnl_rcv() 878 skb_dst_set(skb, (struct dst_entry *)tun_dst); in __ip6_tnl_rcv() 884 if (tun_dst) in __ip6_tnl_rcv() 885 dst_release((struct dst_entry *)tun_dst); in __ip6_tnl_rcv() 892 struct metadata_dst *tun_dst, in ip6_tnl_rcv() argument 903 return __ip6_tnl_rcv(t, skb, tpi, tun_dst, dscp_ecn_decapsulate, in ip6_tnl_rcv() 931 struct metadata_dst *tun_dst = NULL; in ipxip6_rcv() local 952 tun_dst = ipv6_tun_rx_dst(skb, flags, 0, 0); in ipxip6_rcv() 953 if (!tun_dst) in ipxip6_rcv() [all …]
|
| A D | ip6_gre.c | 469 struct metadata_dst *tun_dst; in ip6gre_rcv() local 475 tun_dst = ipv6_tun_rx_dst(skb, flags, tun_id, 0); in ip6gre_rcv() 476 if (!tun_dst) in ip6gre_rcv() 479 ip6_tnl_rcv(tunnel, skb, tpi, tun_dst, log_ecn_error); in ip6gre_rcv() 524 struct metadata_dst *tun_dst; in ip6erspan_rcv() local 533 tun_dst = ipv6_tun_rx_dst(skb, flags, tun_id, in ip6erspan_rcv() 535 if (!tun_dst) in ip6erspan_rcv() 546 info = &tun_dst->u.tun_info; in ip6erspan_rcv() 556 ip6_tnl_rcv(tunnel, skb, tpi, tun_dst, log_ecn_error); in ip6erspan_rcv()
|
| /net/openvswitch/ |
| A D | flow_netlink.c | 2396 dst_release((struct dst_entry *)ovs_tun->tun_dst); in ovs_nla_free_set_action() 2767 struct metadata_dst *tun_dst; in validate_and_copy_set_tun() local 2800 tun_dst = metadata_dst_alloc(key.tun_opts_len, METADATA_IP_TUNNEL, in validate_and_copy_set_tun() 2803 if (!tun_dst) in validate_and_copy_set_tun() 2806 err = dst_cache_init(&tun_dst->u.tun_info.dst_cache, GFP_KERNEL); in validate_and_copy_set_tun() 2808 dst_release((struct dst_entry *)tun_dst); in validate_and_copy_set_tun() 2815 dst_release((struct dst_entry *)tun_dst); in validate_and_copy_set_tun() 2820 ovs_tun->tun_dst = tun_dst; in validate_and_copy_set_tun() 2822 tun_info = &tun_dst->u.tun_info; in validate_and_copy_set_tun() 3738 struct ip_tunnel_info *tun_info = &ovs_tun->tun_dst->u.tun_info; in set_action_to_attr()
|
| A D | flow.h | 58 struct metadata_dst *tun_dst; member
|
| A D | actions.c | 1094 dst_hold((struct dst_entry *)tun->tun_dst); in execute_set_action() 1095 skb_dst_set(skb, (struct dst_entry *)tun->tun_dst); in execute_set_action()
|