Lines Matching refs:SYS
144 #define SYS(fmt, ...) \ in bonding_setup() macro
152 SYS("ip netns add ns_dst"); in bonding_setup()
153 SYS("ip link add veth1_1 type veth peer name veth2_1 netns ns_dst"); in bonding_setup()
154 SYS("ip link add veth1_2 type veth peer name veth2_2 netns ns_dst"); in bonding_setup()
156 SYS("ip link add bond1 type bond mode %s xmit_hash_policy %s", in bonding_setup()
158 SYS("ip link set bond1 up address " BOND1_MAC_STR " addrgenmode none"); in bonding_setup()
159 SYS("ip -netns ns_dst link add bond2 type bond mode %s xmit_hash_policy %s", in bonding_setup()
161 SYS("ip -netns ns_dst link set bond2 up address " BOND2_MAC_STR " addrgenmode none"); in bonding_setup()
163 SYS("ip link set veth1_1 master bond1"); in bonding_setup()
165 SYS("ip link set veth1_2 master bond1"); in bonding_setup()
167 SYS("ip link set veth1_2 up addrgenmode none"); in bonding_setup()
173 SYS("ip -netns ns_dst link set veth2_1 master bond2"); in bonding_setup()
176 SYS("ip -netns ns_dst link set veth2_2 master bond2"); in bonding_setup()
178 SYS("ip -netns ns_dst link set veth2_2 up addrgenmode none"); in bonding_setup()
198 #undef SYS in bonding_setup()