gem5 v25.0.0.1
Loading...
Searching...
No Matches
etherdump.cc File Reference
#include "dev/net/etherdump.hh"
#include <sys/time.h>
#include <algorithm>
#include <string>
#include "base/logging.hh"
#include "base/output.hh"
#include "sim/core.hh"
#include "sim/cur_tick.hh"

Go to the source code of this file.

Classes

struct  gem5::pcap_file_header
struct  gem5::pcap_pkthdr

Namespaces

namespace  gem5
 Copyright (c) 2024 Arm Limited All rights reserved.

Macros

#define DLT_EN10MB   1
#define TCPDUMP_MAGIC   0xa1b2c3d4
#define PCAP_VERSION_MAJOR   2
#define PCAP_VERSION_MINOR   4

Macro Definition Documentation

◆ DLT_EN10MB

#define DLT_EN10MB   1

Definition at line 55 of file etherdump.cc.

Referenced by gem5::EtherDump::init().

◆ PCAP_VERSION_MAJOR

#define PCAP_VERSION_MAJOR   2

Definition at line 57 of file etherdump.cc.

Referenced by gem5::EtherDump::init().

◆ PCAP_VERSION_MINOR

#define PCAP_VERSION_MINOR   4

Definition at line 58 of file etherdump.cc.

Referenced by gem5::EtherDump::init().

◆ TCPDUMP_MAGIC

#define TCPDUMP_MAGIC   0xa1b2c3d4

Definition at line 56 of file etherdump.cc.

Referenced by gem5::EtherDump::init().


Generated on Sat Oct 18 2025 08:06:47 for gem5 by doxygen 1.14.0