projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Macros are nasty, so let's get rid of them. Convert all
[gem5.git]
/
dev
/
ethertap.hh
diff --git
a/dev/ethertap.hh
b/dev/ethertap.hh
index e2b1f640fb57b35b40f00fd0fe7ddf4e8b67580e..9c77a4a4faad7b3942d95776e230d0eec9abac22 100644
(file)
--- a/
dev/ethertap.hh
+++ b/
dev/ethertap.hh
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 2003 The Regents of The University of Michigan
+ * Copyright (c) 2003
-2004
The Regents of The University of Michigan
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@
-70,7
+70,7
@@
class EtherTap : public EtherInt
std::queue<PacketPtr> packetBuffer;
void process(int revent);
std::queue<PacketPtr> packetBuffer;
void process(int revent);
- void enqueue(
EtherPacket
*packet);
+ void enqueue(
PacketData
*packet);
void retransmit();
/*
void retransmit();
/*
@@
-94,7
+94,7
@@
class EtherTap : public EtherInt
EtherTap(const std::string &name, EtherDump *dump, int port, int bufsz);
virtual ~EtherTap();
EtherTap(const std::string &name, EtherDump *dump, int port, int bufsz);
virtual ~EtherTap();
- virtual bool recvPacket(PacketPtr packet);
+ virtual bool recvPacket(PacketPtr
&
packet);
virtual void sendDone();
virtual void serialize(std::ostream &os);
virtual void sendDone();
virtual void serialize(std::ostream &os);