Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/bpf/
Dnetwork_helpers.c390 int orig_netns_fd; member
447 token->orig_netns_fd = open("/proc/self/ns/net", O_RDONLY); in open_netns()
448 if (!ASSERT_GE(token->orig_netns_fd, 0, "open /proc/self/ns/net")) in open_netns()
468 ASSERT_OK(setns_by_fd(token->orig_netns_fd), "setns_by_fd"); in close_netns()