Home
last modified time | relevance | path

Searched refs:devmasters (Results 1 – 2 of 2) sorted by relevance

/external/syzkaller/executor/
Dcommon_linux.h264 const char* devmasters[] = {"bridge", "bond", "team"}; in initialize_netdevices() local
275 for (i = 0; i < sizeof(devmasters) / (sizeof(devmasters[0])); i++) { in initialize_netdevices()
276 …nd(0, "ip link add name %s_slave_0 type veth peer name veth0_to_%s", devmasters[i], devmasters[i]); in initialize_netdevices()
277 …nd(0, "ip link add name %s_slave_1 type veth peer name veth1_to_%s", devmasters[i], devmasters[i]); in initialize_netdevices()
278 execute_command(0, "ip link set %s_slave_0 master %s0", devmasters[i], devmasters[i]); in initialize_netdevices()
279 execute_command(0, "ip link set %s_slave_1 master %s0", devmasters[i], devmasters[i]); in initialize_netdevices()
280 execute_command(0, "ip link set veth0_to_%s up", devmasters[i]); in initialize_netdevices()
281 execute_command(0, "ip link set veth1_to_%s up", devmasters[i]); in initialize_netdevices()
/external/syzkaller/pkg/csource/
Dgenerated.go883 const char* devmasters[] = {"bridge", "bond", "team"};
888 for (i = 0; i < sizeof(devmasters) / (sizeof(devmasters[0])); i++) {
889 …nd(0, "ip link add name %s_slave_0 type veth peer name veth0_to_%s", devmasters[i], devmasters[i]);
890 …nd(0, "ip link add name %s_slave_1 type veth peer name veth1_to_%s", devmasters[i], devmasters[i]);
891 execute_command(0, "ip link set %s_slave_0 master %s0", devmasters[i], devmasters[i]);
892 execute_command(0, "ip link set %s_slave_1 master %s0", devmasters[i], devmasters[i]);
893 execute_command(0, "ip link set veth0_to_%s up", devmasters[i]);
894 execute_command(0, "ip link set veth1_to_%s up", devmasters[i]);