NetworkTopology::RouterContext::RouterContext(NetworkTopology& network) : request_interface(network, mac_address), runtime(network.now), router(runtime, network.get_mib()) { router.set_access_interface(&request_interface); }
NetworkTopology::RouterContext::RouterContext(NetworkTopology& network) : request_interface(network, mac_address), router(network.get_mib(), request_interface) { }