Searched refs:saved_netns_fd (Results 1 – 2 of 2) sorted by relevance
507 env.saved_netns_fd = open("/proc/self/ns/net", O_RDONLY); in save_netns()508 if (env.saved_netns_fd == -1) { in save_netns()516 if (setns(env.saved_netns_fd, CLONE_NEWNET) == -1) { in restore_netns()2052 close(env.saved_netns_fd); in main()
128 int saved_netns_fd; member