|
|
| 28 |
#include "ns3/config.h" |
28 |
#include "ns3/config.h" |
| 29 |
#include "ns3/packet.h" |
29 |
#include "ns3/packet.h" |
| 30 |
#include "ns3/names.h" |
30 |
#include "ns3/names.h" |
|
|
31 |
#include "ns3/uinteger.h" |
| 31 |
#include "ns3/mpi-interface.h" |
32 |
#include "ns3/mpi-interface.h" |
| 32 |
#include "ns3/mpi-receiver.h" |
33 |
#include "ns3/mpi-receiver.h" |
| 33 |
|
34 |
|
|
|
| 41 |
PointToPointHelper::PointToPointHelper () |
42 |
PointToPointHelper::PointToPointHelper () |
| 42 |
{ |
43 |
{ |
| 43 |
m_queueFactory.SetTypeId ("ns3::DropTailQueue"); |
44 |
m_queueFactory.SetTypeId ("ns3::DropTailQueue"); |
|
|
45 |
// Device queue set to small default value such as in Linux |
| 46 |
m_queueFactory.Set ("MaxPackets", UintegerValue (3)); |
| 47 |
m_queueFactory.Set ("MaxBytes", UintegerValue (3 * 65535)); |
| 44 |
m_deviceFactory.SetTypeId ("ns3::PointToPointNetDevice"); |
48 |
m_deviceFactory.SetTypeId ("ns3::PointToPointNetDevice"); |
| 45 |
m_channelFactory.SetTypeId ("ns3::PointToPointChannel"); |
49 |
m_channelFactory.SetTypeId ("ns3::PointToPointChannel"); |
| 46 |
m_remoteChannelFactory.SetTypeId ("ns3::PointToPointRemoteChannel"); |
50 |
m_remoteChannelFactory.SetTypeId ("ns3::PointToPointRemoteChannel"); |