etherdump.cc (11359:b0b976a1ceda) etherdump.cc (12334:e0ab29a34764)
1/*
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 24 unchanged lines hidden (view full) ---

33 */
34#include "dev/net/etherdump.hh"
35
36#include <sys/time.h>
37
38#include <algorithm>
39#include <string>
40
1/*
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 24 unchanged lines hidden (view full) ---

33 */
34#include "dev/net/etherdump.hh"
35
36#include <sys/time.h>
37
38#include <algorithm>
39#include <string>
40
41#include "base/misc.hh"
41#include "base/logging.hh"
42#include "base/output.hh"
43#include "sim/core.hh"
44
45using std::string;
46
47EtherDump::EtherDump(const Params *p)
48 : SimObject(p), stream(simout.create(p->file, true)->stream()),
49 maxlen(p->maxlen)

--- 61 unchanged lines hidden ---
42#include "base/output.hh"
43#include "sim/core.hh"
44
45using std::string;
46
47EtherDump::EtherDump(const Params *p)
48 : SimObject(p), stream(simout.create(p->file, true)->stream()),
49 maxlen(p->maxlen)

--- 61 unchanged lines hidden ---