Lines Matching refs:sock4
1495 struct vxlan_sock *sock4 = rtnl_dereference(vxlan->vn4_sock); in vxlan_sock_release() local
1510 if (__vxlan_sock_release_prep(sock4)) { in vxlan_sock_release()
1511 udp_tunnel_sock_release(sock4->sock); in vxlan_sock_release()
1512 kfree(sock4); in vxlan_sock_release()
2240 struct vxlan_sock *sock4, in vxlan_get_route() argument
2250 if (!sock4) in vxlan_get_route()
2547 struct vxlan_sock *sock4 = rcu_dereference(vxlan->vn4_sock); in vxlan_xmit_one() local
2552 ifindex = sock4->sock->sk->sk_bound_dev_if; in vxlan_xmit_one()
2554 rt = vxlan_get_route(vxlan, dev, sock4, skb, ifindex, tos, in vxlan_xmit_one()
2617 udp_tunnel_xmit_skb(rt, sock4->sock->sk, skb, local_ip.sin.sin_addr.s_addr, in vxlan_xmit_one()
3057 struct vxlan_sock *sock4 = rcu_dereference(vxlan->vn4_sock); in vxlan_fill_metadata_dst() local
3060 rt = vxlan_get_route(vxlan, dev, sock4, skb, 0, info->key.tos, in vxlan_fill_metadata_dst()