|
|
| 70 |
void SetNscStack(std::string soname); |
70 |
void SetNscStack(std::string soname); |
| 71 |
|
71 |
|
| 72 |
/** |
72 |
/** |
|
|
73 |
* \param os output stream |
| 74 |
* \param n node container |
| 75 |
* |
| 76 |
* Enable ascii output on these drop traces, for each node in the NodeContainer.. |
| 77 |
* /NodeList/[i]/$ns3ArpL3Protocol/Drop |
| 78 |
* /NodeList/[i]/$ns3Ipv4L3Protocol/Drop |
| 79 |
*/ |
| 80 |
static void EnableAscii (std::ostream &os, NodeContainer n); |
| 81 |
|
| 82 |
/** |
| 83 |
* \param os output stream |
| 84 |
* |
| 85 |
* Enable ascii output on these drop traces, for all nodes. |
| 86 |
* /NodeList/[i]/$ns3ArpL3Protocol/Drop |
| 87 |
* /NodeList/[i]/$ns3Ipv4L3Protocol/Drop |
| 88 |
*/ |
| 89 |
static void EnableAsciiAll (std::ostream &os); |
| 90 |
|
| 91 |
/** |
| 73 |
* Enable pcap output on each protocol instance which is of the |
92 |
* Enable pcap output on each protocol instance which is of the |
| 74 |
* ns3::Ipv4L3Protocol type. Both Tx and Rx events will be logged. |
93 |
* ns3::Ipv4L3Protocol type. Both Tx and Rx events will be logged. |
| 75 |
* |
94 |
* |
|
|
| 95 |
uint32_t interfaceId; |
114 |
uint32_t interfaceId; |
| 96 |
Ptr<PcapWriter> writer; |
115 |
Ptr<PcapWriter> writer; |
| 97 |
}; |
116 |
}; |
|
|
117 |
static void AsciiDropEvent (std::ostream *os, std::string path, Ptr<const Packet> packet); |
| 98 |
static std::string m_pcapBaseFilename; |
118 |
static std::string m_pcapBaseFilename; |
| 99 |
static uint32_t GetNodeIndex (std::string context); |
119 |
static uint32_t GetNodeIndex (std::string context); |
| 100 |
static std::vector<Trace> m_traces; |
120 |
static std::vector<Trace> m_traces; |