A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ipv4-static-routing.cc File Reference
#include <iomanip>
#include "ns3/log.h"
#include "ns3/names.h"
#include "ns3/packet.h"
#include "ns3/node.h"
#include "ns3/simulator.h"
#include "ns3/ipv4-route.h"
#include "ns3/output-stream-wrapper.h"
#include "ipv4-static-routing.h"
#include "ipv4-routing-table-entry.h"
+ Include dependency graph for ipv4-static-routing.cc:

Go to the source code of this file.

Namespaces

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

Macros

#define NS_LOG_APPEND_CONTEXT
 

Functions

 NS_LOG_COMPONENT_DEFINE ("Ipv4StaticRouting")
 

Macro Definition Documentation

#define NS_LOG_APPEND_CONTEXT
Value:
if (m_ipv4 && m_ipv4->GetObject<Node> ()) { \
std::clog << Simulator::Now ().GetSeconds () \
<< " [node " << m_ipv4->GetObject<Node> ()->GetId () << "] "; }
double GetSeconds(void) const
Definition: nstime.h:274
Time Now(void)
create an ns3::Time instance which contains the current simulation time.
Definition: simulator.cc:287

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

Function Documentation

NS_LOG_COMPONENT_DEFINE ( "Ipv4StaticRouting"  )