Searched refs:testvnic0 (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/test/os-tests/tests/spoof-ras/ |
H A D | spoof-ras.c | 468 spoof_network_teardown(char *testether, char *testvnic0, char *testvnic1) in spoof_network_teardown() argument 475 (void) IFCONFIG(testvnic0, "inet6", "unplumb"); in spoof_network_teardown() 476 (void) DLADM("delete-vnic", testvnic0); in spoof_network_teardown() 483 spoof_network_setup(char *testether, char *testvnic0, char *testvnic1) in spoof_network_setup() argument 492 if (DLADM("create-vnic", "-t", "-l", testether, testvnic0) != 0) { in spoof_network_setup() 497 if (IFCONFIG(testvnic0, "inet6", "plumb", "up") != 0) { in spoof_network_setup() 633 char testvnic0[LIFNAMSIZ]; in main() local 648 (void) snprintf(testvnic0, sizeof (testvnic0), "testvnic%d_0", curpid); in main() 651 if (spoof_network_setup(testether, testvnic0, testvnic1) != 0) { in main() 657 if (spoof_get_lla(s, testvnic0, &addr, &llar) != 0) { in main() [all …]
|