Home
last modified time | relevance | path

Searched refs:new4 (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/wireguard/
Dsocket.c358 struct socket *new4 = NULL, *new6 = NULL; in wg_socket_init() local
387 ret = udp_sock_create(net, &port4, &new4); in wg_socket_init()
392 set_sock_opts(new4); in wg_socket_init()
393 setup_udp_tunnel_sock(net, new4, &cfg); in wg_socket_init()
397 port6.local_udp_port = inet_sk(new4->sk)->inet_sport; in wg_socket_init()
400 udp_tunnel_sock_release(new4); in wg_socket_init()
412 wg_socket_reinit(wg, new4->sk, new6 ? new6->sk : NULL); in wg_socket_init()
419 void wg_socket_reinit(struct wg_device *wg, struct sock *new4, in wg_socket_reinit() argument
429 rcu_assign_pointer(wg->sock4, new4); in wg_socket_reinit()
431 if (new4) in wg_socket_reinit()
[all …]
Dsocket.h15 void wg_socket_reinit(struct wg_device *wg, struct sock *new4,