/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | cgroup_storage.c | 23 SYS_NOFAIL("ip netns del %s", TEST_NS); in setup_network() 31 SYS_NOFAIL("ip netns del %s", TEST_NS); in cleanup_network() 60 err = SYS_NOFAIL(PING_CMD); in test_cgroup_storage() 62 err = SYS_NOFAIL(PING_CMD); in test_cgroup_storage() 64 err = SYS_NOFAIL(PING_CMD); in test_cgroup_storage() 82 err = SYS_NOFAIL(PING_CMD); in test_cgroup_storage() 84 err = SYS_NOFAIL(PING_CMD); in test_cgroup_storage() 86 err = SYS_NOFAIL(PING_CMD); in test_cgroup_storage()
|
H A D | test_tunnel.c | 120 SYS_NOFAIL("test -f /var/run/netns/at_ns0 && ip netns delete at_ns0"); in cleanup() 121 SYS_NOFAIL("ip link del veth1"); in cleanup() 122 SYS_NOFAIL("ip link del %s", VXLAN_TUNL_DEV1); in cleanup() 123 SYS_NOFAIL("ip link del %s", IP6VXLAN_TUNL_DEV1); in cleanup() 155 SYS_NOFAIL("ip netns exec at_ns0 ip link delete dev %s", in delete_vxlan_tunnel() 157 SYS_NOFAIL("ip link delete dev %s", VXLAN_TUNL_DEV1); in delete_vxlan_tunnel() 191 SYS_NOFAIL("ip netns exec at_ns0 ip -6 addr delete %s/96 dev veth0", in delete_ip6vxlan_tunnel() 193 SYS_NOFAIL("ip -6 addr delete %s/96 dev veth1", IP6_ADDR1_VETH1); in delete_ip6vxlan_tunnel() 194 SYS_NOFAIL("ip -6 addr delete %s/96 dev veth1", IP6_ADDR2_VETH1); in delete_ip6vxlan_tunnel() 195 SYS_NOFAIL("ip netns exec at_ns0 ip link delete dev %s", in delete_ip6vxlan_tunnel() [all …]
|
H A D | xdp_flowtable.c | 72 if (SYS_NOFAIL("nft -v")) { in test_xdp_flowtable() 166 SYS_NOFAIL("ip netns del " TX_NETNS_NAME); in test_xdp_flowtable() 167 SYS_NOFAIL("ip netns del " RX_NETNS_NAME); in test_xdp_flowtable()
|
H A D | ip_check_defrag.c | 62 up = !SYS_NOFAIL("ip netns exec " NS0 " ping -6 -c 1 -W 1 " VETH1_ADDR6); in setup_topology() 64 up = !SYS_NOFAIL("ip netns exec " NS0 " ping -c 1 -W 1 " VETH1_ADDR); in setup_topology() 77 SYS_NOFAIL("test -f /var/run/netns/" NS0 " && ip netns delete " NS0); in cleanup_topology() 78 SYS_NOFAIL("test -f /var/run/netns/" NS1 " && ip netns delete " NS1); in cleanup_topology()
|
H A D | sock_iter_batch.c | 115 SYS_NOFAIL("ip netns del " TEST_NS); in test_sock_iter_batch() 134 SYS_NOFAIL("ip netns del " TEST_NS); in test_sock_iter_batch()
|
H A D | xfrm_info.c | 107 SYS_NOFAIL("test -f /var/run/netns/" NS0 " && ip netns delete " NS0); in cleanup() 108 SYS_NOFAIL("test -f /var/run/netns/" NS1 " && ip netns delete " NS1); in cleanup() 109 SYS_NOFAIL("test -f /var/run/netns/" NS2 " && ip netns delete " NS2); in cleanup()
|
H A D | cgroup_ancestor.c | 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 | xdp_synproxy.c | 168 SYS_NOFAIL("ip link del tmp0"); in test_synproxy() 169 SYS_NOFAIL("ip netns del synproxy"); in test_synproxy()
|
H A D | test_xdp_veth.c | 172 SYS_NOFAIL("ip netns del %s", config[i].namespace); in cleanup_network() 180 return SYS_NOFAIL("ip netns exec %s ping -c 1 -W 1 %s > /dev/null", in check_ping()
|
H A D | vrf_socket_lookup.c | 137 SYS_NOFAIL("test -f /var/run/netns/" NS0 " && ip netns delete " in cleanup() 139 SYS_NOFAIL("test -f /var/run/netns/" NS1 " && ip netns delete " in cleanup()
|
H A D | xdp_devmap_attach.c | 95 SYS_NOFAIL("ip netns del %s", TEST_NS); in test_xdp_with_devmap_helpers() 229 SYS_NOFAIL("ip netns del %s", TEST_NS); in test_xdp_with_devmap_helpers_veth()
|
H A D | xdp_dev_bound_only.c | 60 SYS_NOFAIL("ip netns del " LOCAL_NETNS); in test_xdp_dev_bound_only_offdev()
|
H A D | decap_sanity.c | 74 SYS_NOFAIL("ip netns del " NS_TEST); in test_decap_sanity()
|
H A D | empty_skb.c | 150 SYS_NOFAIL("ip netns del empty_skb"); in test_empty_skb()
|
H A D | lwt_reroute.c | 68 SYS_NOFAIL("ping %s -c1 -W1 -s %d", in ping_once()
|
H A D | sock_destroy.c | 217 SYS_NOFAIL("ip netns del " TEST_NS); in test_sock_destroy()
|
H A D | lwt_redirect.c | 88 SYS_NOFAIL("ping %s -c1 -W1 -s %d", in ping_dev()
|
H A D | xdp_metadata.c | 540 SYS_NOFAIL("ip netns del " RX_NETNS_NAME); in test_xdp_metadata() 541 SYS_NOFAIL("ip netns del " TX_NETNS_NAME); in test_xdp_metadata()
|
H A D | xdp_do_redirect.c | 246 SYS_NOFAIL("ip netns del testns"); in test_xdp_do_redirect()
|
H A D | assign_reuse.c | 196 SYS_NOFAIL("ip netns delete %s", NS_TEST); in test_assign_reuse()
|
H A D | ns_current_pid_tgid.c | 219 SYS_NOFAIL("ip netns del ns_current_pid_tgid"); in test_in_netns()
|
H A D | crypto_sanity.c | 194 SYS_NOFAIL("ip netns del " NS_TEST " &> /dev/null"); in test_crypto_sanity()
|
H A D | mptcp.c | 82 SYS_NOFAIL("ip netns del %s", NS_TEST); in cleanup_netns()
|
H A D | fib_lookup.c | 375 SYS_NOFAIL("ip netns del " NS_TEST); in test_fib_lookup()
|
/linux/tools/testing/selftests/bpf/ |
H A D | test_progs.h | 403 #define SYS_NOFAIL(fmt, ...) \ macro
|