author | Mathieu Lacage <mathieu.lacage@sophia.inria.fr> |
Mon, 09 Jun 2008 15:40:22 -0700 | |
changeset 3260 | 8c0ab08144e6 |
parent 2609 | 931d59bb1303 |
child 4064 | 10222f483860 |
permissions | -rw-r--r-- |
1496
0ad4c18b475c
start of udp echo applications
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
1 |
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
0ad4c18b475c
start of udp echo applications
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
2 |
|
0ad4c18b475c
start of udp echo applications
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
3 |
def build(bld): |
3260
8c0ab08144e6
bug 186: internet-node directory must be renamed to internet-stack
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
2609
diff
changeset
|
4 |
module = bld.create_ns3_module('udp-echo', ['internet-stack']) |
1496
0ad4c18b475c
start of udp echo applications
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
5 |
module.source = [ |
0ad4c18b475c
start of udp echo applications
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
6 |
'udp-echo-client.cc', |
1497 | 7 |
'udp-echo-server.cc', |
1496
0ad4c18b475c
start of udp echo applications
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
8 |
] |
0ad4c18b475c
start of udp echo applications
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
9 |
headers = bld.create_obj('ns3header') |
2609
931d59bb1303
Add a 'module' attribute to the ns3header object specifying which module each set of headers belongs to.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
1497
diff
changeset
|
10 |
headers.module = 'udp-echo' |
1496
0ad4c18b475c
start of udp echo applications
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
11 |
headers.source = [ |
0ad4c18b475c
start of udp echo applications
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
12 |
'udp-echo-client.h', |
1497 | 13 |
'udp-echo-server.h', |
1496
0ad4c18b475c
start of udp echo applications
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
14 |
] |
0ad4c18b475c
start of udp echo applications
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
15 |