Network.hh (11113:5a2e1b1b5c43) Network.hh (11663:cf870cd20cfc)
1/*
2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 66 unchanged lines hidden (view full) ---

75 void setToNetQueue(NodeID id, bool ordered, int netNumber,
76 std::string vnet_type, MessageBuffer *b);
77 virtual void setFromNetQueue(NodeID id, bool ordered, int netNumber,
78 std::string vnet_type, MessageBuffer *b);
79
80 virtual void checkNetworkAllocation(NodeID id, bool ordered,
81 int network_num, std::string vnet_type);
82
1/*
2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 66 unchanged lines hidden (view full) ---

75 void setToNetQueue(NodeID id, bool ordered, int netNumber,
76 std::string vnet_type, MessageBuffer *b);
77 virtual void setFromNetQueue(NodeID id, bool ordered, int netNumber,
78 std::string vnet_type, MessageBuffer *b);
79
80 virtual void checkNetworkAllocation(NodeID id, bool ordered,
81 int network_num, std::string vnet_type);
82
83 virtual void makeOutLink(SwitchID src, NodeID dest, BasicLink* link,
84 LinkDirection direction,
83 virtual void makeExtOutLink(SwitchID src, NodeID dest, BasicLink* link,
85 const NetDest& routing_table_entry) = 0;
84 const NetDest& routing_table_entry) = 0;
86 virtual void makeInLink(NodeID src, SwitchID dest, BasicLink* link,
87 LinkDirection direction,
85 virtual void makeExtInLink(NodeID src, SwitchID dest, BasicLink* link,
88 const NetDest& routing_table_entry) = 0;
89 virtual void makeInternalLink(SwitchID src, SwitchID dest, BasicLink* link,
86 const NetDest& routing_table_entry) = 0;
87 virtual void makeInternalLink(SwitchID src, SwitchID dest, BasicLink* link,
90 LinkDirection direction,
91 const NetDest& routing_table_entry) = 0;
92
93 virtual void collateStats() = 0;
94 virtual void print(std::ostream& out) const = 0;
95
96 /*
97 * Virtual functions for functionally reading and writing packets in
98 * the network. Each network needs to implement these for functional

--- 53 unchanged lines hidden ---
88 const NetDest& routing_table_entry) = 0;
89
90 virtual void collateStats() = 0;
91 virtual void print(std::ostream& out) const = 0;
92
93 /*
94 * Virtual functions for functionally reading and writing packets in
95 * the network. Each network needs to implement these for functional

--- 53 unchanged lines hidden ---