Searched refs:setup_script (Results 1 – 2 of 2) sorted by relevance
/external/qemu/ |
D | net.c | 1032 static int launch_script(const char *setup_script, const char *ifname, int fd); 1331 static int launch_script(const char *setup_script, const char *ifname, int fd) in launch_script() argument 1356 *parg++ = (char *)setup_script; in launch_script() 1359 execv(setup_script, args); in launch_script() 1371 fprintf(stderr, "%s: could not launch network script\n", setup_script); in launch_script() 1377 const char *setup_script, const char *down_script) in net_tap_init() argument 1391 if (!setup_script || !strcmp(setup_script, "no")) in net_tap_init() 1392 setup_script = ""; in net_tap_init() 1393 if (setup_script[0] != '\0') { in net_tap_init() 1394 if (launch_script(setup_script, ifname, fd)) in net_tap_init() [all …]
|
D | net-android.c | 1160 static int launch_script(const char *setup_script, const char *ifname, int fd); 1459 static int launch_script(const char *setup_script, const char *ifname, int fd) in launch_script() argument 1484 *parg++ = (char *)setup_script; in launch_script() 1487 execv(setup_script, args); in launch_script() 1499 fprintf(stderr, "%s: could not launch network script\n", setup_script); in launch_script() 1505 const char *setup_script, const char *down_script) in net_tap_init() argument 1519 if (!setup_script || !strcmp(setup_script, "no")) in net_tap_init() 1520 setup_script = ""; in net_tap_init() 1521 if (setup_script[0] != '\0') { in net_tap_init() 1522 if (launch_script(setup_script, ifname, fd)) in net_tap_init() [all …]
|