Home
last modified time | relevance | path

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

/linux-5.19.10/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.c1498 struct vxlan_sock *sock4 = rtnl_dereference(vxlan->vn4_sock); in vxlan_sock_release() local
1513 if (__vxlan_sock_release_prep(sock4)) { in vxlan_sock_release()
1514 udp_tunnel_sock_release(sock4->sock); in vxlan_sock_release()
1515 kfree(sock4); in vxlan_sock_release()
2243 struct vxlan_sock *sock4, in vxlan_get_route() argument
2253 if (!sock4) in vxlan_get_route()
2550 struct vxlan_sock *sock4 = rcu_dereference(vxlan->vn4_sock); in vxlan_xmit_one() local
2555 ifindex = sock4->sock->sk->sk_bound_dev_if; in vxlan_xmit_one()
2557 rt = vxlan_get_route(vxlan, dev, sock4, skb, ifindex, tos, in vxlan_xmit_one()
2620 udp_tunnel_xmit_skb(rt, sock4->sock->sk, skb, local_ip.sin.sin_addr.s_addr, in vxlan_xmit_one()
[all …]
/linux-5.19.10/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-5.19.10/drivers/net/
Dgeneve.c70 struct geneve_sock __rcu *sock4; /* IPv4 socket used for geneve tunnel */ member
636 struct geneve_sock *gs4 = rtnl_dereference(geneve->sock4); in geneve_sock_release()
643 rcu_assign_pointer(geneve->sock4, NULL); in geneve_sock_release()
696 rcu_assign_pointer(geneve->sock4, gs); in geneve_sock_add()
912 struct geneve_sock *gs4 = rcu_dereference(geneve->sock4); in geneve_xmit_skb()
1150 struct geneve_sock *gs4 = rcu_dereference(geneve->sock4); in geneve_fill_metadata_dst()
1710 *gs4 = rtnl_dereference(geneve->sock4); in geneve_quiesce()
1711 rcu_assign_pointer(geneve->sock4, NULL); in geneve_quiesce()
1729 rcu_assign_pointer(geneve->sock4, gs4); in geneve_unquiesce()