Lines Matching full:helper
36 * libslirp.so is dlopen()ed into a helper process with which this backend
41 * which sends the packet to the helper process.
72 pid_t helper; member
111 "/usr/libexec/bhyve-slirp-helper", "-S", sockname, NULL in slirp_init()
113 error = posix_spawn(&child, "/usr/libexec/bhyve-slirp-helper", in slirp_init()
117 EPRINTLN("posix_spawn(bhyve-slirp-helper): %s", in slirp_init()
142 priv->helper = child; in slirp_init()
171 if (priv->helper > 0) { in slirp_cleanup()
174 if (kill(priv->helper, SIGKILL) != 0) { in slirp_cleanup()
175 EPRINTLN("kill(bhyve-slirp-helper): %s", in slirp_cleanup()
179 (void)waitpid(priv->helper, &status, 0); in slirp_cleanup()