Searched refs:NET_FD_TUN (Results 1 – 1 of 1) sorted by relevance
263 #define NET_FD_TUN 1 macro556 net_poll[NET_FD_TUN].fd = mic->mic_net.tap_fd; in virtio_net()557 net_poll[NET_FD_TUN].events = POLLIN; in virtio_net()574 net_poll[NET_FD_TUN].revents = 0; in virtio_net()597 if (net_poll[NET_FD_TUN].revents & POLLIN) { in virtio_net()599 len = readv(net_poll[NET_FD_TUN].fd, in virtio_net()691 len = writev(net_poll[NET_FD_TUN].fd, in virtio_net()