netstack_testing_common::devices

Function create_ip_tun_port

Source
pub async fn create_ip_tun_port(
    tun_device: &DeviceProxy,
    id: u8,
) -> (PortProxy, PortProxy)
Expand description

Creates a port on the given Tun device that supports IPv4 and IPv6 frame types.