Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/netdevsim/
Dudp_tunnels.c18 ret = -ns->udp_ports.inject_error; in nsim_udp_tunnel_set_port()
19 ns->udp_ports.inject_error = 0; in nsim_udp_tunnel_set_port()
21 if (ns->udp_ports.sleep) in nsim_udp_tunnel_set_port()
22 msleep(ns->udp_ports.sleep); in nsim_udp_tunnel_set_port()
25 if (ns->udp_ports.ports[table][entry]) { in nsim_udp_tunnel_set_port()
29 ns->udp_ports.ports[table][entry] = in nsim_udp_tunnel_set_port()
47 ret = -ns->udp_ports.inject_error; in nsim_udp_tunnel_unset_port()
48 ns->udp_ports.inject_error = 0; in nsim_udp_tunnel_unset_port()
50 if (ns->udp_ports.sleep) in nsim_udp_tunnel_unset_port()
51 msleep(ns->udp_ports.sleep); in nsim_udp_tunnel_unset_port()
[all …]
Dnetdevsim.h91 } udp_ports; member
223 } udp_ports; member