Lines Matching refs:system
201 ASSERT_OK(system("ip link delete bond1"), "delete bond1"); in bonding_cleanup()
202 ASSERT_OK(system("ip link delete veth1_1"), "delete veth1_1"); in bonding_cleanup()
203 ASSERT_OK(system("ip link delete veth1_2"), "delete veth1_2"); in bonding_cleanup()
204 ASSERT_OK(system("ip netns delete ns_dst"), "delete ns_dst"); in bonding_cleanup()
386 if (!ASSERT_OK(system("ip link add veth type veth"), "add veth")) in test_xdp_bonding_attach()
388 if (!ASSERT_OK(system("ip link add bond type bond"), "add bond")) in test_xdp_bonding_attach()
403 err = system("ip link set veth master bond"); in test_xdp_bonding_attach()
437 if (!ASSERT_OK(system("ip link add vxlan type vxlan id 1 remote 1.2.3.4 dstport 0 dev lo"), in test_xdp_bonding_attach()
441 err = system("ip link set vxlan master bond"); in test_xdp_bonding_attach()
454 system("ip link del veth"); in test_xdp_bonding_attach()
455 system("ip link del bond"); in test_xdp_bonding_attach()
456 system("ip link del vxlan"); in test_xdp_bonding_attach()
465 if (!ASSERT_OK(system("ip link add bond type bond"), "add bond")) in test_xdp_bonding_nested()
472 if (!ASSERT_OK(system("ip link add bond_nest1 type bond"), "add bond_nest1")) in test_xdp_bonding_nested()
475 err = system("ip link set bond_nest1 master bond"); in test_xdp_bonding_nested()
479 if (!ASSERT_OK(system("ip link add bond_nest2 type bond"), "add bond_nest1")) in test_xdp_bonding_nested()
482 err = system("ip link set bond_nest2 master bond_nest1"); in test_xdp_bonding_nested()
491 system("ip link del bond"); in test_xdp_bonding_nested()
492 system("ip link del bond_nest1"); in test_xdp_bonding_nested()
493 system("ip link del bond_nest2"); in test_xdp_bonding_nested()
502 if (!ASSERT_OK(system("ip link add bond type bond"), "add bond")) in test_xdp_bonding_features()
518 if (!ASSERT_OK(system("ip link add veth0 type veth peer name veth1"), in test_xdp_bonding_features()
522 if (!ASSERT_OK(system("ip link add veth2 type veth peer name veth3"), in test_xdp_bonding_features()
526 if (!ASSERT_OK(system("ip link set veth0 master bond"), in test_xdp_bonding_features()
564 if (!ASSERT_OK(system("ip link set veth2 master bond"), in test_xdp_bonding_features()
581 if (!ASSERT_OK(system("ip link set veth2 nomaster"), in test_xdp_bonding_features()
596 if (!ASSERT_OK(system("ip link set veth0 nomaster"), in test_xdp_bonding_features()
608 system("ip link del veth0"); in test_xdp_bonding_features()
609 system("ip link del veth2"); in test_xdp_bonding_features()
610 system("ip link del bond"); in test_xdp_bonding_features()