Searched refs:NS_TEST (Results 1 – 5 of 5) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | decap_sanity.c | 12 #define NS_TEST "decap_sanity_ns" macro 31 SYS(fail, "ip netns add %s", NS_TEST); in test_decap_sanity() 32 SYS(fail, "ip -net %s -6 addr add %s/128 dev lo nodad", NS_TEST, IPV6_IFACE_ADDR); in test_decap_sanity() 33 SYS(fail, "ip -net %s link set dev lo up", NS_TEST); in test_decap_sanity() 35 nstoken = open_netns(NS_TEST); in test_decap_sanity() 74 SYS_NOFAIL("ip netns del " NS_TEST); in test_decap_sanity()
|
H A D | crypto_sanity.c | 14 #define NS_TEST "crypto_sanity_ns" macro 99 SYS(fail, "ip netns add %s", NS_TEST); in test_crypto_sanity() 100 SYS(fail, "ip -net %s -6 addr add %s/128 dev lo nodad", NS_TEST, IPV6_IFACE_ADDR); in test_crypto_sanity() 101 SYS(fail, "ip -net %s link set dev lo up", NS_TEST); in test_crypto_sanity() 103 nstoken = open_netns(NS_TEST); in test_crypto_sanity() 194 SYS_NOFAIL("ip netns del " NS_TEST " &> /dev/null"); in test_crypto_sanity()
|
H A D | assign_reuse.c | 12 #define NS_TEST "assign_reuse" macro 178 SYS(out, "ip netns add %s", NS_TEST); in test_assign_reuse() 179 SYS(cleanup, "ip -net %s link set dev lo up", NS_TEST); in test_assign_reuse() 181 tok = open_netns(NS_TEST); in test_assign_reuse() 196 SYS_NOFAIL("ip netns delete %s", NS_TEST); in test_assign_reuse()
|
H A D | mptcp.c | 13 #define NS_TEST "mptcp_ns" macro 69 SYS(fail, "ip netns add %s", NS_TEST); in create_netns() 70 SYS(fail, "ip -net %s link set dev lo up", NS_TEST); in create_netns() 72 return open_netns(NS_TEST); in create_netns() 82 SYS_NOFAIL("ip netns del %s", NS_TEST); in cleanup_netns()
|
H A D | fib_lookup.c | 12 #define NS_TEST "fib_lookup_ns" macro 318 SYS(fail, "ip netns add %s", NS_TEST); in test_fib_lookup() 320 nstoken = open_netns(NS_TEST); in test_fib_lookup() 375 SYS_NOFAIL("ip netns del " NS_TEST); in test_fib_lookup()
|