The manual
ginnOS
The reference: libc, the libraries and the kernel
Loading...
Searching...
No Matches
virtio_net.h File Reference

the virtio network device (virtio 1.0, section 5.1). More...

#include "common/stdint.h"

Go to the source code of this file.

Functions

bool virtio_net_init (void)
 find a virtio network device, set it up and register it as eth0.

Detailed Description

the virtio network device (virtio 1.0, section 5.1).

Function Documentation

◆ virtio_net_init()

bool virtio_net_init ( void )

find a virtio network device, set it up and register it as eth0.

Returns
false if there is none or it cannot be set up.