Home
last modified time | relevance | path

Searched refs:tun_dst (Results 1 – 10 of 10) sorted by relevance

/linux-4.4.14/include/net/
Ddst_metadata.h70 struct metadata_dst *tun_dst; in tun_rx_dst() local
72 tun_dst = metadata_dst_alloc(md_size, GFP_ATOMIC); in tun_rx_dst()
73 if (!tun_dst) in tun_rx_dst()
76 tun_dst->u.tun_info.options_len = 0; in tun_rx_dst()
77 tun_dst->u.tun_info.mode = 0; in tun_rx_dst()
78 return tun_dst; in tun_rx_dst()
120 struct metadata_dst *tun_dst; in ip_tun_rx_dst() local
122 tun_dst = tun_rx_dst(md_size); in ip_tun_rx_dst()
123 if (!tun_dst) in ip_tun_rx_dst()
126 ip_tunnel_key_init(&tun_dst->u.tun_info.key, in ip_tun_rx_dst()
[all …]
Dip_tunnels.h244 const struct tnl_ptk_info *tpi, struct metadata_dst *tun_dst,
/linux-4.4.14/net/ipv4/
Dudp_tunnel.c112 struct metadata_dst *tun_dst; in udp_tun_rx_dst() local
116 tun_dst = ip_tun_rx_dst(skb, flags, tunnel_id, md_size); in udp_tun_rx_dst()
118 tun_dst = ipv6_tun_rx_dst(skb, flags, tunnel_id, md_size); in udp_tun_rx_dst()
119 if (!tun_dst) in udp_tun_rx_dst()
122 info = &tun_dst->u.tun_info; in udp_tun_rx_dst()
127 return tun_dst; in udp_tun_rx_dst()
Dip_gre.c387 struct metadata_dst *tun_dst = NULL; in ipgre_rcv() local
409 tun_dst = ip_tun_rx_dst(skb, flags, tun_id, 0); in ipgre_rcv()
410 if (!tun_dst) in ipgre_rcv()
414 ip_tunnel_rcv(tunnel, skb, tpi, tun_dst, log_ecn_error); in ipgre_rcv()
Dip_tunnel.c429 const struct tnl_ptk_info *tpi, struct metadata_dst *tun_dst, in ip_tunnel_rcv() argument
489 if (tun_dst) in ip_tunnel_rcv()
490 skb_dst_set(skb, (struct dst_entry *)tun_dst); in ip_tunnel_rcv()
/linux-4.4.14/net/openvswitch/
Dflow.h50 struct metadata_dst *tun_dst; member
Dflow_netlink.c1700 dst_release((struct dst_entry *)ovs_tun->tun_dst); in ovs_nla_free_set_action()
1931 struct metadata_dst *tun_dst; in validate_and_copy_set_tun() local
1958 tun_dst = metadata_dst_alloc(key.tun_opts_len, GFP_KERNEL); in validate_and_copy_set_tun()
1959 if (!tun_dst) in validate_and_copy_set_tun()
1965 dst_release((struct dst_entry *)tun_dst); in validate_and_copy_set_tun()
1970 ovs_tun->tun_dst = tun_dst; in validate_and_copy_set_tun()
1972 tun_info = &tun_dst->u.tun_info; in validate_and_copy_set_tun()
2431 struct ip_tunnel_info *tun_info = &ovs_tun->tun_dst->u.tun_info; in set_action_to_attr()
Dactions.c898 dst_hold((struct dst_entry *)tun->tun_dst); in execute_set_action()
899 skb_dst_set(skb, (struct dst_entry *)tun->tun_dst); in execute_set_action()
/linux-4.4.14/drivers/net/
Dvxlan.c1153 struct metadata_dst *tun_dst) in vxlan_rcv() argument
1193 if (tun_dst) { in vxlan_rcv()
1194 skb_dst_set(skb, (struct dst_entry *)tun_dst); in vxlan_rcv()
1195 tun_dst = NULL; in vxlan_rcv()
1238 if (tun_dst) in vxlan_rcv()
1239 dst_release((struct dst_entry *)tun_dst); in vxlan_rcv()
1248 struct metadata_dst *tun_dst = NULL; in vxlan_udp_encap_recv() local
1289 tun_dst = udp_tun_rx_dst(skb, vxlan_get_sk_family(vs), TUNNEL_KEY, in vxlan_udp_encap_recv()
1292 if (!tun_dst) in vxlan_udp_encap_recv()
1295 md = ip_tunnel_info_opts(&tun_dst->u.tun_info); in vxlan_udp_encap_recv()
[all …]
Dgeneve.c152 struct metadata_dst *tun_dst = NULL; in geneve_rx() local
208 tun_dst = udp_tun_rx_dst(skb, sa_family, flags, in geneve_rx()
211 if (!tun_dst) in geneve_rx()
214 ip_tunnel_info_opts_set(&tun_dst->u.tun_info, in geneve_rx()
229 if (tun_dst) in geneve_rx()
230 skb_dst_set(skb, &tun_dst->dst); in geneve_rx()