Searched refs:sock6 (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/drivers/net/vxlan/ |
D | vxlan_multicast.c | 38 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()
|
D | vxlan_core.c | 1497 struct vxlan_sock *sock6 = rtnl_dereference(vxlan->vn6_sock); in vxlan_sock_release() local 1516 if (__vxlan_sock_release_prep(sock6)) { in vxlan_sock_release() 1517 udp_tunnel_sock_release(sock6->sock); in vxlan_sock_release() 1518 kfree(sock6); in vxlan_sock_release() 2293 struct vxlan_sock *sock6, in vxlan6_get_route() argument 2306 if (!sock6) in vxlan6_get_route() 2327 ndst = ipv6_stub->ipv6_dst_lookup_flow(vxlan->net, sock6->sock->sk, in vxlan6_get_route() 2622 struct vxlan_sock *sock6 = rcu_dereference(vxlan->vn6_sock); in vxlan_xmit_one() local 2625 ifindex = sock6->sock->sk->sk_bound_dev_if; in vxlan_xmit_one() 2627 ndst = vxlan6_get_route(vxlan, dev, sock6, skb, ifindex, tos, in vxlan_xmit_one() [all …]
|
/Linux-v6.1/drivers/net/wireguard/ |
D | device.h | 43 struct sock __rcu *sock4, *sock6; member
|
D | socket.c | 119 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-v6.1/drivers/net/ |
D | geneve.c | 72 struct geneve_sock __rcu *sock6; /* IPv6 socket used for geneve tunnel */ member 635 struct geneve_sock *gs6 = rtnl_dereference(geneve->sock6); in geneve_sock_release() 637 rcu_assign_pointer(geneve->sock6, NULL); in geneve_sock_release() 688 rcu_assign_pointer(geneve->sock6, gs); in geneve_sock_add() 1009 struct geneve_sock *gs6 = rcu_dereference(geneve->sock6); in geneve6_xmit_skb() 1163 struct geneve_sock *gs6 = rcu_dereference(geneve->sock6); in geneve_fill_metadata_dst() 1712 *gs6 = rtnl_dereference(geneve->sock6); in geneve_quiesce() 1713 rcu_assign_pointer(geneve->sock6, NULL); in geneve_quiesce() 1730 rcu_assign_pointer(geneve->sock6, gs6); in geneve_unquiesce()
|