#define __ETHERDUMP_H__
#include <fstream>
+
#include "dev/etherpkt.hh"
-#include "sim/sim_object.hh"
#include "params/EtherDump.hh"
+#include "sim/sim_object.hh"
/*
* Simple object for creating a simple pcap style packet trace
{
private:
std::ostream *stream;
- const int maxlen;
+ const unsigned maxlen;
void dumpPacket(EthPacketPtr &packet);
void init();