Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dxdp_bonding.c32 static int root_netns_fd = -1; variable
36 ASSERT_OK(setns(root_netns_fd, CLONE_NEWNET), "restore_root_netns"); in restore_root_netns()
534 root_netns_fd = open("/proc/self/ns/net", O_RDONLY); in serial_test_xdp_bonding()
535 if (!ASSERT_GE(root_netns_fd, 0, "open /proc/self/ns/net")) in serial_test_xdp_bonding()
576 if (root_netns_fd >= 0) in serial_test_xdp_bonding()
577 close(root_netns_fd); in serial_test_xdp_bonding()