pub struct VirtIONet<'a> { /* private fields */ }
Expand description

The virtio network device is a virtual ethernet card.

It has enhanced rapidly and demonstrates clearly how support for new features are added to an existing device. Empty buffers are placed in one virtqueue for receiving packets, and outgoing packets are enqueued into another for transmission in that order. A third command queue is used to control advanced filtering features.

Implementations

Create a new VirtIO-Net driver.

Acknowledge interrupt.

Get MAC address.

Whether can send packet.

Whether can receive packet.

Receive a packet.

Send a packet.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.