Lines Matching refs:sock6
1527 struct vxlan_sock *sock6; in vxlan_group_used() local
1539 sock6 = rtnl_dereference(dev->vn6_sock); in vxlan_group_used()
1540 if (family == AF_INET6 && sock6 && refcount_read(&sock6->refcnt) == 1) in vxlan_group_used()
1553 rtnl_dereference(vxlan->vn6_sock) != sock6) in vxlan_group_used()
1596 struct vxlan_sock *sock6 = rtnl_dereference(vxlan->vn6_sock); in vxlan_sock_release() local
1612 if (__vxlan_sock_release_prep(sock6)) { in vxlan_sock_release()
1613 udp_tunnel_sock_release(sock6->sock); in vxlan_sock_release()
1614 kfree(sock6); in vxlan_sock_release()
1642 struct vxlan_sock *sock6 = rtnl_dereference(vxlan->vn6_sock); in vxlan_igmp_join() local
1644 sk = sock6->sock->sk; in vxlan_igmp_join()
1676 struct vxlan_sock *sock6 = rtnl_dereference(vxlan->vn6_sock); in vxlan_igmp_leave() local
1678 sk = sock6->sock->sk; in vxlan_igmp_leave()
2446 struct vxlan_sock *sock6, in vxlan6_get_route() argument
2459 if (!sock6) in vxlan6_get_route()
2480 ndst = ipv6_stub->ipv6_dst_lookup_flow(vxlan->net, sock6->sock->sk, in vxlan6_get_route()
2759 struct vxlan_sock *sock6 = rcu_dereference(vxlan->vn6_sock); in vxlan_xmit_one() local
2762 ifindex = sock6->sock->sk->sk_bound_dev_if; in vxlan_xmit_one()
2764 ndst = vxlan6_get_route(vxlan, dev, sock6, skb, ifindex, tos, in vxlan_xmit_one()
2817 udp_tunnel6_xmit_skb(ndst, sock6->sock->sk, skb, dev, in vxlan_xmit_one()
3201 struct vxlan_sock *sock6 = rcu_dereference(vxlan->vn6_sock); in vxlan_fill_metadata_dst() local
3204 ndst = vxlan6_get_route(vxlan, dev, sock6, skb, 0, info->key.tos, in vxlan_fill_metadata_dst()