Searched refs:TEST_NS (Results 1 – 6 of 6) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | cgroup_storage.c | 9 #define TEST_NS "cgroup_storage_ns" macro 14 SYS(fail, "ip netns add %s", TEST_NS); in setup_network() 15 *token = open_netns(TEST_NS); in setup_network() 23 SYS_NOFAIL("ip netns del %s", TEST_NS); in setup_network() 31 SYS_NOFAIL("ip netns del %s", TEST_NS); in cleanup_network()
|
H A D | sock_iter_batch.c | 8 #define TEST_NS "sock_iter_batch_netns" macro 115 SYS_NOFAIL("ip netns del " TEST_NS); in test_sock_iter_batch() 116 SYS(done, "ip netns add %s", TEST_NS); in test_sock_iter_batch() 117 SYS(done, "ip -net %s link set dev lo up", TEST_NS); in test_sock_iter_batch() 119 nstoken = open_netns(TEST_NS); in test_sock_iter_batch() 134 SYS_NOFAIL("ip netns del " TEST_NS); in test_sock_iter_batch()
|
H A D | xdp_devmap_attach.c | 14 #define TEST_NS "devmap_attach_ns" macro 29 SYS(out_close, "ip netns add %s", TEST_NS); in test_xdp_with_devmap_helpers() 30 nstoken = open_netns(TEST_NS); in test_xdp_with_devmap_helpers() 95 SYS_NOFAIL("ip netns del %s", TEST_NS); in test_xdp_with_devmap_helpers() 164 SYS(out_close, "ip netns add %s", TEST_NS); in test_xdp_with_devmap_helpers_veth() 165 nstoken = open_netns(TEST_NS); in test_xdp_with_devmap_helpers_veth() 229 SYS_NOFAIL("ip netns del %s", TEST_NS); in test_xdp_with_devmap_helpers_veth()
|
H A D | cgroup_ancestor.c | 9 #define TEST_NS "cgroup_ancestor_ns" macro 51 SYS(fail, "ip netns add %s", TEST_NS); in setup_network() 52 t->ns = open_netns(TEST_NS); in setup_network() 80 SYS_NOFAIL("ip netns del %s", TEST_NS); in setup_network() 90 SYS_NOFAIL("ip netns del %s", TEST_NS); in cleanup_network()
|
H A D | sock_destroy.c | 9 #define TEST_NS "sock_destroy_netns" macro 196 SYS(cleanup, "ip netns add %s", TEST_NS); in test_sock_destroy() 197 SYS(cleanup, "ip -net %s link set dev lo up", TEST_NS); in test_sock_destroy() 199 nstoken = open_netns(TEST_NS); in test_sock_destroy() 217 SYS_NOFAIL("ip netns del " TEST_NS); in test_sock_destroy()
|
H A D | sock_addr.c | 30 #define TEST_NS "sock_addr" macro 2562 SYS_NOFAIL("ip netns delete %s", TEST_NS); in setup_test_env() 2563 SYS(fail, "ip netns add %s", TEST_NS); in setup_test_env() 2564 *tok = open_netns(TEST_NS); in setup_test_env() 2582 SYS_NOFAIL("ip netns delete %s", TEST_NS); in setup_test_env() 2590 SYS_NOFAIL("ip netns delete %s", TEST_NS); in cleanup_test_env()
|