/net/ipv4/ |
D | udp_tunnel.c | 207 struct metadata_dst *tun_dst; in udp_tun_rx_dst() local 211 tun_dst = ip_tun_rx_dst(skb, flags, tunnel_id, md_size); in udp_tun_rx_dst() 213 tun_dst = ipv6_tun_rx_dst(skb, flags, tunnel_id, md_size); in udp_tun_rx_dst() 214 if (!tun_dst) in udp_tun_rx_dst() 217 info = &tun_dst->u.tun_info; in udp_tun_rx_dst() 222 return tun_dst; in udp_tun_rx_dst()
|
D | ip_gre.c | 255 struct metadata_dst *tun_dst = NULL; in erspan_rcv() local 296 tun_dst = ip_tun_rx_dst(skb, flags, in erspan_rcv() 298 if (!tun_dst) in erspan_rcv() 309 md = ip_tunnel_info_opts(&tun_dst->u.tun_info); in erspan_rcv() 315 info = &tun_dst->u.tun_info; in erspan_rcv() 321 ip_tunnel_rcv(tunnel, skb, tpi, tun_dst, log_ecn_error); in erspan_rcv() 334 struct metadata_dst *tun_dst = NULL; in __ipgre_rcv() local 357 tun_dst = ip_tun_rx_dst(skb, flags, tun_id, 0); in __ipgre_rcv() 358 if (!tun_dst) in __ipgre_rcv() 362 ip_tunnel_rcv(tunnel, skb, tpi, tun_dst, log_ecn_error); in __ipgre_rcv()
|
D | ipip.c | 216 struct metadata_dst *tun_dst = NULL; in ipip_tunnel_rcv() local 241 tun_dst = ip_tun_rx_dst(skb, 0, 0, 0); in ipip_tunnel_rcv() 242 if (!tun_dst) in ipip_tunnel_rcv() 245 return ip_tunnel_rcv(tunnel, skb, tpi, tun_dst, log_ecn_error); in ipip_tunnel_rcv()
|
D | ip_tunnel.c | 362 const struct tnl_ptk_info *tpi, struct metadata_dst *tun_dst, in ip_tunnel_rcv() argument 422 if (tun_dst) in ip_tunnel_rcv() 423 skb_dst_set(skb, (struct dst_entry *)tun_dst); in ip_tunnel_rcv() 429 if (tun_dst) in ip_tunnel_rcv() 430 dst_release((struct dst_entry *)tun_dst); in ip_tunnel_rcv()
|
/net/ipv6/ |
D | ip6_tunnel.c | 772 struct metadata_dst *tun_dst, in __ip6_tnl_rcv() argument 845 if (tun_dst) in __ip6_tnl_rcv() 846 skb_dst_set(skb, (struct dst_entry *)tun_dst); in __ip6_tnl_rcv() 852 if (tun_dst) in __ip6_tnl_rcv() 853 dst_release((struct dst_entry *)tun_dst); in __ip6_tnl_rcv() 860 struct metadata_dst *tun_dst, in ip6_tnl_rcv() argument 863 return __ip6_tnl_rcv(t, skb, tpi, tun_dst, ip6ip6_dscp_ecn_decapsulate, in ip6_tnl_rcv() 886 struct metadata_dst *tun_dst = NULL; in ipxip6_rcv() local 905 tun_dst = ipv6_tun_rx_dst(skb, 0, 0, 0); in ipxip6_rcv() 906 if (!tun_dst) in ipxip6_rcv() [all …]
|
D | ip6_gre.c | 500 struct metadata_dst *tun_dst; in ip6gre_rcv() local 507 tun_dst = ipv6_tun_rx_dst(skb, flags, tun_id, 0); in ip6gre_rcv() 508 if (!tun_dst) in ip6gre_rcv() 511 ip6_tnl_rcv(tunnel, skb, tpi, tun_dst, log_ecn_error); in ip6gre_rcv() 552 struct metadata_dst *tun_dst; in ip6erspan_rcv() local 562 tun_dst = ipv6_tun_rx_dst(skb, flags, tun_id, in ip6erspan_rcv() 564 if (!tun_dst) in ip6erspan_rcv() 575 info = &tun_dst->u.tun_info; in ip6erspan_rcv() 584 ip6_tnl_rcv(tunnel, skb, tpi, tun_dst, log_ecn_error); in ip6erspan_rcv()
|
/net/openvswitch/ |
D | flow_netlink.c | 2277 dst_release((struct dst_entry *)ovs_tun->tun_dst); in ovs_nla_free_set_action() 2561 struct metadata_dst *tun_dst; in validate_and_copy_set_tun() local 2595 tun_dst = metadata_dst_alloc(key.tun_opts_len, METADATA_IP_TUNNEL, in validate_and_copy_set_tun() 2598 if (!tun_dst) in validate_and_copy_set_tun() 2601 err = dst_cache_init(&tun_dst->u.tun_info.dst_cache, GFP_KERNEL); in validate_and_copy_set_tun() 2603 dst_release((struct dst_entry *)tun_dst); in validate_and_copy_set_tun() 2610 dst_release((struct dst_entry *)tun_dst); in validate_and_copy_set_tun() 2615 ovs_tun->tun_dst = tun_dst; in validate_and_copy_set_tun() 2617 tun_info = &tun_dst->u.tun_info; in validate_and_copy_set_tun() 3376 struct ip_tunnel_info *tun_info = &ovs_tun->tun_dst->u.tun_info; in set_action_to_attr()
|
D | flow.h | 44 struct metadata_dst *tun_dst; member
|
D | actions.c | 1040 dst_hold((struct dst_entry *)tun->tun_dst); in execute_set_action() 1041 skb_dst_set(skb, (struct dst_entry *)tun->tun_dst); in execute_set_action()
|