SST/macro
|
The sdn_router class Router encapsulating the special routing computations that must occur on a fat tree topology. More...
#include <sdn_router.h>
Classes | |
struct | Match_Fields |
Public Types | |
typedef void * | Action |
typedef std::pair< Match_Fields, std::vector< Action > > | Entry |
typedef std::vector< Entry > | SDN_Table |
Public Member Functions | |
virtual | ~sdn_router () |
sdn_router () | |
virtual std::string | to_string () const |
void | add_entry (const int table_id, const Match_Fields &match, const std::vector< Action > &actions) |
void | add_entry (const int table_id, const Entry &entry) |
virtual void | route (packet *pkt) |
Public Member Functions inherited from sstmac::hw::structured_router | |
virtual | ~structured_router () |
virtual void | set_topology (topology *top) |
set_topology Set the topology to be used for route computations. More... | |
virtual void | set_switch (network_switch *sw) |
set_switch Set the parent switch using this router to perform route computations More... | |
void | minimal_route_to_node (node_id node_addr, structured_routable::path &path) |
void | minimal_routes_to_node (node_id node_addr, structured_routable::path ¤t_path, structured_routable::path_set &paths) |
minimal_routes_to_node Special version of routing function that computes all possible minimal paths. More... | |
virtual void | minimal_route_to_switch (switch_id sw_addr, structured_routable::path &path) |
virtual void | productive_paths_to_switch (switch_id dst, structured_routable::path_set &paths) |
Protected Member Functions | |
sdn_router (routing::algorithm_t algo) | |
Protected Member Functions inherited from sstmac::hw::structured_router | |
structured_router (routing::algorithm_t algo) | |
Private Member Functions | |
Match_Fields * | get_packet_metadata (packet *pkt) const |
Private Attributes | |
std::vector< SDN_Table > | tables |
Additional Inherited Members | |
Protected Attributes inherited from sstmac::hw::structured_router | |
structured_topology * | regtop_ |
The sdn_router class Router encapsulating the special routing computations that must occur on a fat tree topology.
Definition at line 28 of file sdn_router.h.
typedef void* sstmac::hw::sdn_router::Action |
Definition at line 56 of file sdn_router.h.
typedef std::pair<Match_Fields, std::vector <Action> > sstmac::hw::sdn_router::Entry |
Definition at line 57 of file sdn_router.h.
typedef std::vector<Entry> sstmac::hw::sdn_router::SDN_Table |
Definition at line 58 of file sdn_router.h.
|
virtual |
|
inline |
Definition at line 34 of file sdn_router.h.
|
inlineprotected |
Definition at line 82 of file sdn_router.h.
void sstmac::hw::sdn_router::add_entry | ( | const int | table_id, |
const Match_Fields & | match, | ||
const std::vector< Action > & | actions | ||
) |
void sstmac::hw::sdn_router::add_entry | ( | const int | table_id, |
const Entry & | entry | ||
) |
|
private |
|
virtual |
|
inlinevirtual |
Definition at line 39 of file sdn_router.h.
|
private |
Definition at line 86 of file sdn_router.h.