netstack_testing_common::devices

Function add_pure_ip_interface

Source
pub async fn add_pure_ip_interface(
    network_port: &PortProxy,
    admin_device_control: &DeviceControlProxy,
    interface_name: &str,
) -> ControlProxy
Expand description

Add a pure IP interface to the given device/port, returning the created fuchsia.net.interfaces.admin/Control handle.