pub fn new_endpoint_config(mtu: u16, mac: Option<MacAddress>) -> EndpointConfig
Creates a common netemul endpoint configuration for tests.