Searched refs:saved_netns_fd (Results 1 – 2 of 2) sorted by relevance
344 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()
120 int saved_netns_fd; member