Merge node and common modules into new network module

This commit is contained in:
Tom Henderson
2011-02-21 09:11:37 -08:00
parent fcf182c8f8
commit ca7b93cc3d
272 changed files with 329 additions and 385 deletions

View File

@@ -20,7 +20,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/ipv4-global-routing-helper.h"

View File

@@ -20,7 +20,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/ipv4-global-routing-helper.h"

View File

@@ -17,7 +17,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/ipv4-global-routing-helper.h"

View File

@@ -34,7 +34,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
using namespace ns3;

View File

@@ -34,7 +34,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/ipv4-static-routing-helper.h"
#include "ns3/ipv4-list-routing-helper.h"

View File

@@ -29,7 +29,7 @@
#include <fstream>
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/core-module.h"
#include "ns3/helper-module.h"

View File

@@ -34,7 +34,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
using namespace ns3;

View File

@@ -30,7 +30,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
using namespace ns3;

View File

@@ -33,7 +33,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
using namespace ns3;

View File

@@ -17,7 +17,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/csma-module.h"
#include "ns3/ipv4-global-routing-helper.h"

View File

@@ -54,7 +54,7 @@
#include "ns3/abort.h"
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/emu-module.h"
#include "ns3/v4ping-module.h"
#include "ns3/helper-module.h"

View File

@@ -19,8 +19,7 @@
*/
#include "ns3/core-module.h"
#include "ns3/common-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/mobility-module.h"
#include "ns3/contrib-module.h"

View File

@@ -36,9 +36,7 @@
#include <fstream>
#include "ns3/core-module.h"
#include "ns3/common-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/ipv4-global-routing-helper.h"

View File

@@ -48,7 +48,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/global-route-manager.h"
#include "ns3/mobility-module.h"

View File

@@ -46,7 +46,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/global-routing-module.h"
#include "ns3/wifi-module.h"

View File

@@ -40,7 +40,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/global-routing-module.h"
#include "ns3/onoff-application.h"

View File

@@ -43,7 +43,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/mpi-interface.h"
#include "ns3/ipv4-global-routing-helper.h"

View File

@@ -16,7 +16,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/wifi-module.h"
#include "ns3/mobility-module.h"

View File

@@ -22,8 +22,7 @@
#include "ns3/aodv-module.h"
#include "ns3/core-module.h"
#include "ns3/common-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/mobility-module.h"
#include "ns3/contrib-module.h"

View File

@@ -69,7 +69,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/ipv4-global-routing-helper.h"

View File

@@ -27,7 +27,7 @@
#include "ns3/csma-net-device.h"
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/ipv4-static-routing.h"
#include "ns3/ipv4-global-routing.h"

View File

@@ -27,7 +27,7 @@
#include "ns3/csma-net-device.h"
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/ipv4-global-routing-helper.h"

View File

@@ -38,7 +38,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/ipv4-global-routing-helper.h"

View File

@@ -16,7 +16,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/ipv4-static-routing-helper.h"
#include "ns3/ipv4-list-routing-helper.h"

View File

@@ -38,7 +38,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/global-routing-module.h"
#include "ns3/onoff-application.h"

View File

@@ -39,7 +39,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/ipv4-global-routing-helper.h"

View File

@@ -41,7 +41,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/flow-monitor-helper.h"
#include "ns3/ipv4-global-routing-helper.h"

View File

@@ -27,7 +27,7 @@
#include "ns3/csma-net-device.h"
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/ipv4-static-routing-helper.h"

View File

@@ -37,7 +37,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/ipv4-static-routing-helper.h"
#include "ns3/ipv4-list-routing-helper.h"

View File

@@ -37,7 +37,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/ipv4-static-routing-helper.h"
#include "ns3/ipv4-list-routing-helper.h"

View File

@@ -28,9 +28,8 @@
#include <ostream>
#include "ns3/core-module.h"
#include "ns3/common-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/network-module.h"
#include "ns3/internet-stack-module.h"
#include "ns3/stats-module.h"

View File

@@ -28,7 +28,7 @@
// #define NS3_LOG_ENABLE // Now defined by Makefile
#include "ns3/core-module.h"
#include "ns3/common-module.h"
#include "ns3/network-module.h"
#include "ns3/application.h"
#include "ns3/stats-module.h"

View File

@@ -37,8 +37,7 @@
#include <sstream>
#include "ns3/core-module.h"
#include "ns3/common-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/mobility-module.h"
#include "ns3/wifi-module.h"

View File

@@ -62,7 +62,7 @@
#include <fstream>
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/core-module.h"
#include "ns3/helper-module.h"

View File

@@ -58,7 +58,7 @@
#include <fstream>
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/core-module.h"
#include "ns3/wifi-module.h"
#include "ns3/helper-module.h"

View File

@@ -100,7 +100,7 @@
#include <fstream>
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/core-module.h"
#include "ns3/wifi-module.h"
#include "ns3/helper-module.h"

View File

@@ -70,7 +70,7 @@
#include <fstream>
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/core-module.h"
#include "ns3/wifi-module.h"
#include "ns3/helper-module.h"

View File

@@ -17,7 +17,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/ipv4-global-routing-helper.h"

View File

@@ -29,7 +29,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/helper-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/packet-sink.h"
using namespace ns3;

View File

@@ -38,7 +38,8 @@
#include "ns3/core-module.h"
#include "ns3/helper-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/internet-stack-module.h"
#include "ns3/core-module.h"
#include "ns3/ipv4-global-routing-helper.h"

View File

@@ -33,10 +33,8 @@
#include <cassert>
#include "ns3/core-module.h"
#include "ns3/common-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/node-module.h"
#include "ns3/core-module.h"
#include "ns3/ipv4-global-routing-helper.h"
using namespace ns3;

View File

@@ -32,7 +32,7 @@
#include "ns3/core-module.h"
#include "ns3/helper-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/core-module.h"
#include "ns3/ipv4-global-routing-helper.h"

View File

@@ -50,7 +50,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/ipv4-global-routing-helper.h"

View File

@@ -27,8 +27,7 @@
#include <sstream>
#include "ns3/core-module.h"
#include "ns3/common-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/core-module.h"
#include "ns3/ipv4-static-routing-helper.h"

View File

@@ -16,9 +16,8 @@
#include <fstream>
#include "ns3/core-module.h"
#include "ns3/common-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/internet-stack-module.h"
#include "ns3/helper-module.h"
using namespace ns3;

View File

@@ -16,7 +16,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
using namespace ns3;

View File

@@ -16,7 +16,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/ipv4-global-routing-helper.h"

View File

@@ -16,9 +16,8 @@
#include <fstream>
#include "ns3/core-module.h"
#include "ns3/common-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/internet-stack-module.h"
#include "ns3/helper-module.h"
using namespace ns3;

View File

@@ -16,7 +16,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/wifi-module.h"
#include "ns3/mobility-module.h"

View File

@@ -51,8 +51,7 @@
// +-----+ +-----+ +-----+
#include "ns3/core-module.h"
#include "ns3/common-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/mobility-module.h"
#include "ns3/contrib-module.h"

View File

@@ -51,8 +51,7 @@
// +-----+ +-----+ +-----+ +-----+ +-----+
#include "ns3/core-module.h"
#include "ns3/common-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/mobility-module.h"
#include "ns3/contrib-module.h"

View File

@@ -43,8 +43,7 @@
// +-----+
#include "ns3/core-module.h"
#include "ns3/common-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/mobility-module.h"
#include "ns3/contrib-module.h"

View File

@@ -61,8 +61,7 @@
#include <fstream>
#include <string>
#include "ns3/core-module.h"
#include "ns3/common-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/mobility-module.h"
#include "ns3/contrib-module.h"

View File

@@ -49,8 +49,7 @@
*/
#include "ns3/core-module.h"
#include "ns3/common-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/mobility-module.h"
#include "ns3/contrib-module.h"

View File

@@ -19,7 +19,7 @@
*/
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/wifi-module.h"
#include "ns3/mobility-module.h"

View File

@@ -19,8 +19,7 @@
*/
#include "ns3/core-module.h"
#include "ns3/common-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/mobility-module.h"
#include "ns3/contrib-module.h"

View File

@@ -20,8 +20,7 @@
#include "ns3/core-module.h"
#include "ns3/common-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/mobility-module.h"
#include "ns3/contrib-module.h"

View File

@@ -41,7 +41,7 @@
*/
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/global-routing-module.h"
#include "ns3/wifi-module.h"

View File

@@ -19,8 +19,7 @@
*/
#include "ns3/core-module.h"
#include "ns3/common-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/mobility-module.h"
#include "ns3/contrib-module.h"

View File

@@ -31,7 +31,7 @@
*/
#include "ns3/core-module.h"
#include "ns3/propagation-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/mobility-module.h"
#include "ns3/flow-monitor-module.h"

View File

@@ -70,8 +70,7 @@
//
#include "ns3/core-module.h"
#include "ns3/common-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/mobility-module.h"
#include "ns3/contrib-module.h"

View File

@@ -52,8 +52,7 @@
//
#include "ns3/core-module.h"
#include "ns3/common-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/mobility-module.h"
#include "ns3/contrib-module.h"

View File

@@ -53,8 +53,7 @@
//
#include "ns3/core-module.h"
#include "ns3/common-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/mobility-module.h"
#include "ns3/contrib-module.h"

View File

@@ -81,8 +81,7 @@
// ./waf --run "wifi-simple-interference --delta=30000"
#include "ns3/core-module.h"
#include "ns3/common-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/mobility-module.h"
#include "ns3/contrib-module.h"

View File

@@ -48,7 +48,7 @@
#include "ns3/mobility-module.h"
#include "ns3/helper-module.h"
#include "ns3/wifi-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/bridge-helper.h"
#include <vector>
#include <stdint.h>

View File

@@ -2,7 +2,7 @@
#include "ns3/core-module.h"
#include "ns3/helper-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/core-module.h"
using namespace ns3;

View File

@@ -2,7 +2,7 @@
#include "ns3/core-module.h"
#include "ns3/helper-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/core-module.h"
using namespace ns3;

View File

@@ -2,7 +2,7 @@
#include "ns3/core-module.h"
#include "ns3/helper-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/core-module.h"
using namespace ns3;

View File

@@ -1,7 +1,7 @@
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
def build(bld):
module = bld.create_ns3_module('bulk-send', ['core', 'node'])
module = bld.create_ns3_module('bulk-send', ['core', 'network'])
module.source = [
'bulk-send-application.cc',
]

View File

@@ -1,7 +1,7 @@
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
def build(bld):
module = bld.create_ns3_module('onoff', ['core', 'node'])
module = bld.create_ns3_module('onoff', ['core', 'network'])
module.source = [
'onoff-application.cc',
]

View File

@@ -1,7 +1,7 @@
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
def build(bld):
module = bld.create_ns3_module('packet-sink', ['node'])
module = bld.create_ns3_module('packet-sink', ['network'])
module.source = [
'packet-sink.cc',
]

View File

@@ -1,7 +1,7 @@
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
def build(bld):
module = bld.create_ns3_module('v4ping', ['node'])
module = bld.create_ns3_module('v4ping', ['network'])
module.source = [
'v4ping.cc',
]

View File

@@ -1,51 +0,0 @@
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
def build(bld):
common = bld.create_ns3_module('common', ['core', 'mobility'])
common.source = [
'buffer.cc',
'buffer-test.cc',
'packet-metadata.cc',
'packet-metadata-test.cc',
'packet.cc',
'packet-burst.cc',
'chunk.cc',
'header.cc',
'trailer.cc',
'data-rate.cc',
'error-model.cc',
'tag.cc',
'byte-tag-list.cc',
'tag-buffer.cc',
'packet-tag-list.cc',
'nix-vector.cc',
'pcap-file.cc',
'pcap-file-test-suite.cc',
'pcap-file-wrapper.cc',
'output-stream-wrapper.cc',
'sequence-number.cc',
]
headers = bld.new_task_gen('ns3header')
headers.module = 'common'
headers.source = [
'buffer.h',
'chunk.h',
'header.h',
'trailer.h',
'packet.h',
'packet-burst.h',
'packet-metadata.h',
'data-rate.h',
'error-model.h',
'tag.h',
'byte-tag-list.h',
'tag-buffer.h',
'packet-tag-list.h',
'nix-vector.h',
'sgi-hashmap.h',
'pcap-file.h',
'pcap-file-wrapper.h',
'output-stream-wrapper.h',
'sequence-number.h',
]

View File

@@ -1,7 +1,7 @@
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
def build(bld):
obj = bld.create_ns3_module('energy', ['node', 'wifi'])
obj = bld.create_ns3_module('energy', ['network', 'wifi'])
obj.source = [
'model/wifi-radio-energy-model.cc',
'model/energy-source.cc',

View File

@@ -8,7 +8,7 @@ def configure(conf):
def build(bld):
obj = bld.create_ns3_module('stats', ['node'])
obj = bld.create_ns3_module('stats', ['network'])
obj.source = [
'data-calculator.cc',
'packet-data-calculators.cc',

View File

@@ -1,7 +1,7 @@
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
def build(bld):
obj = bld.create_ns3_module('topology-read', ['node'])
obj = bld.create_ns3_module('topology-read', ['network'])
obj.source = [
'topology-reader.cc',
'inet-topology-reader.cc',

View File

@@ -20,7 +20,7 @@ def configure(conf):
def build(bld):
module = bld.create_ns3_module('contrib', ['core', 'common'])
module = bld.create_ns3_module('contrib', ['core', 'network'])
module.source = [
'event-garbage-collector.cc',
'gnuplot.cc',

View File

@@ -70,7 +70,7 @@
#include <fstream>
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/core-module.h"
#include "ns3/helper-module.h"
#include "ns3/bridge-module.h"

View File

@@ -33,7 +33,7 @@
#include <fstream>
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/core-module.h"
#include "ns3/helper-module.h"
#include "ns3/bridge-module.h"

View File

@@ -1,7 +1,7 @@
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
def build(bld):
obj = bld.create_ns3_module('bridge', ['node'])
obj = bld.create_ns3_module('bridge', ['network'])
obj.source = [
'model/bridge-net-device.cc',
'model/bridge-channel.cc',

View File

@@ -1,7 +1,7 @@
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
def build(bld):
obj = bld.create_ns3_module('csma', ['node'])
obj = bld.create_ns3_module('csma', ['network'])
obj.source = [
'backoff.cc',
'csma-net-device.cc',

View File

@@ -20,7 +20,7 @@ def configure(conf):
conf.env.append_value('NS3_EXECUTABLE_PATH', emucreatordir)
def build(bld):
module = bld.create_ns3_module('emu', ['node'])
module = bld.create_ns3_module('emu', ['network'])
module.source = [
]
headers = bld.new_task_gen('ns3header')

View File

@@ -25,9 +25,7 @@
#include <iostream>
#include <vector>
#include <ns3/core-module.h>
#include <ns3/common-module.h>
#include <ns3/node-module.h>
#include <ns3/core-module.h>
#include <ns3/network-module.h>
#include <ns3/log.h>
#include <string>
#include <ns3/mobility-module.h>

View File

@@ -25,9 +25,7 @@
#include <iostream>
#include <vector>
#include <ns3/core-module.h>
#include <ns3/common-module.h>
#include <ns3/node-module.h>
#include <ns3/core-module.h>
#include <ns3/network-module.h>
#include <ns3/log.h>
#include <string>
#include <ns3/mobility-module.h>

View File

@@ -11,8 +11,7 @@
// +------------+
#include "ns3/core-module.h"
#include "ns3/common-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/mobility-module.h"
#include "ns3/contrib-module.h"

View File

@@ -11,8 +11,7 @@
// +------------+
#include "ns3/core-module.h"
#include "ns3/common-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/mobility-module.h"
#include "ns3/contrib-module.h"

View File

@@ -49,9 +49,7 @@
#include <iostream>
#include <ns3/core-module.h>
#include <ns3/common-module.h>
#include <ns3/node-module.h>
#include <ns3/core-module.h>
#include <ns3/network-module.h>
#include <ns3/single-model-spectrum-channel.h>
#include <ns3/log.h>
#include <string>

View File

@@ -50,9 +50,7 @@
#include <iostream>
#include <ns3/core-module.h>
#include <ns3/common-module.h>
#include <ns3/node-module.h>
#include <ns3/core-module.h>
#include <ns3/network-module.h>
#include <ns3/single-model-spectrum-channel.h>
#include <ns3/log.h>
#include <string>

View File

@@ -2,7 +2,7 @@
def build(bld):
module = bld.create_ns3_module('lte', ['core', 'node', 'common', 'spectrum'])
module = bld.create_ns3_module('lte', ['core', 'network', 'spectrum'])
module.source = [
'model/lte-spectrum-phy.cc',
'model/enb-lte-spectrum-phy.cc',

View File

@@ -2,7 +2,7 @@
def build(bld):
module = bld.create_ns3_module('point-to-point', ['node'])
module = bld.create_ns3_module('point-to-point', ['network'])
module.source = [
'point-to-point-net-device.cc',
'point-to-point-channel.cc',

View File

@@ -20,7 +20,7 @@ def configure(conf):
conf.env.append_value('NS3_EXECUTABLE_PATH', tapcreatordir)
def build(bld):
module = bld.create_ns3_module('tap-bridge', ['node'])
module = bld.create_ns3_module('tap-bridge', ['network'])
module.source = [
]
headers = bld.new_task_gen('ns3header')

View File

@@ -38,8 +38,7 @@
#include "uan-cw-example.h"
#include "ns3/core-module.h"
#include "ns3/common-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/mobility-module.h"
#include "ns3/contrib-module.h"
#include "ns3/helper-module.h"

View File

@@ -21,8 +21,7 @@
#ifndef UANCWEXAMPLE_H
#define UANCWEXAMPLE_H
#include "ns3/common-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/contrib-module.h"
#include "ns3/uan-module.h"
#include "ns3/helper-module.h"

View File

@@ -53,10 +53,9 @@
#include "uan-rc-example.h"
#include "ns3/core-module.h"
#include "ns3/common-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/mobility-module.h"
#include "ns3/node-module.h"
#include "ns3/log.h"
#include "ns3/config.h"
#include "ns3/callback.h"

View File

@@ -21,8 +21,7 @@
#ifndef UANRCEXAMPLE_H
#define UANRCEXAMPLE_H
#include "ns3/common-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/contrib-module.h"
#include "ns3/helper-module.h"
#include "ns3/uan-module.h"

View File

@@ -1,7 +1,7 @@
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
def build(bld):
module = bld.create_ns3_module('uan', ['node', 'energy'])
module = bld.create_ns3_module('uan', ['network', 'energy'])
module.source = [
'model/uan-channel.cc',
'model/uan-phy-gen.cc',

View File

@@ -53,7 +53,7 @@
#include "ns3/core-module.h"
#include "ns3/core-module.h"
#include "ns3/node-module.h"
#include "ns3/network-module.h"
#include "ns3/helper-module.h"
#include "ns3/virtual-net-device.h"
#include "ns3/ipv4-global-routing-helper.h"

View File

@@ -2,7 +2,7 @@
def build(bld):
module = bld.create_ns3_module('virtual-net-device', ['node'])
module = bld.create_ns3_module('virtual-net-device', ['network'])
module.source = [
'model/virtual-net-device.cc',
]

View File

@@ -1,7 +1,7 @@
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
def build(bld):
obj = bld.create_ns3_module('wifi', ['node'])
obj = bld.create_ns3_module('wifi', ['network'])
obj.source = [
'wifi-information-element.cc',
'wifi-information-element-vector.cc',

View File

@@ -1,6 +1,6 @@
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
def build(bld):
obj = bld.create_ns3_module('wimax', ['node'])
obj = bld.create_ns3_module('wimax', ['network'])
obj.source = [
'cid.cc',
'cid-factory.cc',

Some files were not shown because too many files have changed in this diff Show More