Function netstack_testing_common::devices::create_tun_pair_with
source · pub async fn create_tun_pair_with(
dev_pair_config: DevicePairConfig,
dev_pair_port_config: DevicePairPortConfig
) -> (DevicePairProxy, PortProxy, PortProxy)
Expand description
Create a Tun device pair with the provided configurations, returning
handles to the created fuchsia.net.tun/DevicePair
and both underlying
ports.