A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ipv4-static-routing.cc File Reference
#include "ipv4-static-routing.h"
#include "ipv4-route.h"
#include "ipv4-routing-table-entry.h"
#include "ns3/log.h"
#include "ns3/names.h"
#include "ns3/node.h"
#include "ns3/output-stream-wrapper.h"
#include "ns3/packet.h"
#include "ns3/simulator.h"
#include <iomanip>
+ Include dependency graph for ipv4-static-routing.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.
 

Macros

#define NS_LOG_APPEND_CONTEXT
 

Macro Definition Documentation

◆ NS_LOG_APPEND_CONTEXT

#define NS_LOG_APPEND_CONTEXT
Value:
if (m_ipv4 && m_ipv4->GetObject<Node>()) \
{ \
std::clog << Simulator::Now().GetSeconds() << " [node " \
<< m_ipv4->GetObject<Node>()->GetId() << "] "; \
}

Definition at line 20 of file ipv4-static-routing.cc.