Renamed OpClass enum members: they all end in 'Op' now.
[gem5.git] / dev / etherpkt.hh
index 030f51317432a4d9f5278959c1ddcc35c24f672c..27ac526d693f5d9a534ce15f6c89ae9617c64043 100644 (file)
 #ifndef __ETHERPKT_HH__
 #define __ETHERPKT_HH__
 
+#include <iosfwd>
 #include <memory>
 
 #include "sim/host.hh"
-
 #include "base/refcnt.hh"
 
-class IniFile;
+class Checkpoint;
 
 /*
  * Reference counted class containing ethernet packet data
@@ -61,8 +61,8 @@ class EtherPacket : public RefCounted
     bool IsMulticast() { return data[0] == 0x01; }
     bool IsBroadcast() { return data[0] == 0xff; }
 
-    virtual void serialize(std::ostream &os);
-    virtual void unserialize(const IniFile *db, const std::string &section);
+    void serialize(std::ostream &os);
+    void unserialize(Checkpoint *cp, const std::string &section);
 };
 
 typedef RefCountingPtr<EtherPacket> PacketPtr;