tomh@4474
|
1 |
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
|
gjc@3408
|
2 |
|
gjc@3408
|
3 |
def register_types(module):
|
gjc@3408
|
4 |
root_module = module.get_root()
|
gjc@3408
|
5 |
|
gjc@3408
|
6 |
## global-route-manager.h: ns3::GlobalRouteManager [class]
|
gjc@3408
|
7 |
module.add_class('GlobalRouteManager')
|
gjc@3408
|
8 |
## global-router-interface.h: ns3::GlobalRoutingLSA [class]
|
gjc@3408
|
9 |
module.add_class('GlobalRoutingLSA')
|
gjc@3408
|
10 |
## global-router-interface.h: ns3::GlobalRoutingLSA::LSType [enumeration]
|
gjc@3408
|
11 |
module.add_enum('LSType', ['Unknown', 'RouterLSA', 'NetworkLSA', 'SummaryLSA', 'SummaryLSA_ASBR', 'ASExternalLSAs'], outer_class=root_module['ns3::GlobalRoutingLSA'])
|
gjc@3408
|
12 |
## global-router-interface.h: ns3::GlobalRoutingLSA::SPFStatus [enumeration]
|
gjc@3408
|
13 |
module.add_enum('SPFStatus', ['LSA_SPF_NOT_EXPLORED', 'LSA_SPF_CANDIDATE', 'LSA_SPF_IN_SPFTREE'], outer_class=root_module['ns3::GlobalRoutingLSA'])
|
gjc@3408
|
14 |
## global-router-interface.h: ns3::GlobalRoutingLinkRecord [class]
|
gjc@3408
|
15 |
module.add_class('GlobalRoutingLinkRecord')
|
gjc@3408
|
16 |
## global-router-interface.h: ns3::GlobalRoutingLinkRecord::LinkType [enumeration]
|
gjc@3408
|
17 |
module.add_enum('LinkType', ['Unknown', 'PointToPoint', 'TransitNetwork', 'StubNetwork', 'VirtualLink'], outer_class=root_module['ns3::GlobalRoutingLinkRecord'])
|
gjc@3408
|
18 |
## global-router-interface.h: ns3::GlobalRouter [class]
|
gjc@3457
|
19 |
module.add_class('GlobalRouter', is_singleton=True, parent=root_module['ns3::Object'])
|
mathieu@4616
|
20 |
## ipv4-global-routing.h: ns3::Ipv4GlobalRouting [class]
|
mathieu@4616
|
21 |
module.add_class('Ipv4GlobalRouting', parent=root_module['ns3::Ipv4RoutingProtocol'])
|
gjc@3408
|
22 |
|
gjc@3855
|
23 |
## Register a nested module for the namespace Config
|
gjc@3408
|
24 |
|
gjc@3855
|
25 |
nested_module = module.add_cpp_namespace('Config')
|
gjc@3855
|
26 |
register_types_ns3_Config(nested_module)
|
gjc@3408
|
27 |
|
gjc@3408
|
28 |
|
gjc@3408
|
29 |
## Register a nested module for the namespace TimeStepPrecision
|
gjc@3408
|
30 |
|
gjc@3408
|
31 |
nested_module = module.add_cpp_namespace('TimeStepPrecision')
|
gjc@3408
|
32 |
register_types_ns3_TimeStepPrecision(nested_module)
|
gjc@3408
|
33 |
|
gjc@3408
|
34 |
|
tomh@4474
|
35 |
## Register a nested module for the namespace addressUtils
|
tomh@4474
|
36 |
|
tomh@4474
|
37 |
nested_module = module.add_cpp_namespace('addressUtils')
|
tomh@4474
|
38 |
register_types_ns3_addressUtils(nested_module)
|
tomh@4474
|
39 |
|
tomh@4474
|
40 |
|
gjc@3855
|
41 |
## Register a nested module for the namespace internal
|
gjc@3408
|
42 |
|
gjc@3855
|
43 |
nested_module = module.add_cpp_namespace('internal')
|
gjc@3855
|
44 |
register_types_ns3_internal(nested_module)
|
gjc@3408
|
45 |
|
gjc@3408
|
46 |
|
gjc@3408
|
47 |
## Register a nested module for the namespace olsr
|
gjc@3408
|
48 |
|
gjc@3408
|
49 |
nested_module = module.add_cpp_namespace('olsr')
|
gjc@3408
|
50 |
register_types_ns3_olsr(nested_module)
|
gjc@3408
|
51 |
|
gjc@3408
|
52 |
|
gjc@3855
|
53 |
def register_types_ns3_Config(module):
|
gjc@3408
|
54 |
root_module = module.get_root()
|
gjc@3408
|
55 |
|
gjc@3408
|
56 |
|
gjc@3408
|
57 |
def register_types_ns3_TimeStepPrecision(module):
|
gjc@3408
|
58 |
root_module = module.get_root()
|
gjc@3408
|
59 |
|
gjc@3408
|
60 |
|
tomh@4474
|
61 |
def register_types_ns3_addressUtils(module):
|
tomh@4474
|
62 |
root_module = module.get_root()
|
tomh@4474
|
63 |
|
tomh@4474
|
64 |
|
gjc@3855
|
65 |
def register_types_ns3_internal(module):
|
gjc@3408
|
66 |
root_module = module.get_root()
|
gjc@3408
|
67 |
|
gjc@3408
|
68 |
|
gjc@3408
|
69 |
def register_types_ns3_olsr(module):
|
gjc@3408
|
70 |
root_module = module.get_root()
|
gjc@3408
|
71 |
|
gjc@3408
|
72 |
|
gjc@3408
|
73 |
def register_methods(root_module):
|
gjc@3408
|
74 |
register_Ns3GlobalRouteManager_methods(root_module, root_module['ns3::GlobalRouteManager'])
|
gjc@3408
|
75 |
register_Ns3GlobalRoutingLSA_methods(root_module, root_module['ns3::GlobalRoutingLSA'])
|
gjc@3408
|
76 |
register_Ns3GlobalRoutingLinkRecord_methods(root_module, root_module['ns3::GlobalRoutingLinkRecord'])
|
gjc@3408
|
77 |
register_Ns3GlobalRouter_methods(root_module, root_module['ns3::GlobalRouter'])
|
mathieu@4616
|
78 |
register_Ns3Ipv4GlobalRouting_methods(root_module, root_module['ns3::Ipv4GlobalRouting'])
|
gjc@3408
|
79 |
return
|
gjc@3408
|
80 |
|
gjc@3408
|
81 |
def register_Ns3GlobalRouteManager_methods(root_module, cls):
|
gjc@3408
|
82 |
## global-route-manager.h: static void ns3::GlobalRouteManager::PopulateRoutingTables() [member function]
|
gjc@3468
|
83 |
cls.add_method('PopulateRoutingTables',
|
gjc@3468
|
84 |
'void',
|
gjc@3468
|
85 |
[],
|
gjc@3468
|
86 |
is_static=True)
|
craigdo@3972
|
87 |
## global-route-manager.h: static void ns3::GlobalRouteManager::RecomputeRoutingTables() [member function]
|
craigdo@3972
|
88 |
cls.add_method('RecomputeRoutingTables',
|
craigdo@3972
|
89 |
'void',
|
craigdo@3972
|
90 |
[],
|
craigdo@3972
|
91 |
is_static=True)
|
gjc@3408
|
92 |
## global-route-manager.h: static uint32_t ns3::GlobalRouteManager::AllocateRouterId() [member function]
|
gjc@3468
|
93 |
cls.add_method('AllocateRouterId',
|
gjc@3468
|
94 |
'uint32_t',
|
gjc@3468
|
95 |
[],
|
gjc@3468
|
96 |
is_static=True)
|
gjc@3408
|
97 |
return
|
gjc@3408
|
98 |
|
gjc@3408
|
99 |
def register_Ns3GlobalRoutingLSA_methods(root_module, cls):
|
gjc@3731
|
100 |
cls.add_output_stream_operator()
|
gjc@3408
|
101 |
## global-router-interface.h: ns3::GlobalRoutingLSA::GlobalRoutingLSA() [constructor]
|
gjc@3468
|
102 |
cls.add_constructor([])
|
gjc@3408
|
103 |
## global-router-interface.h: ns3::GlobalRoutingLSA::GlobalRoutingLSA(ns3::GlobalRoutingLSA::SPFStatus status, ns3::Ipv4Address linkStateId, ns3::Ipv4Address advertisingRtr) [constructor]
|
gjc@3468
|
104 |
cls.add_constructor([param('ns3::GlobalRoutingLSA::SPFStatus', 'status'), param('ns3::Ipv4Address', 'linkStateId'), param('ns3::Ipv4Address', 'advertisingRtr')])
|
gjc@3408
|
105 |
## global-router-interface.h: ns3::GlobalRoutingLSA::GlobalRoutingLSA(ns3::GlobalRoutingLSA & lsa) [constructor]
|
gjc@3574
|
106 |
cls.add_constructor([param('ns3::GlobalRoutingLSA &', 'lsa')])
|
gjc@3408
|
107 |
## global-router-interface.h: uint32_t ns3::GlobalRoutingLSA::AddAttachedRouter(ns3::Ipv4Address addr) [member function]
|
gjc@3468
|
108 |
cls.add_method('AddAttachedRouter',
|
gjc@3468
|
109 |
'uint32_t',
|
gjc@3468
|
110 |
[param('ns3::Ipv4Address', 'addr')])
|
gjc@3408
|
111 |
## global-router-interface.h: uint32_t ns3::GlobalRoutingLSA::AddLinkRecord(ns3::GlobalRoutingLinkRecord * lr) [member function]
|
gjc@3468
|
112 |
cls.add_method('AddLinkRecord',
|
gjc@3468
|
113 |
'uint32_t',
|
gjc@3468
|
114 |
[param('ns3::GlobalRoutingLinkRecord *', 'lr')])
|
gjc@3408
|
115 |
## global-router-interface.h: void ns3::GlobalRoutingLSA::ClearLinkRecords() [member function]
|
gjc@3468
|
116 |
cls.add_method('ClearLinkRecords',
|
gjc@3468
|
117 |
'void',
|
gjc@3468
|
118 |
[])
|
gjc@3408
|
119 |
## global-router-interface.h: void ns3::GlobalRoutingLSA::CopyLinkRecords(ns3::GlobalRoutingLSA const & lsa) [member function]
|
gjc@3468
|
120 |
cls.add_method('CopyLinkRecords',
|
gjc@3468
|
121 |
'void',
|
gjc@3574
|
122 |
[param('ns3::GlobalRoutingLSA const &', 'lsa')])
|
gjc@3408
|
123 |
## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLSA::GetAdvertisingRouter() const [member function]
|
gjc@3468
|
124 |
cls.add_method('GetAdvertisingRouter',
|
gjc@3468
|
125 |
'ns3::Ipv4Address',
|
gjc@3468
|
126 |
[],
|
gjc@3468
|
127 |
is_const=True)
|
gjc@3408
|
128 |
## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLSA::GetAttachedRouter(uint32_t n) const [member function]
|
gjc@3468
|
129 |
cls.add_method('GetAttachedRouter',
|
gjc@3468
|
130 |
'ns3::Ipv4Address',
|
gjc@3468
|
131 |
[param('uint32_t', 'n')],
|
gjc@3468
|
132 |
is_const=True)
|
gjc@3408
|
133 |
## global-router-interface.h: ns3::GlobalRoutingLSA::LSType ns3::GlobalRoutingLSA::GetLSType() const [member function]
|
gjc@3468
|
134 |
cls.add_method('GetLSType',
|
gjc@3468
|
135 |
'ns3::GlobalRoutingLSA::LSType',
|
gjc@3468
|
136 |
[],
|
gjc@3468
|
137 |
is_const=True)
|
gjc@3408
|
138 |
## global-router-interface.h: ns3::GlobalRoutingLinkRecord * ns3::GlobalRoutingLSA::GetLinkRecord(uint32_t n) const [member function]
|
gjc@3468
|
139 |
cls.add_method('GetLinkRecord',
|
gjc@3468
|
140 |
'ns3::GlobalRoutingLinkRecord *',
|
gjc@3468
|
141 |
[param('uint32_t', 'n')],
|
gjc@3468
|
142 |
is_const=True)
|
gjc@3408
|
143 |
## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLSA::GetLinkStateId() const [member function]
|
gjc@3468
|
144 |
cls.add_method('GetLinkStateId',
|
gjc@3468
|
145 |
'ns3::Ipv4Address',
|
gjc@3468
|
146 |
[],
|
gjc@3468
|
147 |
is_const=True)
|
gjc@3408
|
148 |
## global-router-interface.h: uint32_t ns3::GlobalRoutingLSA::GetNAttachedRouters() const [member function]
|
gjc@3468
|
149 |
cls.add_method('GetNAttachedRouters',
|
gjc@3468
|
150 |
'uint32_t',
|
gjc@3468
|
151 |
[],
|
gjc@3468
|
152 |
is_const=True)
|
gjc@3408
|
153 |
## global-router-interface.h: uint32_t ns3::GlobalRoutingLSA::GetNLinkRecords() const [member function]
|
gjc@3468
|
154 |
cls.add_method('GetNLinkRecords',
|
gjc@3468
|
155 |
'uint32_t',
|
gjc@3468
|
156 |
[],
|
gjc@3468
|
157 |
is_const=True)
|
gjc@3408
|
158 |
## global-router-interface.h: ns3::Ipv4Mask ns3::GlobalRoutingLSA::GetNetworkLSANetworkMask() const [member function]
|
gjc@3468
|
159 |
cls.add_method('GetNetworkLSANetworkMask',
|
gjc@3468
|
160 |
'ns3::Ipv4Mask',
|
gjc@3468
|
161 |
[],
|
gjc@3468
|
162 |
is_const=True)
|
gjc@3408
|
163 |
## global-router-interface.h: ns3::GlobalRoutingLSA::SPFStatus ns3::GlobalRoutingLSA::GetStatus() const [member function]
|
gjc@3468
|
164 |
cls.add_method('GetStatus',
|
gjc@3468
|
165 |
'ns3::GlobalRoutingLSA::SPFStatus',
|
gjc@3468
|
166 |
[],
|
gjc@3468
|
167 |
is_const=True)
|
gjc@3408
|
168 |
## global-router-interface.h: bool ns3::GlobalRoutingLSA::IsEmpty() const [member function]
|
gjc@3468
|
169 |
cls.add_method('IsEmpty',
|
gjc@3468
|
170 |
'bool',
|
gjc@3468
|
171 |
[],
|
gjc@3468
|
172 |
is_const=True)
|
gjc@3408
|
173 |
## global-router-interface.h: void ns3::GlobalRoutingLSA::Print(std::ostream & os) const [member function]
|
gjc@3468
|
174 |
cls.add_method('Print',
|
gjc@3468
|
175 |
'void',
|
gjc@3574
|
176 |
[param('std::ostream &', 'os')],
|
gjc@3468
|
177 |
is_const=True)
|
gjc@3408
|
178 |
## global-router-interface.h: void ns3::GlobalRoutingLSA::SetAdvertisingRouter(ns3::Ipv4Address rtr) [member function]
|
gjc@3468
|
179 |
cls.add_method('SetAdvertisingRouter',
|
gjc@3468
|
180 |
'void',
|
gjc@3468
|
181 |
[param('ns3::Ipv4Address', 'rtr')])
|
gjc@3408
|
182 |
## global-router-interface.h: void ns3::GlobalRoutingLSA::SetLSType(ns3::GlobalRoutingLSA::LSType typ) [member function]
|
gjc@3468
|
183 |
cls.add_method('SetLSType',
|
gjc@3468
|
184 |
'void',
|
gjc@3468
|
185 |
[param('ns3::GlobalRoutingLSA::LSType', 'typ')])
|
gjc@3408
|
186 |
## global-router-interface.h: void ns3::GlobalRoutingLSA::SetLinkStateId(ns3::Ipv4Address addr) [member function]
|
gjc@3468
|
187 |
cls.add_method('SetLinkStateId',
|
gjc@3468
|
188 |
'void',
|
gjc@3468
|
189 |
[param('ns3::Ipv4Address', 'addr')])
|
gjc@3408
|
190 |
## global-router-interface.h: void ns3::GlobalRoutingLSA::SetNetworkLSANetworkMask(ns3::Ipv4Mask mask) [member function]
|
gjc@3468
|
191 |
cls.add_method('SetNetworkLSANetworkMask',
|
gjc@3468
|
192 |
'void',
|
gjc@3468
|
193 |
[param('ns3::Ipv4Mask', 'mask')])
|
gjc@3408
|
194 |
## global-router-interface.h: void ns3::GlobalRoutingLSA::SetStatus(ns3::GlobalRoutingLSA::SPFStatus status) [member function]
|
gjc@3468
|
195 |
cls.add_method('SetStatus',
|
gjc@3468
|
196 |
'void',
|
gjc@3468
|
197 |
[param('ns3::GlobalRoutingLSA::SPFStatus', 'status')])
|
gjc@3408
|
198 |
return
|
gjc@3408
|
199 |
|
gjc@3408
|
200 |
def register_Ns3GlobalRoutingLinkRecord_methods(root_module, cls):
|
mathieu@4241
|
201 |
## global-router-interface.h: ns3::GlobalRoutingLinkRecord::GlobalRoutingLinkRecord(ns3::GlobalRoutingLinkRecord const & arg0) [copy constructor]
|
mathieu@4241
|
202 |
cls.add_constructor([param('ns3::GlobalRoutingLinkRecord const &', 'arg0')])
|
gjc@3408
|
203 |
## global-router-interface.h: ns3::GlobalRoutingLinkRecord::GlobalRoutingLinkRecord() [constructor]
|
gjc@3468
|
204 |
cls.add_constructor([])
|
gjc@3408
|
205 |
## global-router-interface.h: ns3::GlobalRoutingLinkRecord::GlobalRoutingLinkRecord(ns3::GlobalRoutingLinkRecord::LinkType linkType, ns3::Ipv4Address linkId, ns3::Ipv4Address linkData, uint16_t metric) [constructor]
|
gjc@3468
|
206 |
cls.add_constructor([param('ns3::GlobalRoutingLinkRecord::LinkType', 'linkType'), param('ns3::Ipv4Address', 'linkId'), param('ns3::Ipv4Address', 'linkData'), param('uint16_t', 'metric')])
|
gjc@3408
|
207 |
## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLinkRecord::GetLinkId() const [member function]
|
gjc@3468
|
208 |
cls.add_method('GetLinkId',
|
gjc@3468
|
209 |
'ns3::Ipv4Address',
|
gjc@3468
|
210 |
[],
|
gjc@3468
|
211 |
is_const=True)
|
gjc@3408
|
212 |
## global-router-interface.h: void ns3::GlobalRoutingLinkRecord::SetLinkId(ns3::Ipv4Address addr) [member function]
|
gjc@3468
|
213 |
cls.add_method('SetLinkId',
|
gjc@3468
|
214 |
'void',
|
gjc@3468
|
215 |
[param('ns3::Ipv4Address', 'addr')])
|
gjc@3408
|
216 |
## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLinkRecord::GetLinkData() const [member function]
|
gjc@3468
|
217 |
cls.add_method('GetLinkData',
|
gjc@3468
|
218 |
'ns3::Ipv4Address',
|
gjc@3468
|
219 |
[],
|
gjc@3468
|
220 |
is_const=True)
|
gjc@3408
|
221 |
## global-router-interface.h: void ns3::GlobalRoutingLinkRecord::SetLinkData(ns3::Ipv4Address addr) [member function]
|
gjc@3468
|
222 |
cls.add_method('SetLinkData',
|
gjc@3468
|
223 |
'void',
|
gjc@3468
|
224 |
[param('ns3::Ipv4Address', 'addr')])
|
gjc@3408
|
225 |
## global-router-interface.h: ns3::GlobalRoutingLinkRecord::LinkType ns3::GlobalRoutingLinkRecord::GetLinkType() const [member function]
|
gjc@3468
|
226 |
cls.add_method('GetLinkType',
|
gjc@3468
|
227 |
'ns3::GlobalRoutingLinkRecord::LinkType',
|
gjc@3468
|
228 |
[],
|
gjc@3468
|
229 |
is_const=True)
|
gjc@3408
|
230 |
## global-router-interface.h: void ns3::GlobalRoutingLinkRecord::SetLinkType(ns3::GlobalRoutingLinkRecord::LinkType linkType) [member function]
|
gjc@3468
|
231 |
cls.add_method('SetLinkType',
|
gjc@3468
|
232 |
'void',
|
gjc@3468
|
233 |
[param('ns3::GlobalRoutingLinkRecord::LinkType', 'linkType')])
|
gjc@3408
|
234 |
## global-router-interface.h: uint16_t ns3::GlobalRoutingLinkRecord::GetMetric() const [member function]
|
gjc@3468
|
235 |
cls.add_method('GetMetric',
|
gjc@3468
|
236 |
'uint16_t',
|
gjc@3468
|
237 |
[],
|
gjc@3468
|
238 |
is_const=True)
|
gjc@3408
|
239 |
## global-router-interface.h: void ns3::GlobalRoutingLinkRecord::SetMetric(uint16_t metric) [member function]
|
gjc@3468
|
240 |
cls.add_method('SetMetric',
|
gjc@3468
|
241 |
'void',
|
gjc@3468
|
242 |
[param('uint16_t', 'metric')])
|
gjc@3408
|
243 |
return
|
gjc@3408
|
244 |
|
gjc@3408
|
245 |
def register_Ns3GlobalRouter_methods(root_module, cls):
|
gjc@3408
|
246 |
## global-router-interface.h: static ns3::TypeId ns3::GlobalRouter::GetTypeId() [member function]
|
gjc@3468
|
247 |
cls.add_method('GetTypeId',
|
gjc@3468
|
248 |
'ns3::TypeId',
|
gjc@3468
|
249 |
[],
|
gjc@3468
|
250 |
is_static=True)
|
gjc@3408
|
251 |
## global-router-interface.h: ns3::GlobalRouter::GlobalRouter() [constructor]
|
gjc@3468
|
252 |
cls.add_constructor([])
|
mathieu@4616
|
253 |
## global-router-interface.h: void ns3::GlobalRouter::SetRoutingProtocol(ns3::Ptr<ns3::Ipv4GlobalRouting> routing) [member function]
|
mathieu@4616
|
254 |
cls.add_method('SetRoutingProtocol',
|
mathieu@4616
|
255 |
'void',
|
mathieu@4616
|
256 |
[param('ns3::Ptr< ns3::Ipv4GlobalRouting >', 'routing')])
|
mathieu@4616
|
257 |
## global-router-interface.h: ns3::Ptr<ns3::Ipv4GlobalRouting> ns3::GlobalRouter::GetRoutingProtocol() [member function]
|
mathieu@4616
|
258 |
cls.add_method('GetRoutingProtocol',
|
mathieu@4616
|
259 |
'ns3::Ptr< ns3::Ipv4GlobalRouting >',
|
mathieu@4616
|
260 |
[])
|
gjc@3408
|
261 |
## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRouter::GetRouterId() const [member function]
|
gjc@3468
|
262 |
cls.add_method('GetRouterId',
|
gjc@3468
|
263 |
'ns3::Ipv4Address',
|
gjc@3468
|
264 |
[],
|
gjc@3468
|
265 |
is_const=True)
|
gjc@3408
|
266 |
## global-router-interface.h: uint32_t ns3::GlobalRouter::DiscoverLSAs() [member function]
|
gjc@3468
|
267 |
cls.add_method('DiscoverLSAs',
|
gjc@3468
|
268 |
'uint32_t',
|
gjc@3468
|
269 |
[])
|
gjc@3408
|
270 |
## global-router-interface.h: uint32_t ns3::GlobalRouter::GetNumLSAs() const [member function]
|
gjc@3468
|
271 |
cls.add_method('GetNumLSAs',
|
gjc@3468
|
272 |
'uint32_t',
|
gjc@3468
|
273 |
[],
|
gjc@3468
|
274 |
is_const=True)
|
gjc@3408
|
275 |
## global-router-interface.h: bool ns3::GlobalRouter::GetLSA(uint32_t n, ns3::GlobalRoutingLSA & lsa) const [member function]
|
gjc@3468
|
276 |
cls.add_method('GetLSA',
|
gjc@3468
|
277 |
'bool',
|
gjc@3574
|
278 |
[param('uint32_t', 'n'), param('ns3::GlobalRoutingLSA &', 'lsa')],
|
gjc@3468
|
279 |
is_const=True)
|
gjc@3408
|
280 |
## global-router-interface.h: void ns3::GlobalRouter::DoDispose() [member function]
|
gjc@3468
|
281 |
cls.add_method('DoDispose',
|
gjc@3468
|
282 |
'void',
|
gjc@3468
|
283 |
[],
|
gjc@3468
|
284 |
visibility='private', is_virtual=True)
|
gjc@3408
|
285 |
return
|
gjc@3408
|
286 |
|
mathieu@4616
|
287 |
def register_Ns3Ipv4GlobalRouting_methods(root_module, cls):
|
mathieu@4616
|
288 |
## ipv4-global-routing.h: ns3::Ipv4GlobalRouting::Ipv4GlobalRouting(ns3::Ipv4GlobalRouting const & arg0) [copy constructor]
|
mathieu@4616
|
289 |
cls.add_constructor([param('ns3::Ipv4GlobalRouting const &', 'arg0')])
|
mathieu@4616
|
290 |
## ipv4-global-routing.h: static ns3::TypeId ns3::Ipv4GlobalRouting::GetTypeId() [member function]
|
mathieu@4616
|
291 |
cls.add_method('GetTypeId',
|
mathieu@4616
|
292 |
'ns3::TypeId',
|
mathieu@4616
|
293 |
[],
|
mathieu@4616
|
294 |
is_static=True)
|
mathieu@4616
|
295 |
## ipv4-global-routing.h: ns3::Ipv4GlobalRouting::Ipv4GlobalRouting() [constructor]
|
mathieu@4616
|
296 |
cls.add_constructor([])
|
mathieu@4616
|
297 |
## ipv4-global-routing.h: ns3::Ptr<ns3::Ipv4Route> ns3::Ipv4GlobalRouting::RouteOutput(ns3::Ptr<ns3::Packet> p, ns3::Ipv4Header const & header, uint32_t oif, ns3::Socket::SocketErrno & sockerr) [member function]
|
mathieu@4616
|
298 |
cls.add_method('RouteOutput',
|
mathieu@4616
|
299 |
'ns3::Ptr< ns3::Ipv4Route >',
|
mathieu@4616
|
300 |
[param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('uint32_t', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')],
|
mathieu@4616
|
301 |
is_virtual=True)
|
mathieu@4616
|
302 |
## ipv4-global-routing.h: bool ns3::Ipv4GlobalRouting::RouteInput(ns3::Ptr<ns3::Packet const> p, ns3::Ipv4Header const & header, ns3::Ptr<const ns3::NetDevice> idev, ns3::Callback<void,ns3::Ptr<ns3::Ipv4Route>,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback<void,ns3::Ptr<ns3::Ipv4MulticastRoute>,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback<void,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback<void,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::Socket::SocketErrno,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ecb) [member function]
|
mathieu@4616
|
303 |
cls.add_method('RouteInput',
|
mathieu@4616
|
304 |
'bool',
|
mathieu@4616
|
305 |
[param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')],
|
mathieu@4616
|
306 |
is_virtual=True)
|
mathieu@4616
|
307 |
## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::NotifyInterfaceUp(uint32_t interface) [member function]
|
mathieu@4616
|
308 |
cls.add_method('NotifyInterfaceUp',
|
mathieu@4616
|
309 |
'void',
|
mathieu@4616
|
310 |
[param('uint32_t', 'interface')],
|
mathieu@4616
|
311 |
is_virtual=True)
|
mathieu@4616
|
312 |
## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::NotifyInterfaceDown(uint32_t interface) [member function]
|
mathieu@4616
|
313 |
cls.add_method('NotifyInterfaceDown',
|
mathieu@4616
|
314 |
'void',
|
mathieu@4616
|
315 |
[param('uint32_t', 'interface')],
|
mathieu@4616
|
316 |
is_virtual=True)
|
mathieu@4616
|
317 |
## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
|
mathieu@4616
|
318 |
cls.add_method('NotifyAddAddress',
|
mathieu@4616
|
319 |
'void',
|
mathieu@4616
|
320 |
[param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')],
|
mathieu@4616
|
321 |
is_virtual=True)
|
mathieu@4616
|
322 |
## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
|
mathieu@4616
|
323 |
cls.add_method('NotifyRemoveAddress',
|
mathieu@4616
|
324 |
'void',
|
mathieu@4616
|
325 |
[param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')],
|
mathieu@4616
|
326 |
is_virtual=True)
|
mathieu@4616
|
327 |
## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::SetIpv4(ns3::Ptr<ns3::Ipv4> ipv4) [member function]
|
mathieu@4616
|
328 |
cls.add_method('SetIpv4',
|
mathieu@4616
|
329 |
'void',
|
mathieu@4616
|
330 |
[param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')],
|
mathieu@4616
|
331 |
is_virtual=True)
|
mathieu@4616
|
332 |
## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::AddHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
|
mathieu@4616
|
333 |
cls.add_method('AddHostRouteTo',
|
mathieu@4616
|
334 |
'void',
|
mathieu@4616
|
335 |
[param('ns3::Ipv4Address', 'dest'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')])
|
mathieu@4616
|
336 |
## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::AddHostRouteTo(ns3::Ipv4Address dest, uint32_t interface) [member function]
|
mathieu@4616
|
337 |
cls.add_method('AddHostRouteTo',
|
mathieu@4616
|
338 |
'void',
|
mathieu@4616
|
339 |
[param('ns3::Ipv4Address', 'dest'), param('uint32_t', 'interface')])
|
mathieu@4616
|
340 |
## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
|
mathieu@4616
|
341 |
cls.add_method('AddNetworkRouteTo',
|
mathieu@4616
|
342 |
'void',
|
mathieu@4616
|
343 |
[param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')])
|
mathieu@4616
|
344 |
## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface) [member function]
|
mathieu@4616
|
345 |
cls.add_method('AddNetworkRouteTo',
|
mathieu@4616
|
346 |
'void',
|
mathieu@4616
|
347 |
[param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('uint32_t', 'interface')])
|
mathieu@4616
|
348 |
## ipv4-global-routing.h: uint32_t ns3::Ipv4GlobalRouting::GetNRoutes() [member function]
|
mathieu@4616
|
349 |
cls.add_method('GetNRoutes',
|
mathieu@4616
|
350 |
'uint32_t',
|
mathieu@4616
|
351 |
[])
|
mathieu@4616
|
352 |
## ipv4-global-routing.h: ns3::Ipv4RoutingTableEntry * ns3::Ipv4GlobalRouting::GetRoute(uint32_t i) [member function]
|
mathieu@4616
|
353 |
cls.add_method('GetRoute',
|
mathieu@4616
|
354 |
'ns3::Ipv4RoutingTableEntry *',
|
mathieu@4616
|
355 |
[param('uint32_t', 'i')])
|
mathieu@4616
|
356 |
## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::RemoveRoute(uint32_t i) [member function]
|
mathieu@4616
|
357 |
cls.add_method('RemoveRoute',
|
mathieu@4616
|
358 |
'void',
|
mathieu@4616
|
359 |
[param('uint32_t', 'i')])
|
mathieu@4616
|
360 |
## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::DoDispose() [member function]
|
mathieu@4616
|
361 |
cls.add_method('DoDispose',
|
mathieu@4616
|
362 |
'void',
|
mathieu@4616
|
363 |
[],
|
mathieu@4616
|
364 |
visibility='protected', is_virtual=True)
|
mathieu@4616
|
365 |
return
|
mathieu@4616
|
366 |
|
gjc@3408
|
367 |
def register_functions(root_module):
|
gjc@3408
|
368 |
module = root_module
|
gjc@3855
|
369 |
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
|
gjc@3855
|
370 |
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
|
tomh@4474
|
371 |
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
|
gjc@3408
|
372 |
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
|
gjc@3408
|
373 |
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
|
gjc@3408
|
374 |
return
|
gjc@3408
|
375 |
|
gjc@3855
|
376 |
def register_functions_ns3_Config(module, root_module):
|
gjc@3855
|
377 |
return
|
gjc@3855
|
378 |
|
gjc@3855
|
379 |
def register_functions_ns3_TimeStepPrecision(module, root_module):
|
gjc@3855
|
380 |
return
|
gjc@3855
|
381 |
|
tomh@4474
|
382 |
def register_functions_ns3_addressUtils(module, root_module):
|
tomh@4474
|
383 |
return
|
tomh@4474
|
384 |
|
gjc@3408
|
385 |
def register_functions_ns3_internal(module, root_module):
|
gjc@3408
|
386 |
return
|
gjc@3408
|
387 |
|
gjc@3408
|
388 |
def register_functions_ns3_olsr(module, root_module):
|
gjc@3408
|
389 |
return
|
gjc@3408
|
390 |
|