gem5 v24.0.0.0
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 - Pranith Kumar Copyright (c) 2020 Inria 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 Tue Jun 18 2024 16:24:08 for gem5 by doxygen 1.11.0