Re-exportsΒ§
pub use pci_hotplug::NetPciHotplugResourceCarrier;pub use vhost_user::run_net_device;pub use vhost_user::NetBackend;pub use vhost_user::Options as NetOptions;
ModulesΒ§
StructsΒ§
- Net
- NetParameters
- NetSnapshot π
- Pending
Buffer - Vhost
NetParameters - Virtio
NetConfig - Worker π
- virtio_
net_ ctrl_ hdr
EnumsΒ§
ConstantsΒ§
- QUEUE_
SIZE π
StaticsΒ§
FunctionsΒ§
- build_
config - create_
tap_ for_ net_ device - process_
ctrl - process_
ctrl_ πrequest - process_
mrg_ rx - If avail_feature has mrg_rxbuf, use this function to process rx flow.
- process_
rx - process_
tx - validate_
and_ configure_ tap - vhost_
net_ πdevice_ path_ default - virtio_
features_ to_ tap_ offload - Converts virtio-net feature bits to tapβs offload bits.