Lines Matching refs:sock6

1526 	struct vxlan_sock *sock6;  in vxlan_group_used()  local
1538 sock6 = rtnl_dereference(dev->vn6_sock); in vxlan_group_used()
1539 if (family == AF_INET6 && sock6 && refcount_read(&sock6->refcnt) == 1) in vxlan_group_used()
1552 rtnl_dereference(vxlan->vn6_sock) != sock6) in vxlan_group_used()
1595 struct vxlan_sock *sock6 = rtnl_dereference(vxlan->vn6_sock); in vxlan_sock_release() local
1611 if (__vxlan_sock_release_prep(sock6)) { in vxlan_sock_release()
1612 udp_tunnel_sock_release(sock6->sock); in vxlan_sock_release()
1613 kfree(sock6); in vxlan_sock_release()
1641 struct vxlan_sock *sock6 = rtnl_dereference(vxlan->vn6_sock); in vxlan_igmp_join() local
1643 sk = sock6->sock->sk; in vxlan_igmp_join()
1675 struct vxlan_sock *sock6 = rtnl_dereference(vxlan->vn6_sock); in vxlan_igmp_leave() local
1677 sk = sock6->sock->sk; in vxlan_igmp_leave()
2443 struct vxlan_sock *sock6, in vxlan6_get_route() argument
2456 if (!sock6) in vxlan6_get_route()
2477 ndst = ipv6_stub->ipv6_dst_lookup_flow(vxlan->net, sock6->sock->sk, in vxlan6_get_route()
2751 struct vxlan_sock *sock6 = rcu_dereference(vxlan->vn6_sock); in vxlan_xmit_one() local
2754 ifindex = sock6->sock->sk->sk_bound_dev_if; in vxlan_xmit_one()
2756 ndst = vxlan6_get_route(vxlan, dev, sock6, skb, ifindex, tos, in vxlan_xmit_one()
2804 udp_tunnel6_xmit_skb(ndst, sock6->sock->sk, skb, dev, in vxlan_xmit_one()
3188 struct vxlan_sock *sock6 = rcu_dereference(vxlan->vn6_sock); in vxlan_fill_metadata_dst() local
3191 ndst = vxlan6_get_route(vxlan, dev, sock6, skb, 0, info->key.tos, in vxlan_fill_metadata_dst()