summaryrefslogtreecommitdiff
path: root/dev/etherpkt.hh
diff options
context:
space:
mode:
Diffstat (limited to 'dev/etherpkt.hh')
-rw-r--r--dev/etherpkt.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev/etherpkt.hh b/dev/etherpkt.hh
index 030f51317..c91322526 100644
--- a/dev/etherpkt.hh
+++ b/dev/etherpkt.hh
@@ -39,7 +39,7 @@
#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;