gem5  v20.1.0.0
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 51 of file etherdump.cc.

◆ PCAP_VERSION_MAJOR

#define PCAP_VERSION_MAJOR   2

Definition at line 53 of file etherdump.cc.

◆ PCAP_VERSION_MINOR

#define PCAP_VERSION_MINOR   4

Definition at line 54 of file etherdump.cc.

◆ TCPDUMP_MAGIC

#define TCPDUMP_MAGIC   0xa1b2c3d4

Definition at line 52 of file etherdump.cc.


Generated on Wed Sep 30 2020 14:02:18 for gem5 by doxygen 1.8.17