A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
lr-wpan-mac.cc File Reference
#include "lr-wpan-mac.h"
#include "lr-wpan-constants.h"
#include "lr-wpan-csmaca.h"
#include "lr-wpan-mac-header.h"
#include "lr-wpan-mac-pl-headers.h"
#include "lr-wpan-mac-trailer.h"
#include <ns3/double.h>
#include <ns3/log.h>
#include <ns3/node.h>
#include <ns3/packet.h>
#include <ns3/random-variable-stream.h>
#include <ns3/simulator.h>
#include <ns3/uinteger.h>
+ Include dependency graph for lr-wpan-mac.cc:

Go to the source code of this file.

Namespaces

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

Macros

#define NS_LOG_APPEND_CONTEXT    std::clog << "[" << m_shortAddress << " | " << m_macExtendedAddress << "] ";
 

Functions

std::ostream & ns3::lrwpan::operator<< (std::ostream &os, const MacState &state)
 Overloaded operator to print the value of a MacState.
 

Macro Definition Documentation

◆ NS_LOG_APPEND_CONTEXT

#define NS_LOG_APPEND_CONTEXT    std::clog << "[" << m_shortAddress << " | " << m_macExtendedAddress << "] ";

Definition at line 31 of file lr-wpan-mac.cc.