Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/tcp_ao/lib/
H A Dsetup.c153 static int nsfd_parent = -1; variable
160 nsfd_parent = unshare_open_netns(); in init_namespaces()
255 test_init_ftrace(nsfd_parent, nsfd_child); in __test_init()
257 if (add_veth(veth_name, nsfd_parent, nsfd_child)) in __test_init()
273 switch_ns(nsfd_parent); in __test_init()
/linux/tools/testing/selftests/net/
H A Dipsec.c63 static int nsfd_parent = -1; variable
172 nsfd_parent = unshare_open(); in init_namespaces()
173 if (nsfd_parent <= 0) in init_namespaces()
180 if (switch_ns(nsfd_parent)) in init_namespaces()
187 if (switch_ns(nsfd_parent)) in init_namespaces()
1972 return switch_ns(nsfd_parent); in start_child()