Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/bpf/
Dtest_progs.c344 env.saved_netns_fd = open("/proc/self/ns/net", O_RDONLY); in save_netns()
345 if (env.saved_netns_fd == -1) { in save_netns()
353 if (setns(env.saved_netns_fd, CLONE_NEWNET) == -1) { in restore_netns()
1710 close(env.saved_netns_fd); in main()
Dtest_progs.h120 int saved_netns_fd; member