Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector_reattach.c74 int err, new_net; in unshare_net() local
81 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() local
663 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()