Searched refs:new_net (Results 1 – 1 of 1) sorted by relevance
74 int err, new_net; in unshare_net() local81 new_net = open("/proc/self/ns/net", O_RDONLY); in unshare_net()82 if (CHECK_FAIL(new_net < 0)) { in unshare_net()87 return new_net; in unshare_net()633 int err, new_net, saved_net; in test_flow_dissector_reattach() local663 new_net = unshare_net(init_net); in test_flow_dissector_reattach()664 if (new_net < 0) in test_flow_dissector_reattach()666 run_tests(new_net); in test_flow_dissector_reattach()667 close(new_net); in test_flow_dissector_reattach()