38 void addNodesCSMA(ns3::NodeContainer nodes);
40 void addNodesWifi(ns3::NodeContainer nodes,
double topology_width,
double topology_height);
43 static void setGatewayForAppNodes(uint32_t number_of_subnets,
44 std::vector<ns3::Ipv4InterfaceContainer> ip_container);
46 ns3::CsmaHelper setupCSMA();
48 std::vector<ns3::Ipv4InterfaceContainer> installIP(
49 uint32_t number_of_subnets, ns3::NetDeviceContainer core_router_devices,
50 std::vector<ns3::NetDeviceContainer> app_node_devices, uint32_t &base_address);
52 ns3::Ptr<ns3::Node> core_router_ = ns3::CreateObject<ns3::Node>();
53 uint32_t next_base_address_csma_ = 16842752;
54 uint32_t next_base_address_wifi_ = 3232235520;