Home
last modified time | relevance | path

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

/linux-6.12.1/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.c1528 struct vxlan_sock *sock6 = rtnl_dereference(vxlan->vn6_sock); in vxlan_sock_release() local
1547 if (__vxlan_sock_release_prep(sock6)) { in vxlan_sock_release()
1548 udp_tunnel_sock_release(sock6->sock); in vxlan_sock_release()
1549 kfree(sock6); in vxlan_sock_release()
2524 struct vxlan_sock *sock6 = rcu_dereference(vxlan->vn6_sock); in vxlan_xmit_one() local
2528 ifindex = sock6->sock->sk->sk_bound_dev_if; in vxlan_xmit_one()
2530 ndst = udp_tunnel6_dst_lookup(skb, dev, vxlan->net, sock6->sock, in vxlan_xmit_one()
2580 udp_tunnel6_xmit_skb(ndst, sock6->sock->sk, skb, dev, in vxlan_xmit_one()
3221 struct vxlan_sock *sock6 = rcu_dereference(vxlan->vn6_sock); in vxlan_fill_metadata_dst() local
3224 if (!sock6) in vxlan_fill_metadata_dst()
[all …]
/linux-6.12.1/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-6.12.1/drivers/net/
Dgeneve.c72 struct geneve_sock __rcu *sock6; /* IPv6 socket used for geneve tunnel */ member
640 struct geneve_sock *gs6 = rtnl_dereference(geneve->sock6); in geneve_sock_release()
642 rcu_assign_pointer(geneve->sock6, NULL); in geneve_sock_release()
693 rcu_assign_pointer(geneve->sock6, gs); in geneve_sock_add()
931 struct geneve_sock *gs6 = rcu_dereference(geneve->sock6); in geneve6_xmit_skb()
1102 struct geneve_sock *gs6 = rcu_dereference(geneve->sock6); in geneve_fill_metadata_dst()
1663 *gs6 = rtnl_dereference(geneve->sock6); in geneve_quiesce()
1664 rcu_assign_pointer(geneve->sock6, NULL); in geneve_quiesce()
1681 rcu_assign_pointer(geneve->sock6, gs6); in geneve_unquiesce()