Searched refs:map_net_error (Results 1 – 1 of 1) sorted by relevance
481 fn map_net_error(s: &str, e: NetError) -> SysError { in handle_get_net_config() function486 let ip_addr = tap.ip_addr().map_err(|e| map_net_error("IP address", e))?; in handle_get_net_config()489 let netmask = tap.netmask().map_err(|e| map_net_error("netmask", e))?; in handle_get_net_config()495 .map_err(|e| map_net_error("mac address", e))? in handle_get_net_config()