Lines Matching refs:sock6
1349 struct vxlan_sock *sock6; in vxlan_group_used() local
1361 sock6 = rtnl_dereference(dev->vn6_sock); in vxlan_group_used()
1362 if (family == AF_INET6 && sock6 && refcount_read(&sock6->refcnt) == 1) in vxlan_group_used()
1375 rtnl_dereference(vxlan->vn6_sock) != sock6) in vxlan_group_used()
1418 struct vxlan_sock *sock6 = rtnl_dereference(vxlan->vn6_sock); in vxlan_sock_release() local
1434 if (__vxlan_sock_release_prep(sock6)) { in vxlan_sock_release()
1435 udp_tunnel_sock_release(sock6->sock); in vxlan_sock_release()
1436 kfree(sock6); in vxlan_sock_release()
1464 struct vxlan_sock *sock6 = rtnl_dereference(vxlan->vn6_sock); in vxlan_igmp_join() local
1466 sk = sock6->sock->sk; in vxlan_igmp_join()
1498 struct vxlan_sock *sock6 = rtnl_dereference(vxlan->vn6_sock); in vxlan_igmp_leave() local
1500 sk = sock6->sock->sk; in vxlan_igmp_leave()
2267 struct vxlan_sock *sock6, in vxlan6_get_route() argument
2280 if (!sock6) in vxlan6_get_route()
2301 ndst = ipv6_stub->ipv6_dst_lookup_flow(vxlan->net, sock6->sock->sk, in vxlan6_get_route()
2557 struct vxlan_sock *sock6 = rcu_dereference(vxlan->vn6_sock); in vxlan_xmit_one() local
2560 ifindex = sock6->sock->sk->sk_bound_dev_if; in vxlan_xmit_one()
2562 ndst = vxlan6_get_route(vxlan, dev, sock6, skb, ifindex, tos, in vxlan_xmit_one()
2593 udp_tunnel6_xmit_skb(ndst, sock6->sock->sk, skb, dev, in vxlan_xmit_one()
2929 struct vxlan_sock *sock6 = rcu_dereference(vxlan->vn6_sock); in vxlan_fill_metadata_dst() local
2932 ndst = vxlan6_get_route(vxlan, dev, sock6, skb, 0, info->key.tos, in vxlan_fill_metadata_dst()