|
|
| 30 |
#include "udp-socket-factory-impl.h" |
30 |
#include "udp-socket-factory-impl.h" |
| 31 |
#include "tcp-socket-factory-impl.h" |
31 |
#include "tcp-socket-factory-impl.h" |
| 32 |
#include "ipv4-impl.h" |
32 |
#include "ipv4-impl.h" |
|
|
33 |
#ifdef NETWORK_SIMULATION_CRADLE |
| 33 |
#include "nsc-tcp-socket-factory-impl.h" |
34 |
#include "nsc-tcp-socket-factory-impl.h" |
| 34 |
#include "nsc-tcp-l4-protocol.h" |
35 |
#include "nsc-tcp-l4-protocol.h" |
|
|
36 |
#endif |
| 35 |
|
37 |
|
| 36 |
namespace ns3 { |
38 |
namespace ns3 { |
| 37 |
|
39 |
|
|
Lines 87-93
AddInternetStack (Ptr<Node> node)
|
Link Here
|
|---|
|
| 87 |
AddTcpStack (node); |
89 |
AddTcpStack (node); |
| 88 |
} |
90 |
} |
| 89 |
|
91 |
|
| 90 |
|
92 |
#ifdef NETWORK_SIMULATION_CRADLE |
| 91 |
static void |
93 |
static void |
| 92 |
AddNscStack(Ptr<Node> node, const std::string &soname) |
94 |
AddNscStack(Ptr<Node> node, const std::string &soname) |
| 93 |
{ |
95 |
{ |
|
Lines 111-115
AddNscInternetStack (Ptr<Node> node, con
|
Link Here
|
|---|
|
| 111 |
AddUdpStack (node); |
113 |
AddUdpStack (node); |
| 112 |
AddNscStack (node, soname); |
114 |
AddNscStack (node, soname); |
| 113 |
} |
115 |
} |
| 114 |
|
116 |
#else |
|
|
117 |
void |
| 118 |
AddNscInternetStack (Ptr<Node> node, const std::string &soname) |
| 119 |
{ |
| 120 |
NS_FATAL_ERROR ("NSC Not enabled on this platform."); |
| 121 |
} |
| 122 |
#endif |
| 115 |
}//namespace ns3 |
123 |
}//namespace ns3 |