Home
last modified time | relevance | path

Searched refs:sock6 (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/drivers/net/vxlan/
Dvxlan_multicast.c38 struct vxlan_sock *sock6 = rtnl_dereference(vxlan->vn6_sock); in vxlan_igmp_join() local
40 sk = sock6->sock->sk; in vxlan_igmp_join()
72 struct vxlan_sock *sock6 = rtnl_dereference(vxlan->vn6_sock); in vxlan_igmp_leave() local
74 sk = sock6->sock->sk; in vxlan_igmp_leave()
133 struct vxlan_sock *sock6; in vxlan_group_used() local
146 sock6 = rtnl_dereference(dev->vn6_sock); in vxlan_group_used()
147 if (family == AF_INET6 && sock6 && refcount_read(&sock6->refcnt) == 1) in vxlan_group_used()
160 rtnl_dereference(vxlan->vn6_sock) != sock6) in vxlan_group_used()
Dvxlan_core.c1500 struct vxlan_sock *sock6 = rtnl_dereference(vxlan->vn6_sock); in vxlan_sock_release() local
1519 if (__vxlan_sock_release_prep(sock6)) { in vxlan_sock_release()
1520 udp_tunnel_sock_release(sock6->sock); in vxlan_sock_release()
1521 kfree(sock6); in vxlan_sock_release()
2296 struct vxlan_sock *sock6, in vxlan6_get_route() argument
2309 if (!sock6) in vxlan6_get_route()
2330 ndst = ipv6_stub->ipv6_dst_lookup_flow(vxlan->net, sock6->sock->sk, in vxlan6_get_route()
2625 struct vxlan_sock *sock6 = rcu_dereference(vxlan->vn6_sock); in vxlan_xmit_one() local
2628 ifindex = sock6->sock->sk->sk_bound_dev_if; in vxlan_xmit_one()
2630 ndst = vxlan6_get_route(vxlan, dev, sock6, skb, ifindex, tos, in vxlan_xmit_one()
[all …]
/linux-5.19.10/drivers/net/wireguard/
Ddevice.h43 struct sock __rcu *sock4, *sock6; member
Dsocket.c119 sock = rcu_dereference_bh(wg->sock6); in send6()
427 old6 = rcu_dereference_protected(wg->sock6, in wg_socket_reinit()
430 rcu_assign_pointer(wg->sock6, new6); in wg_socket_reinit()
/linux-5.19.10/drivers/net/
Dgeneve.c72 struct geneve_sock __rcu *sock6; /* IPv6 socket used for geneve tunnel */ member
638 struct geneve_sock *gs6 = rtnl_dereference(geneve->sock6); in geneve_sock_release()
640 rcu_assign_pointer(geneve->sock6, NULL); in geneve_sock_release()
691 rcu_assign_pointer(geneve->sock6, gs); in geneve_sock_add()
1012 struct geneve_sock *gs6 = rcu_dereference(geneve->sock6); in geneve6_xmit_skb()
1166 struct geneve_sock *gs6 = rcu_dereference(geneve->sock6); in geneve_fill_metadata_dst()
1715 *gs6 = rtnl_dereference(geneve->sock6); in geneve_quiesce()
1716 rcu_assign_pointer(geneve->sock6, NULL); in geneve_quiesce()
1733 rcu_assign_pointer(geneve->sock6, gs6); in geneve_unquiesce()