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 makeExtOutLink(SwitchID src, NodeID dest, BasicLink* link, |
84 const NetDest& routing_table_entry) = 0; |
85 virtual void makeExtInLink(NodeID src, SwitchID dest, BasicLink* link, |
86 const NetDest& routing_table_entry) = 0; 87 virtual void makeInternalLink(SwitchID src, SwitchID dest, BasicLink* link, |
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 --- |