notify the transmitter when the packet has finished transmitting.
authorNathan Binkert <binkertn@umich.edu>
Fri, 23 Jul 2004 04:05:29 +0000 (00:05 -0400)
committerNathan Binkert <binkertn@umich.edu>
Fri, 23 Jul 2004 04:05:29 +0000 (00:05 -0400)
--HG--
extra : convert_revision : 66f6f80945c1f621cdc3e743f601d2a73361bacd

dev/etherlink.hh

index 4f227fac5cf9ceea66ba0f5569638a0df7337d3e..204348c6d2ad3bcd622dfb9e7a086d7710b1903d 100644 (file)
@@ -105,7 +105,7 @@ class EtherLink : public SimObject
       public:
         Interface(const std::string &name, Link *txlink, Link *rxlink);
         bool recvPacket(PacketPtr &packet) { return txlink->transmit(packet); }
-        void sendDone() { }
+        void sendDone() { peer->sendDone(); }
     };
 
     Link *link1;