Lines Matching refs:vmc
1010 struct VMChannel *vmc = (struct VMChannel*)opaque;
1011 return slirp_socket_can_recv(4, vmc->port);
1016 struct VMChannel *vmc = (struct VMChannel*)opaque;
1017 slirp_socket_recv(4, vmc->port, buf, size);
2187 struct VMChannel *vmc;
2196 vmc = malloc(sizeof(struct VMChannel));
2198 vmc->hd = qemu_chr_open(name, devname, NULL);
2199 if (!vmc->hd) {
2205 vmc->port = port;
2206 slirp_add_exec(3, vmc->hd, 4, port);
2207 qemu_chr_add_handlers(vmc->hd, vmchannel_can_read, vmchannel_read,
2208 NULL, vmc);