Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/wireguard/
Ddevice.h43 struct sock __rcu *sock4, *sock6; member
Dsocket.c119 sock = rcu_dereference_bh(wg->sock6); in send6()
426 old6 = rcu_dereference_protected(wg->sock6, in wg_socket_reinit()
429 rcu_assign_pointer(wg->sock6, new6); in wg_socket_reinit()
/kernel/linux/linux-5.10/drivers/net/
Dvxlan.c1526 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()
[all …]
Dgeneve.c69 struct geneve_sock __rcu *sock6; /* IPv6 socket used for geneve tunnel */ member
617 struct geneve_sock *gs6 = rtnl_dereference(geneve->sock6); in geneve_sock_release()
619 rcu_assign_pointer(geneve->sock6, NULL); in geneve_sock_release()
670 rcu_assign_pointer(geneve->sock6, gs); in geneve_sock_add()
982 struct geneve_sock *gs6 = rcu_dereference(geneve->sock6); in geneve6_xmit_skb()
1135 struct geneve_sock *gs6 = rcu_dereference(geneve->sock6); in geneve_fill_metadata_dst()
1665 *gs6 = rtnl_dereference(geneve->sock6); in geneve_quiesce()
1666 rcu_assign_pointer(geneve->sock6, NULL); in geneve_quiesce()
1683 rcu_assign_pointer(geneve->sock6, gs6); in geneve_unquiesce()