gem5  v19.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Macros
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"

Go to the source code of this file.

Classes

struct  pcap_file_header
 
struct  pcap_pkthdr
 

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 53 of file etherdump.cc.

Referenced by EtherDump::init().

◆ PCAP_VERSION_MAJOR

#define PCAP_VERSION_MAJOR   2

Definition at line 55 of file etherdump.cc.

Referenced by EtherDump::init().

◆ PCAP_VERSION_MINOR

#define PCAP_VERSION_MINOR   4

Definition at line 56 of file etherdump.cc.

Referenced by EtherDump::init().

◆ TCPDUMP_MAGIC

#define TCPDUMP_MAGIC   0xa1b2c3d4

Definition at line 54 of file etherdump.cc.

Referenced by EtherDump::init().


Generated on Fri Feb 28 2020 16:27:06 for gem5 by doxygen 1.8.13