LogComponentEnable("UdpEchoServerApplication", ns3::LOG_LEVEL_INFO);
}
- ns3::MyPointToPointHelper pointToPoint;
+ ns3::PointToPointHelper pointToPoint;
ns3::NetDeviceContainer netA;
ns3::Ipv4AddressHelper address;
MyPointToPointHelper::MyPointToPointHelper ()
{
m_queueFactory.SetTypeId ("ns3::DropTailQueue");
- m_queueFactory_red.SetTypeId ("ns3::RedQueue");
m_deviceFactory.SetTypeId ("ns3::PointToPointNetDevice");
m_channelFactory.SetTypeId ("ns3::PointToPointChannel");
m_remoteChannelFactory.SetTypeId ("ns3::PointToPointRemoteChannel");
bool explicitFilename);
ObjectFactory m_queueFactory;
- ObjectFactory m_queueFactory_red;
ObjectFactory m_channelFactory;
ObjectFactory m_remoteChannelFactory;
ObjectFactory m_deviceFactory;
#include <cstdint>
#include "ns3_interface.h"
-#include "ns3/core-module.h"
-#include "my-point-to-point-helper.h"
-
-#include "ns3/node.h"
-#include "ns3/global-route-manager.h"
-#include "ns3/csma-helper.h"
-#include "ns3/internet-stack-helper.h"
-#include "ns3/ipv4-address-helper.h"
-#include "ns3/point-to-point-helper.h"
-#include "ns3/packet-sink-helper.h"
-#include "ns3/inet-socket-address.h"
-#include "ns3/tcp-socket-factory.h"
+#include <ns3/core-module.h>
+
+#include <ns3/node.h>
+#include <ns3/global-route-manager.h>
+#include <ns3/csma-helper.h>
+#include <ns3/internet-stack-helper.h>
+#include <ns3/ipv4-address-helper.h>
+#include <ns3/point-to-point-helper.h>
+#include <ns3/packet-sink-helper.h>
+#include <ns3/inet-socket-address.h>
+#include <ns3/tcp-socket-factory.h>
class SgFlow {
public: