etherswitch.hh (11533:2aa4d7bd47ec) | etherswitch.hh (12087:0e082672ac6b) |
---|---|
1/* 2 * Copyright (c) 2014 The Regents of The University of Michigan 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; --- 158 unchanged lines hidden (view full) --- 167 void serialize(CheckpointOut &cp) const; 168 void unserialize(CheckpointIn &cp); 169 }; 170 /** 171 * output fifo at each interface 172 */ 173 PortFifo outputFifo; 174 void transmit(); | 1/* 2 * Copyright (c) 2014 The Regents of The University of Michigan 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; --- 158 unchanged lines hidden (view full) --- 167 void serialize(CheckpointOut &cp) const; 168 void unserialize(CheckpointIn &cp); 169 }; 170 /** 171 * output fifo at each interface 172 */ 173 PortFifo outputFifo; 174 void transmit(); |
175 EventWrapper<Interface, &Interface::transmit> txEvent; | 175 EventFunctionWrapper txEvent; |
176 }; 177 178 struct SwitchTableEntry { 179 Interface *interface; 180 Tick lastUseTime; 181 }; 182 183 private: --- 12 unchanged lines hidden --- | 176 }; 177 178 struct SwitchTableEntry { 179 Interface *interface; 180 Tick lastUseTime; 181 }; 182 183 private: --- 12 unchanged lines hidden --- |