1 /* Copyright (c) 2013-2016. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
6 #ifndef KERNEL_ROUTING_BYPASSROUTE_HPP_
7 #define KERNEL_ROUTING_BYPASSROUTE_HPP_
10 #include <xbt/signal.hpp>
12 #include "src/kernel/routing/NetCard.hpp"
20 explicit BypassRoute(NetCard* gwSrc, NetCard* gwDst) : gw_src(gwSrc), gw_dst(gwDst) {}
21 const NetCard* gw_src;
22 const NetCard* gw_dst;
23 std::vector<Link*> links;
29 #endif /* KERNEL_ROUTING_BYPASSROUTE_HPP_ */