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; --- 71 unchanged lines hidden (view full) --- 80 void print(std::ostream& out) const; 81 82 private: 83 // Private copy constructor and assignment operator 84 PerfectSwitch(const PerfectSwitch& obj); 85 PerfectSwitch& operator=(const PerfectSwitch& obj); 86 87 void operateVnet(int vnet); |
88 void operateMessageBuffer(MessageBuffer *b, int incoming, int vnet); |
89 90 const SwitchID m_switch_id; 91 Switch * const m_switch; 92 93 // vector of queues from the components 94 std::vector<std::vector<MessageBuffer*> > m_in; 95 std::vector<std::vector<MessageBuffer*> > m_out; 96 --- 20 unchanged lines hidden --- |