author | Gustavo J. A. M. Carneiro <gjc@inescporto.pt> |
Mon, 29 Dec 2008 13:28:54 +0000 | |
changeset 4064 | 10222f483860 |
parent 3449 | c3dcecc4825a |
child 6635 | d52752c85699 |
permissions | -rw-r--r-- |
3439
a64d1da0d6bf
Start of a BridgeNetDevice; for now does not yet do the 'learning' part, and does not preserve the source address of mac frames.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
1 |
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
a64d1da0d6bf
Start of a BridgeNetDevice; for now does not yet do the 'learning' part, and does not preserve the source address of mac frames.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
2 |
|
a64d1da0d6bf
Start of a BridgeNetDevice; for now does not yet do the 'learning' part, and does not preserve the source address of mac frames.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
3 |
def build(bld): |
a64d1da0d6bf
Start of a BridgeNetDevice; for now does not yet do the 'learning' part, and does not preserve the source address of mac frames.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
4 |
obj = bld.create_ns3_module('bridge', ['node']) |
a64d1da0d6bf
Start of a BridgeNetDevice; for now does not yet do the 'learning' part, and does not preserve the source address of mac frames.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
5 |
obj.source = [ |
a64d1da0d6bf
Start of a BridgeNetDevice; for now does not yet do the 'learning' part, and does not preserve the source address of mac frames.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
6 |
'bridge-net-device.cc', |
3449
c3dcecc4825a
Add BridgeChannel
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3439
diff
changeset
|
7 |
'bridge-channel.cc', |
3439
a64d1da0d6bf
Start of a BridgeNetDevice; for now does not yet do the 'learning' part, and does not preserve the source address of mac frames.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
8 |
] |
4064
10222f483860
Upgrade to new WAF, work in progress
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3449
diff
changeset
|
9 |
headers = bld.new_task_gen('ns3header') |
3439
a64d1da0d6bf
Start of a BridgeNetDevice; for now does not yet do the 'learning' part, and does not preserve the source address of mac frames.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
10 |
headers.module = 'bridge' |
a64d1da0d6bf
Start of a BridgeNetDevice; for now does not yet do the 'learning' part, and does not preserve the source address of mac frames.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
11 |
headers.source = [ |
a64d1da0d6bf
Start of a BridgeNetDevice; for now does not yet do the 'learning' part, and does not preserve the source address of mac frames.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
12 |
'bridge-net-device.h', |
3449
c3dcecc4825a
Add BridgeChannel
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3439
diff
changeset
|
13 |
'bridge-channel.h', |
3439
a64d1da0d6bf
Start of a BridgeNetDevice; for now does not yet do the 'learning' part, and does not preserve the source address of mac frames.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff
changeset
|
14 |
] |