Function crosvm_direct::crosvm::sys::unix::device_helpers::create_tap_net_device_from_name
source · [−]pub fn create_tap_net_device_from_name(
protection_type: ProtectionType,
jail_config: &Option<JailConfig>,
vq_pairs: u16,
vcpu_count: usize,
tap_name: &[u8]
) -> Result<VirtioDeviceStub>
Expand description
Returns a network device created by opening the persistent, configured TAP interface tap_name
.