Home
last modified time | relevance | path

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

/lk-master/dev/virtio/net/
A Dvirtio-net.c99 static struct virtio_net_dev *the_ndev; variable
161 the_ndev = ndev; in virtio_net_init()
167 if (the_ndev->started) in virtio_net_start()
170 the_ndev->started = true; in virtio_net_start()
173 …thread_resume(thread_create("virtio_net_rx", &virtio_net_rx_worker, (void *)the_ndev, HIGH_PRIORIT… in virtio_net_start()
179 virtio_net_queue_rx(the_ndev, p); in virtio_net_start()
417 return the_ndev ? 1 : 0; in virtio_net_found()
421 if (!the_ndev) in virtio_net_get_mac_addr()
424 memcpy(mac_addr, the_ndev->config->mac, 6); in virtio_net_get_mac_addr()
442 status_t err = virtio_net_queue_tx_pktbuf(the_ndev, p); in virtio_net_send_minip_pkt()

Completed in 4 milliseconds