Home
last modified time | relevance | path

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

/illumos-gate/usr/src/test/os-tests/tests/spoof-ras/
H A Dspoof-ras.c468 spoof_network_teardown(char *testether, char *testvnic0, char *testvnic1) in spoof_network_teardown() argument
479 (void) DLADM("delete-etherstub", testether); in spoof_network_teardown()
483 spoof_network_setup(char *testether, char *testvnic0, char *testvnic1) in spoof_network_setup() argument
486 if (DLADM("create-etherstub", "-t", testether) != 0) { in spoof_network_setup()
492 if (DLADM("create-vnic", "-t", "-l", testether, testvnic0) != 0) { in spoof_network_setup()
503 if (DLADM("create-vnic", "-t", "-l", testether, in spoof_network_setup()
632 char testether[LIFNAMSIZ]; in main() local
647 (void) snprintf(testether, sizeof (testether), "testether%d", curpid); in main()
651 if (spoof_network_setup(testether, testvnic0, testvnic1) != 0) { in main()
682 spoof_network_teardown(testether, testvnic0, testvnic1); in main()