etherpkt.cc (11719:e832056deaed) etherpkt.cc (12334:e0ab29a34764)
1/*
2 * Copyright (c) 2004-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;

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

28 * Authors: Nathan Binkert
29 */
30
31#include "dev/net/etherpkt.hh"
32
33#include <iostream>
34
35#include "base/inet.hh"
1/*
2 * Copyright (c) 2004-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;

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

28 * Authors: Nathan Binkert
29 */
30
31#include "dev/net/etherpkt.hh"
32
33#include <iostream>
34
35#include "base/inet.hh"
36#include "base/misc.hh"
36#include "base/logging.hh"
37#include "sim/serialize.hh"
38
39using namespace std;
40
41void
42EthPacketData::serialize(const string &base, CheckpointOut &cp) const
43{
44 paramOut(cp, base + ".simLength", simLength);

--- 30 unchanged lines hidden ---
37#include "sim/serialize.hh"
38
39using namespace std;
40
41void
42EthPacketData::serialize(const string &base, CheckpointOut &cp) const
43{
44 paramOut(cp, base + ".simLength", simLength);

--- 30 unchanged lines hidden ---