|
|
| 76 |
Config::ConnectWithoutContext (oss.str (), MakeBoundCallback (&CsmaHelper::RxEvent, pcap)); |
76 |
Config::ConnectWithoutContext (oss.str (), MakeBoundCallback (&CsmaHelper::RxEvent, pcap)); |
| 77 |
oss.str (""); |
77 |
oss.str (""); |
| 78 |
oss << "/NodeList/" << nodeid << "/DeviceList/" << deviceid << "/$ns3::CsmaNetDevice/TxQueue/Enqueue"; |
78 |
oss << "/NodeList/" << nodeid << "/DeviceList/" << deviceid << "/$ns3::CsmaNetDevice/TxQueue/Enqueue"; |
| 79 |
Config::ConnectWithoutContext (oss.str (), MakeBoundCallback (&CsmaHelper::EnqueueEvent, pcap)); |
79 |
/* XXX duplicate packets sent by a node in pcap file (=> not real) */ |
|
|
80 |
/* Config::ConnectWithoutContext (oss.str (), MakeBoundCallback (&CsmaHelper::EnqueueEvent, pcap)); */ |
| 80 |
} |
81 |
} |
| 81 |
void |
82 |
void |
| 82 |
CsmaHelper::EnablePcap (std::string filename, NetDeviceContainer d) |
83 |
CsmaHelper::EnablePcap (std::string filename, NetDeviceContainer d) |