A Discrete-Event Network Simulator
API
pcap-file.cc File Reference
#include <iostream>
#include <cstring>
#include "ns3/assert.h"
#include "ns3/packet.h"
#include "ns3/fatal-error.h"
#include "ns3/fatal-impl.h"
#include "ns3/header.h"
#include "ns3/buffer.h"
#include "pcap-file.h"
#include "ns3/log.h"
#include "ns3/build-profile.h"
+ Include dependency graph for pcap-file.cc:

Go to the source code of this file.

Namespaces

 ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Variables

const uint32_t ns3::MAGIC = 0xa1b2c3d4
 Magic number identifying standard pcap file format. More...
 
const uint32_t ns3::NS_MAGIC = 0xa1b23c4d
 Magic number identifying nanosec resolution pcap file format. More...
 
const uint32_t ns3::NS_SWAPPED_MAGIC = 0x4d3cb2a1
 Looks this way if byte swapping is required. More...
 
const uint32_t ns3::SWAPPED_MAGIC = 0xd4c3b2a1
 Looks this way if byte swapping is required. More...
 
const uint16_t ns3::VERSION_MAJOR = 2
 Major version of supported pcap file format. More...
 
const uint16_t ns3::VERSION_MINOR = 4
 Minor version of supported pcap file format. More...