Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/bpf/
Dnetwork_helpers.c390 int orig_netns_fd; member
443 token->orig_netns_fd = open("/proc/self/ns/net", O_RDONLY); in open_netns()
444 if (!ASSERT_GE(token->orig_netns_fd, 0, "open /proc/self/ns/net")) in open_netns()
464 ASSERT_OK(setns_by_fd(token->orig_netns_fd), "setns_by_fd"); in close_netns()