author | Tom Henderson <tomh@tomh.org> |
Thu, 02 Jul 2009 21:57:00 -0700 | |
changeset 4646 | c25ca2e38845 |
parent 4541 | e943b94bf523 |
permissions | -rw-r--r-- |
600
fd944dbf33c6
WAF: simplify wscripts using the new chained uselib_local dependencies feature of WAF SVN; now build all samples and examples; add --disable-rpath configure option; add WAF build instructions.
Gustavo J. A. M. Carneiro <gjcarneiro@gmail.com>
parents:
diff
changeset
|
1 |
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
fd944dbf33c6
WAF: simplify wscripts using the new chained uselib_local dependencies feature of WAF SVN; now build all samples and examples; add --disable-rpath configure option; add WAF build instructions.
Gustavo J. A. M. Carneiro <gjcarneiro@gmail.com>
parents:
diff
changeset
|
2 |
|
fd944dbf33c6
WAF: simplify wscripts using the new chained uselib_local dependencies feature of WAF SVN; now build all samples and examples; add --disable-rpath configure option; add WAF build instructions.
Gustavo J. A. M. Carneiro <gjcarneiro@gmail.com>
parents:
diff
changeset
|
3 |
def build(bld): |
3331
7305032b6100
add updated tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents:
3302
diff
changeset
|
4 |
obj = bld.create_ns3_program('hello-simulator') |
7305032b6100
add updated tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents:
3302
diff
changeset
|
5 |
obj.source = 'hello-simulator.cc' |
7305032b6100
add updated tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents:
3302
diff
changeset
|
6 |
|
4013
c032743d087c
New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents:
4012
diff
changeset
|
7 |
obj = bld.create_ns3_program('first', |
c032743d087c
New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents:
4012
diff
changeset
|
8 |
['core', 'simulator', 'point-to-point', 'internet-stack']) |
c032743d087c
New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents:
4012
diff
changeset
|
9 |
obj.source = 'first.cc' |
c032743d087c
New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents:
4012
diff
changeset
|
10 |
|
c032743d087c
New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents:
4012
diff
changeset
|
11 |
obj = bld.create_ns3_program('second', |
c032743d087c
New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents:
4012
diff
changeset
|
12 |
['core', 'simulator', 'point-to-point', 'csma', 'internet-stack']) |
c032743d087c
New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents:
4012
diff
changeset
|
13 |
obj.source = 'second.cc' |
c032743d087c
New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents:
4012
diff
changeset
|
14 |
|
c032743d087c
New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents:
4012
diff
changeset
|
15 |
obj = bld.create_ns3_program('third', |
c032743d087c
New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents:
4012
diff
changeset
|
16 |
['core', 'simulator', 'point-to-point', 'csma', 'wifi', 'internet-stack']) |
c032743d087c
New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents:
4012
diff
changeset
|
17 |
obj.source = 'third.cc' |
c032743d087c
New examples, build and test tutorial examples
Craig Dowell <craigdo@ee.washington.edu>
parents:
4012
diff
changeset
|
18 |
|
4155
88a793cc5540
rename names.cc to object-names.cc
Craig Dowell <craigdo@ee.washington.edu>
parents:
4139
diff
changeset
|
19 |
obj = bld.create_ns3_program('object-names', |
4139
d45e62c78504
add an object name service
Craig Dowell <craigdo@ee.washington.edu>
parents:
4013
diff
changeset
|
20 |
['core', 'simulator', 'csma', 'internet-stack']) |
4155
88a793cc5540
rename names.cc to object-names.cc
Craig Dowell <craigdo@ee.washington.edu>
parents:
4139
diff
changeset
|
21 |
obj.source = 'object-names.cc' |
4139
d45e62c78504
add an object name service
Craig Dowell <craigdo@ee.washington.edu>
parents:
4013
diff
changeset
|
22 |
|
2896
cb77c96e6149
revive mixed-wireless example from Simutools tutorial
Tom Henderson <tomh@tomh.org>
parents:
2819
diff
changeset
|
23 |
obj = bld.create_ns3_program('mixed-wireless', |
3793
a5895f134543
make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents:
3643
diff
changeset
|
24 |
['core', 'simulator', 'mobility', 'wifi', 'point-to-point', 'internet-stack']) |
2896
cb77c96e6149
revive mixed-wireless example from Simutools tutorial
Tom Henderson <tomh@tomh.org>
parents:
2819
diff
changeset
|
25 |
obj.source = 'mixed-wireless.cc' |
cb77c96e6149
revive mixed-wireless example from Simutools tutorial
Tom Henderson <tomh@tomh.org>
parents:
2819
diff
changeset
|
26 |
|
4012
7dc122811f0c
add dynamic global routing example script
Tom Henderson <tomh@tomh.org>
parents:
3935
diff
changeset
|
27 |
obj = bld.create_ns3_program('dynamic-global-routing', |
7dc122811f0c
add dynamic global routing example script
Tom Henderson <tomh@tomh.org>
parents:
3935
diff
changeset
|
28 |
['point-to-point', 'csma', 'internet-stack', 'global-routing']) |
7dc122811f0c
add dynamic global routing example script
Tom Henderson <tomh@tomh.org>
parents:
3935
diff
changeset
|
29 |
obj.source = 'dynamic-global-routing.cc' |
7dc122811f0c
add dynamic global routing example script
Tom Henderson <tomh@tomh.org>
parents:
3935
diff
changeset
|
30 |
|
7dc122811f0c
add dynamic global routing example script
Tom Henderson <tomh@tomh.org>
parents:
3935
diff
changeset
|
31 |
obj = bld.create_ns3_program('static-routing-slash32', |
7dc122811f0c
add dynamic global routing example script
Tom Henderson <tomh@tomh.org>
parents:
3935
diff
changeset
|
32 |
['point-to-point', 'internet-stack', 'global-routing']) |
7dc122811f0c
add dynamic global routing example script
Tom Henderson <tomh@tomh.org>
parents:
3935
diff
changeset
|
33 |
obj.source = 'static-routing-slash32.cc' |
7dc122811f0c
add dynamic global routing example script
Tom Henderson <tomh@tomh.org>
parents:
3935
diff
changeset
|
34 |
|
7dc122811f0c
add dynamic global routing example script
Tom Henderson <tomh@tomh.org>
parents:
3935
diff
changeset
|
35 |
obj = bld.create_ns3_program('global-routing-slash32', |
7dc122811f0c
add dynamic global routing example script
Tom Henderson <tomh@tomh.org>
parents:
3935
diff
changeset
|
36 |
['point-to-point', 'internet-stack', 'global-routing']) |
7dc122811f0c
add dynamic global routing example script
Tom Henderson <tomh@tomh.org>
parents:
3935
diff
changeset
|
37 |
obj.source = 'global-routing-slash32.cc' |
7dc122811f0c
add dynamic global routing example script
Tom Henderson <tomh@tomh.org>
parents:
3935
diff
changeset
|
38 |
|
1217
2f7791ae388d
WAF: add new bld.create_ns3_module() and bld.create_ns3_program() methods to make declaration of modules and programs simpler, and allowing us to change how ns-3 is built in a centralized way, without needing to change every module wscript file.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
1198
diff
changeset
|
39 |
obj = bld.create_ns3_program('simple-global-routing', |
3793
a5895f134543
make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents:
3643
diff
changeset
|
40 |
['point-to-point', 'internet-stack', 'global-routing']) |
1217
2f7791ae388d
WAF: add new bld.create_ns3_module() and bld.create_ns3_program() methods to make declaration of modules and programs simpler, and allowing us to change how ns-3 is built in a centralized way, without needing to change every module wscript file.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
1198
diff
changeset
|
41 |
obj.source = 'simple-global-routing.cc' |
2f7791ae388d
WAF: add new bld.create_ns3_module() and bld.create_ns3_program() methods to make declaration of modules and programs simpler, and allowing us to change how ns-3 is built in a centralized way, without needing to change every module wscript file.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
1198
diff
changeset
|
42 |
|
4541
e943b94bf523
Rename TapNetDevice to VirtualNetDevice
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
4539
diff
changeset
|
43 |
obj = bld.create_ns3_program('virtual-net-device', |
e943b94bf523
Rename TapNetDevice to VirtualNetDevice
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
4539
diff
changeset
|
44 |
['point-to-point', 'internet-stack', 'global-routing', 'virtual-net-device']) |
e943b94bf523
Rename TapNetDevice to VirtualNetDevice
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
4539
diff
changeset
|
45 |
obj.source = 'virtual-net-device.cc' |
4538
3048bd67e5cf
Add an example for TapNetDevice
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
4418
diff
changeset
|
46 |
|
1776
0d5be0c3d229
Add support for non-unit-cost metrics for Ipv4Interfaces (for use in routing); add example script simple-alternate-routing.cc
Tom Henderson <tomh@tomh.org>
parents:
1747
diff
changeset
|
47 |
obj = bld.create_ns3_program('simple-alternate-routing', |
3793
a5895f134543
make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents:
3643
diff
changeset
|
48 |
['point-to-point', 'internet-stack', 'global-routing']) |
1776
0d5be0c3d229
Add support for non-unit-cost metrics for Ipv4Interfaces (for use in routing); add example script simple-alternate-routing.cc
Tom Henderson <tomh@tomh.org>
parents:
1747
diff
changeset
|
49 |
obj.source = 'simple-alternate-routing.cc' |
0d5be0c3d229
Add support for non-unit-cost metrics for Ipv4Interfaces (for use in routing); add example script simple-alternate-routing.cc
Tom Henderson <tomh@tomh.org>
parents:
1747
diff
changeset
|
50 |
|
1820
736919bd4874
Add src/common/error-model implementation and example script, and add to NetDevices
Tom Henderson <tomh@tomh.org>
parents:
1781
diff
changeset
|
51 |
obj = bld.create_ns3_program('simple-error-model', |
3793
a5895f134543
make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents:
3643
diff
changeset
|
52 |
['point-to-point', 'internet-stack']) |
1820
736919bd4874
Add src/common/error-model implementation and example script, and add to NetDevices
Tom Henderson <tomh@tomh.org>
parents:
1781
diff
changeset
|
53 |
obj.source = 'simple-error-model.cc' |
736919bd4874
Add src/common/error-model implementation and example script, and add to NetDevices
Tom Henderson <tomh@tomh.org>
parents:
1781
diff
changeset
|
54 |
|
1272 | 55 |
obj = bld.create_ns3_program('csma-one-subnet', |
3793
a5895f134543
make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents:
3643
diff
changeset
|
56 |
['csma', 'internet-stack']) |
1272 | 57 |
obj.source = 'csma-one-subnet.cc' |
1217
2f7791ae388d
WAF: add new bld.create_ns3_module() and bld.create_ns3_program() methods to make declaration of modules and programs simpler, and allowing us to change how ns-3 is built in a centralized way, without needing to change every module wscript file.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
1198
diff
changeset
|
58 |
|
3440
4cedf996375d
Start of a BridgeNetDevice example, using csma (basically an Ethernet Switch).
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3336
diff
changeset
|
59 |
obj = bld.create_ns3_program('csma-bridge', |
3793
a5895f134543
make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents:
3643
diff
changeset
|
60 |
['bridge', 'csma', 'internet-stack']) |
3440
4cedf996375d
Start of a BridgeNetDevice example, using csma (basically an Ethernet Switch).
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3336
diff
changeset
|
61 |
obj.source = 'csma-bridge.cc' |
4cedf996375d
Start of a BridgeNetDevice example, using csma (basically an Ethernet Switch).
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3336
diff
changeset
|
62 |
|
3935
4b18d1e1e2e5
add bridged routing example
Craig Dowell <craigdo@ee.washington.edu>
parents:
3854
diff
changeset
|
63 |
obj = bld.create_ns3_program('csma-bridge-one-hop', |
4b18d1e1e2e5
add bridged routing example
Craig Dowell <craigdo@ee.washington.edu>
parents:
3854
diff
changeset
|
64 |
['bridge', 'csma', 'internet-stack']) |
4b18d1e1e2e5
add bridged routing example
Craig Dowell <craigdo@ee.washington.edu>
parents:
3854
diff
changeset
|
65 |
obj.source = 'csma-bridge-one-hop.cc' |
4b18d1e1e2e5
add bridged routing example
Craig Dowell <craigdo@ee.washington.edu>
parents:
3854
diff
changeset
|
66 |
|
1496
0ad4c18b475c
start of udp echo applications
Craig Dowell <craigdo@ee.washington.edu>
parents:
1449
diff
changeset
|
67 |
obj = bld.create_ns3_program('udp-echo', |
3793
a5895f134543
make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents:
3643
diff
changeset
|
68 |
['csma', 'internet-stack']) |
1496
0ad4c18b475c
start of udp echo applications
Craig Dowell <craigdo@ee.washington.edu>
parents:
1449
diff
changeset
|
69 |
obj.source = 'udp-echo.cc' |
0ad4c18b475c
start of udp echo applications
Craig Dowell <craigdo@ee.washington.edu>
parents:
1449
diff
changeset
|
70 |
|
3560
5aa65b1ea001
add realtime simulator and associated tests
Craig Dowell <craigdo@ee.washington.edu>
parents:
3523
diff
changeset
|
71 |
obj = bld.create_ns3_program('realtime-udp-echo', |
3793
a5895f134543
make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents:
3643
diff
changeset
|
72 |
['csma', 'internet-stack']) |
3560
5aa65b1ea001
add realtime simulator and associated tests
Craig Dowell <craigdo@ee.washington.edu>
parents:
3523
diff
changeset
|
73 |
obj.source = 'realtime-udp-echo.cc' |
5aa65b1ea001
add realtime simulator and associated tests
Craig Dowell <craigdo@ee.washington.edu>
parents:
3523
diff
changeset
|
74 |
|
1318
89b78e2d521e
Fix for bug69: set local address correctly upon UDP connect; apply correct UDP connect() semantics (that sendto cannot override addresses on a connected socket); if destination is IPv4 limited broadcast address, convert to subnet-directed broadcast and send out on each interface; provide example csma-broadcast.cc script
Tom Henderson <tomh@tomh.org>
parents:
1305
diff
changeset
|
75 |
obj = bld.create_ns3_program('csma-broadcast', |
3793
a5895f134543
make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents:
3643
diff
changeset
|
76 |
['csma', 'internet-stack']) |
1318
89b78e2d521e
Fix for bug69: set local address correctly upon UDP connect; apply correct UDP connect() semantics (that sendto cannot override addresses on a connected socket); if destination is IPv4 limited broadcast address, convert to subnet-directed broadcast and send out on each interface; provide example csma-broadcast.cc script
Tom Henderson <tomh@tomh.org>
parents:
1305
diff
changeset
|
77 |
obj.source = 'csma-broadcast.cc' |
89b78e2d521e
Fix for bug69: set local address correctly upon UDP connect; apply correct UDP connect() semantics (that sendto cannot override addresses on a connected socket); if destination is IPv4 limited broadcast address, convert to subnet-directed broadcast and send out on each interface; provide example csma-broadcast.cc script
Tom Henderson <tomh@tomh.org>
parents:
1305
diff
changeset
|
78 |
|
1272 | 79 |
obj = bld.create_ns3_program('csma-packet-socket', |
3793
a5895f134543
make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents:
3643
diff
changeset
|
80 |
['csma', 'internet-stack']) |
1272 | 81 |
obj.source = 'csma-packet-socket.cc' |
1278 | 82 |
|
1428
a8f3d01d4a2c
untested multicast support
Craig Dowell <craigdo@ee.washington.edu>
parents:
1272
diff
changeset
|
83 |
obj = bld.create_ns3_program('csma-multicast', |
3793
a5895f134543
make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents:
3643
diff
changeset
|
84 |
['csma', 'internet-stack']) |
1428
a8f3d01d4a2c
untested multicast support
Craig Dowell <craigdo@ee.washington.edu>
parents:
1272
diff
changeset
|
85 |
obj.source = 'csma-multicast.cc' |
a8f3d01d4a2c
untested multicast support
Craig Dowell <craigdo@ee.washington.edu>
parents:
1272
diff
changeset
|
86 |
|
1278 | 87 |
obj = bld.create_ns3_program( 'mixed-global-routing', |
3793
a5895f134543
make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents:
3643
diff
changeset
|
88 |
['point-to-point', 'internet-stack', 'global-routing' , 'csma-cd']) |
1278 | 89 |
obj.source = 'mixed-global-routing.cc' |
1738 | 90 |
|
91 |
obj = bld.create_ns3_program('simple-point-to-point-olsr', |
|
3793
a5895f134543
make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents:
3643
diff
changeset
|
92 |
['point-to-point', 'internet-stack', 'olsr']) |
1740
3d3168e8fef6
Update OLSR code to NS-3 API changes.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
1738
diff
changeset
|
93 |
obj.source = 'simple-point-to-point-olsr.cc' |
2224
6f97d21a99c2
Added in ns-3-tcp (second try)
Raj Bhattacharjea <raj.b@gatech.edu>
parents:
1820
diff
changeset
|
94 |
|
6f97d21a99c2
Added in ns-3-tcp (second try)
Raj Bhattacharjea <raj.b@gatech.edu>
parents:
1820
diff
changeset
|
95 |
obj = bld.create_ns3_program('tcp-large-transfer', |
3793
a5895f134543
make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents:
3643
diff
changeset
|
96 |
['point-to-point', 'internet-stack']) |
2224
6f97d21a99c2
Added in ns-3-tcp (second try)
Raj Bhattacharjea <raj.b@gatech.edu>
parents:
1820
diff
changeset
|
97 |
obj.source = 'tcp-large-transfer.cc' |
6f97d21a99c2
Added in ns-3-tcp (second try)
Raj Bhattacharjea <raj.b@gatech.edu>
parents:
1820
diff
changeset
|
98 |
|
3580 | 99 |
obj = bld.create_ns3_program('tcp-nsc-lfn', |
3793
a5895f134543
make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents:
3643
diff
changeset
|
100 |
['point-to-point', 'internet-stack']) |
3580 | 101 |
obj.source = 'tcp-nsc-lfn.cc' |
102 |
||
103 |
obj = bld.create_ns3_program('tcp-nsc-zoo', |
|
3793
a5895f134543
make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents:
3643
diff
changeset
|
104 |
['csma', 'internet-stack']) |
3580 | 105 |
obj.source = 'tcp-nsc-zoo.cc' |
106 |
||
3366
923e47a54fe8
Add a tcp server example
Raj Bhattacharjea <raj.b@gatech.edu>
parents:
3336
diff
changeset
|
107 |
obj = bld.create_ns3_program('tcp-star-server', |
3793
a5895f134543
make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents:
3643
diff
changeset
|
108 |
['point-to-point', 'internet-stack']) |
3366
923e47a54fe8
Add a tcp server example
Raj Bhattacharjea <raj.b@gatech.edu>
parents:
3336
diff
changeset
|
109 |
obj.source = 'tcp-star-server.cc' |
923e47a54fe8
Add a tcp server example
Raj Bhattacharjea <raj.b@gatech.edu>
parents:
3336
diff
changeset
|
110 |
|
3793
a5895f134543
make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents:
3643
diff
changeset
|
111 |
obj = bld.create_ns3_program('star', |
a5895f134543
make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents:
3643
diff
changeset
|
112 |
['point-to-point', 'internet-stack']) |
a5895f134543
make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents:
3643
diff
changeset
|
113 |
obj.source = 'star.cc' |
a5895f134543
make star topologies easier to create
Craig Dowell <craigdo@ee.washington.edu>
parents:
3643
diff
changeset
|
114 |
|
3795
707acdf0f8b3
csma version of install star and example
Craig Dowell <craigdo@ee.washington.edu>
parents:
3793
diff
changeset
|
115 |
obj = bld.create_ns3_program('csma-star', |
707acdf0f8b3
csma version of install star and example
Craig Dowell <craigdo@ee.washington.edu>
parents:
3793
diff
changeset
|
116 |
['csma', 'internet-stack']) |
707acdf0f8b3
csma version of install star and example
Craig Dowell <craigdo@ee.washington.edu>
parents:
3793
diff
changeset
|
117 |
obj.source = 'csma-star.cc' |
707acdf0f8b3
csma version of install star and example
Craig Dowell <craigdo@ee.washington.edu>
parents:
3793
diff
changeset
|
118 |
|
2662
2ace0f6fd238
move wifi examples to example directory
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2224
diff
changeset
|
119 |
obj = bld.create_ns3_program('wifi-adhoc', |
2ace0f6fd238
move wifi examples to example directory
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2224
diff
changeset
|
120 |
['core', 'simulator', 'mobility', 'wifi']) |
2ace0f6fd238
move wifi examples to example directory
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2224
diff
changeset
|
121 |
obj.source = 'wifi-adhoc.cc' |
2224
6f97d21a99c2
Added in ns-3-tcp (second try)
Raj Bhattacharjea <raj.b@gatech.edu>
parents:
1820
diff
changeset
|
122 |
|
4470 | 123 |
obj = bld.create_ns3_program('wifi-clear-channel-cmu', |
124 |
['core', 'simulator', 'mobility', 'wifi']) |
|
125 |
obj.source = 'wifi-clear-channel-cmu.cc' |
|
126 |
||
2662
2ace0f6fd238
move wifi examples to example directory
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2224
diff
changeset
|
127 |
obj = bld.create_ns3_program('wifi-ap', |
2ace0f6fd238
move wifi examples to example directory
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2224
diff
changeset
|
128 |
['core', 'simulator', 'mobility', 'wifi']) |
2ace0f6fd238
move wifi examples to example directory
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2224
diff
changeset
|
129 |
obj.source = 'wifi-ap.cc' |
2ace0f6fd238
move wifi examples to example directory
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2224
diff
changeset
|
130 |
|
3570
44b0bc6817c6
Stats module and example merged in.
tjkopena@cs.drexel.edu
parents:
3560
diff
changeset
|
131 |
bld.add_subdirs('stats') |
3616
660d3a0c40cd
testcase for wifi bridging
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3581
diff
changeset
|
132 |
|
660d3a0c40cd
testcase for wifi bridging
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3581
diff
changeset
|
133 |
obj = bld.create_ns3_program('wifi-wired-bridging', |
660d3a0c40cd
testcase for wifi bridging
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3581
diff
changeset
|
134 |
['core', 'simulator', 'mobility', 'wifi', |
660d3a0c40cd
testcase for wifi bridging
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3581
diff
changeset
|
135 |
'csma', 'helper', 'bridge']) |
660d3a0c40cd
testcase for wifi bridging
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3581
diff
changeset
|
136 |
obj.source = 'wifi-wired-bridging.cc' |
3821
9ea825f066a2
Apply icmp-application patch frm lacage
Craig Dowell <craigdo@ee.washington.edu>
parents:
3795
diff
changeset
|
137 |
|
9ea825f066a2
Apply icmp-application patch frm lacage
Craig Dowell <craigdo@ee.washington.edu>
parents:
3795
diff
changeset
|
138 |
obj = bld.create_ns3_program('csma-raw-ip-socket', |
9ea825f066a2
Apply icmp-application patch frm lacage
Craig Dowell <craigdo@ee.washington.edu>
parents:
3795
diff
changeset
|
139 |
['csma', 'internet-stack']) |
9ea825f066a2
Apply icmp-application patch frm lacage
Craig Dowell <craigdo@ee.washington.edu>
parents:
3795
diff
changeset
|
140 |
obj.source = 'csma-raw-ip-socket.cc' |
9ea825f066a2
Apply icmp-application patch frm lacage
Craig Dowell <craigdo@ee.washington.edu>
parents:
3795
diff
changeset
|
141 |
|
9ea825f066a2
Apply icmp-application patch frm lacage
Craig Dowell <craigdo@ee.washington.edu>
parents:
3795
diff
changeset
|
142 |
obj = bld.create_ns3_program('csma-ping', |
9ea825f066a2
Apply icmp-application patch frm lacage
Craig Dowell <craigdo@ee.washington.edu>
parents:
3795
diff
changeset
|
143 |
['csma', 'internet-stack', 'v4ping']) |
9ea825f066a2
Apply icmp-application patch frm lacage
Craig Dowell <craigdo@ee.washington.edu>
parents:
3795
diff
changeset
|
144 |
obj.source = 'csma-ping.cc' |
3852 | 145 |
|
146 |
obj = bld.create_ns3_program('test-ipv6', |
|
147 |
['point-to-point', 'internet-stack']) |
|
148 |
obj.source = 'test-ipv6.cc' |
|
3854 | 149 |
|
150 |
env = bld.env_of_name('default') |
|
151 |
if env['ENABLE_EMU']: |
|
4418
74983e885cdd
new emu-ping example
Craig Dowell <craigdo@ee.washington.edu>
parents:
4408
diff
changeset
|
152 |
obj = bld.create_ns3_program('emu-udp-echo', ['emu', 'internet-stack']) |
3854 | 153 |
obj.source = 'emu-udp-echo.cc' |
154 |
||
4418
74983e885cdd
new emu-ping example
Craig Dowell <craigdo@ee.washington.edu>
parents:
4408
diff
changeset
|
155 |
obj = bld.create_ns3_program('emu-ping', ['emu', 'internet-stack']) |
74983e885cdd
new emu-ping example
Craig Dowell <craigdo@ee.washington.edu>
parents:
4408
diff
changeset
|
156 |
obj.source = 'emu-ping.cc' |
74983e885cdd
new emu-ping example
Craig Dowell <craigdo@ee.washington.edu>
parents:
4408
diff
changeset
|
157 |
|
4185
6740cafc08a9
don't build tap-bridge-helper or tap-wifi-dumbbell if tap-bride not enabled
Craig Dowell <craigdo@ee.washington.edu>
parents:
4182
diff
changeset
|
158 |
if env['ENABLE_TAP']: |
6740cafc08a9
don't build tap-bridge-helper or tap-wifi-dumbbell if tap-bride not enabled
Craig Dowell <craigdo@ee.washington.edu>
parents:
4182
diff
changeset
|
159 |
obj = bld.create_ns3_program('tap-wifi-dumbbell', |
6740cafc08a9
don't build tap-bridge-helper or tap-wifi-dumbbell if tap-bride not enabled
Craig Dowell <craigdo@ee.washington.edu>
parents:
4182
diff
changeset
|
160 |
['wifi', 'csma', 'point-to-point', 'tap-bridge', 'internet-stack']) |
6740cafc08a9
don't build tap-bridge-helper or tap-wifi-dumbbell if tap-bride not enabled
Craig Dowell <craigdo@ee.washington.edu>
parents:
4182
diff
changeset
|
161 |
obj.source = 'tap-wifi-dumbbell.cc' |
4408 | 162 |
|
163 |
obj = bld.create_ns3_program('simple-wifi-frame-aggregation', |
|
164 |
['core', 'simulator', 'mobility', 'wifi']) |
|
165 |
obj.source = 'simple-wifi-frame-aggregation.cc' |