The manual
ginnOS
The reference: libc, the libraries and the kernel
Loading...
Searching...
No Matches
virtio_net.h
Go to the documentation of this file.
1#pragma once
2
3/**
4 * @file virtio_net.h
5 * @brief the virtio network device (virtio 1.0, section 5.1).
6 */
7
8#include "common/stdint.h"
9
10/**
11 * find a virtio network device, set it up and register it as eth0.
12 * @return false if there is none or it cannot be set up.
13 */
14bool virtio_net_init(void);
bool virtio_net_init(void)
find a virtio network device, set it up and register it as eth0.
Definition virtio_net.c:160