1
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
4
network = bld.create_ns3_module('network', ['core'])
7
'model/application.cc',
9
'model/byte-tag-list.cc',
11
'model/channel-list.cc',
14
'model/nix-vector.cc',
17
'model/net-device.cc',
19
'model/packet-metadata.cc',
20
'model/packet-tag-list.cc',
22
'model/socket-factory.cc',
24
'model/tag-buffer.cc',
26
'utils/address-utils.cc',
28
'utils/drop-tail-queue.cc',
29
'utils/error-model.cc',
30
'utils/ethernet-header.cc',
31
'utils/ethernet-trailer.cc',
32
'utils/flow-id-tag.cc',
33
'utils/inet-socket-address.cc',
34
'utils/inet6-socket-address.cc',
35
'utils/ipv4-address.cc',
36
'utils/ipv6-address.cc',
37
'utils/mac48-address.cc',
38
'utils/mac64-address.cc',
39
'utils/llc-snap-header.cc',
40
'utils/output-stream-wrapper.cc',
42
'utils/packet-burst.cc',
43
'utils/packet-socket.cc',
44
'utils/packet-socket-address.cc',
45
'utils/packet-socket-factory.cc',
47
'utils/pcap-file-wrapper.cc',
49
'utils/radiotap-header.cc',
50
'utils/simple-channel.cc',
51
'utils/simple-net-device.cc',
52
'helper/application-container.cc',
53
'helper/net-device-container.cc',
54
'helper/node-container.cc',
55
'helper/packet-socket-helper.cc',
56
'helper/trace-helper.cc',
59
network_test = bld.create_ns3_module_test_library('network')
60
network_test.source = [
61
'test/buffer-test.cc',
62
'test/drop-tail-queue-test-suite.cc',
63
'test/packetbb-test-suite.cc',
64
'test/packet-test-suite.cc',
65
'test/packet-metadata-test.cc',
66
'test/pcap-file-test-suite.cc',
67
'test/sequence-number-test-suite.cc',
70
headers = bld.new_task_gen('ns3header')
71
headers.module = 'network'
74
'model/application.h',
76
'model/byte-tag-list.h',
78
'model/channel-list.h',
86
'model/packet-metadata.h',
87
'model/packet-tag-list.h',
89
'model/socket-factory.h',
93
'utils/address-utils.h',
95
'utils/drop-tail-queue.h',
96
'utils/error-model.h',
97
'utils/ethernet-header.h',
98
'utils/ethernet-trailer.h',
99
'utils/flow-id-tag.h',
100
'utils/inet-socket-address.h',
101
'utils/inet6-socket-address.h',
102
'utils/ipv4-address.h',
103
'utils/ipv6-address.h',
104
'utils/llc-snap-header.h',
105
'utils/mac48-address.h',
106
'utils/mac64-address.h',
107
'utils/output-stream-wrapper.h',
109
'utils/packet-burst.h',
110
'utils/packet-socket.h',
111
'utils/packet-socket-address.h',
112
'utils/packet-socket-factory.h',
114
'utils/pcap-file-wrapper.h',
115
'utils/generic-phy.h',
117
'utils/radiotap-header.h',
118
'utils/sequence-number.h',
119
'utils/sgi-hashmap.h',
120
'utils/simple-channel.h',
121
'utils/simple-net-device.h',
123
'helper/application-container.h',
124
'helper/net-device-container.h',
125
'helper/node-container.h',
126
'helper/packet-socket-helper.h',
127
'helper/trace-helper.h',
130
if (bld.env['ENABLE_EXAMPLES']):
131
bld.add_subdirs('examples')
133
bld.ns3_python_bindings()