summaryrefslogtreecommitdiff
path: root/dev/etherpkt.cc
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2004-09-22 18:39:37 -0400
committerAli Saidi <saidi@eecs.umich.edu>2004-09-22 18:39:37 -0400
commitac422ac949ac792da48bdd1417dc53d9850943ff (patch)
tree3125919709c79178d540a9223f1b12a522d6461d /dev/etherpkt.cc
parenteb7d32907679c2f19e3bc896a76484f537bc986d (diff)
parentfaece7a35a550d9e2875c1906f32e08456edb004 (diff)
downloadgem5-ac422ac949ac792da48bdd1417dc53d9850943ff.tar.xz
Merge zizzer:/bk/m5 into zeep.eecs.umich.edu:/z/saidi/work/m5-smp
--HG-- extra : convert_revision : 19dc01e1c0d2c0ba6b4d804b902429fb0a6a5552
Diffstat (limited to 'dev/etherpkt.cc')
-rw-r--r--dev/etherpkt.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/dev/etherpkt.cc b/dev/etherpkt.cc
index 9eda89e9d..273b8ee64 100644
--- a/dev/etherpkt.cc
+++ b/dev/etherpkt.cc
@@ -34,17 +34,16 @@
using namespace std;
void
-EtherPacket::serialize(ostream &os)
+PacketData::serialize(ostream &os)
{
SERIALIZE_SCALAR(length);
SERIALIZE_ARRAY(data, length);
}
void
-EtherPacket::unserialize(Checkpoint *cp, const string &section)
+PacketData::unserialize(Checkpoint *cp, const string &section)
{
UNSERIALIZE_SCALAR(length);
data = new uint8_t[length];
UNSERIALIZE_ARRAY(data, length);
}
-