Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/vxlan/
Dvxlan_multicast.c26 struct vxlan_sock *sock4 = rtnl_dereference(vxlan->vn4_sock); in vxlan_igmp_join() local
32 sk = sock4->sock->sk; in vxlan_igmp_join()
60 struct vxlan_sock *sock4 = rtnl_dereference(vxlan->vn4_sock); in vxlan_igmp_leave() local
66 sk = sock4->sock->sk; in vxlan_igmp_leave()
131 struct vxlan_sock *sock4; in vxlan_group_used() local
137 sock4 = rtnl_dereference(dev->vn4_sock); in vxlan_group_used()
142 if (family == AF_INET && sock4 && refcount_read(&sock4->refcnt) == 1) in vxlan_group_used()
156 rtnl_dereference(vxlan->vn4_sock) != sock4) in vxlan_group_used()
Dvxlan_core.c1526 struct vxlan_sock *sock4 = rtnl_dereference(vxlan->vn4_sock); in vxlan_sock_release() local
1541 if (__vxlan_sock_release_prep(sock4)) { in vxlan_sock_release()
1542 udp_tunnel_sock_release(sock4->sock); in vxlan_sock_release()
1543 kfree(sock4); in vxlan_sock_release()
2452 struct vxlan_sock *sock4 = rcu_dereference(vxlan->vn4_sock); in vxlan_xmit_one() local
2458 ifindex = sock4->sock->sk->sk_bound_dev_if; in vxlan_xmit_one()
2519 udp_tunnel_xmit_skb(rt, sock4->sock->sk, skb, saddr, in vxlan_xmit_one()
3205 struct vxlan_sock *sock4 = rcu_dereference(vxlan->vn4_sock); in vxlan_fill_metadata_dst() local
3208 if (!sock4) in vxlan_fill_metadata_dst()
/linux-6.12.1/drivers/net/wireguard/
Ddevice.h43 struct sock __rcu *sock4, *sock6; member
Dsocket.c39 sock = rcu_dereference_bh(wg->sock4); in send4()
425 old4 = rcu_dereference_protected(wg->sock4, in wg_socket_reinit()
429 rcu_assign_pointer(wg->sock4, new4); in wg_socket_reinit()
/linux-6.12.1/drivers/net/
Dgeneve.c70 struct geneve_sock __rcu *sock4; /* IPv4 socket used for geneve tunnel */ member
638 struct geneve_sock *gs4 = rtnl_dereference(geneve->sock4); in geneve_sock_release()
645 rcu_assign_pointer(geneve->sock4, NULL); in geneve_sock_release()
698 rcu_assign_pointer(geneve->sock4, gs); in geneve_sock_add()
820 struct geneve_sock *gs4 = rcu_dereference(geneve->sock4); in geneve_xmit_skb()
1076 struct geneve_sock *gs4 = rcu_dereference(geneve->sock4); in geneve_fill_metadata_dst()
1658 *gs4 = rtnl_dereference(geneve->sock4); in geneve_quiesce()
1659 rcu_assign_pointer(geneve->sock4, NULL); in geneve_quiesce()
1677 rcu_assign_pointer(geneve->sock4, gs4); in geneve_unquiesce()