author | Tom Henderson <tomh@tomh.org> |
Fri, 17 Apr 2009 15:46:01 -0700 | |
changeset 4382 | e63da65e8fb9 |
parent 4248 | 6e0c97efccd0 |
child 4407 | ef566eeff84f |
permissions | -rw-r--r-- |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
1 |
from pybindgen import Module, FileCodeSink, param, retval, cppclass |
3408 | 2 |
|
3 |
def register_types(module): |
|
4 |
root_module = module.get_root() |
|
5 |
||
3820 | 6 |
## icmpv4.h: ns3::Icmpv4DestinationUnreachable [class] |
7 |
module.add_class('Icmpv4DestinationUnreachable', parent=root_module['ns3::Header']) |
|
8 |
## icmpv4.h: ns3::Icmpv4DestinationUnreachable [enumeration] |
|
9 |
module.add_enum('', ['NET_UNREACHABLE', 'HOST_UNREACHABLE', 'PROTOCOL_UNREACHABLE', 'PORT_UNREACHABLE', 'FRAG_NEEDED', 'SOURCE_ROUTE_FAILED'], outer_class=root_module['ns3::Icmpv4DestinationUnreachable']) |
|
10 |
## icmpv4.h: ns3::Icmpv4Echo [class] |
|
11 |
module.add_class('Icmpv4Echo', parent=root_module['ns3::Header']) |
|
12 |
## icmpv4.h: ns3::Icmpv4Header [class] |
|
13 |
module.add_class('Icmpv4Header', parent=root_module['ns3::Header']) |
|
14 |
## icmpv4.h: ns3::Icmpv4Header [enumeration] |
|
15 |
module.add_enum('', ['ECHO_REPLY', 'DEST_UNREACH', 'ECHO', 'TIME_EXCEEDED'], outer_class=root_module['ns3::Icmpv4Header']) |
|
16 |
## icmpv4.h: ns3::Icmpv4TimeExceeded [class] |
|
17 |
module.add_class('Icmpv4TimeExceeded', parent=root_module['ns3::Header']) |
|
18 |
## icmpv4.h: ns3::Icmpv4TimeExceeded [enumeration] |
|
19 |
module.add_enum('', ['TIME_TO_LIVE', 'FRAGMENT_REASSEMBLY'], outer_class=root_module['ns3::Icmpv4TimeExceeded']) |
|
3408 | 20 |
## tcp-header.h: ns3::TcpHeader [class] |
3457 | 21 |
module.add_class('TcpHeader', parent=root_module['ns3::Header']) |
3408 | 22 |
## tcp-header.h: ns3::TcpHeader::Flags_t [enumeration] |
23 |
module.add_enum('Flags_t', ['NONE', 'FIN', 'SYN', 'RST', 'PSH', 'ACK', 'URG'], outer_class=root_module['ns3::TcpHeader']) |
|
3731
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
24 |
## udp-header.h: ns3::UdpHeader [class] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
25 |
module.add_class('UdpHeader', parent=root_module['ns3::Header']) |
3972 | 26 |
## ipv4-global-routing.h: ns3::Ipv4GlobalRouting [class] |
27 |
module.add_class('Ipv4GlobalRouting', parent=root_module['ns3::Ipv4RoutingProtocol']) |
|
3408 | 28 |
|
3855
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3820
diff
changeset
|
29 |
## Register a nested module for the namespace Config |
3408 | 30 |
|
3855
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3820
diff
changeset
|
31 |
nested_module = module.add_cpp_namespace('Config') |
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3820
diff
changeset
|
32 |
register_types_ns3_Config(nested_module) |
3408 | 33 |
|
34 |
||
35 |
## Register a nested module for the namespace TimeStepPrecision |
|
36 |
||
37 |
nested_module = module.add_cpp_namespace('TimeStepPrecision') |
|
38 |
register_types_ns3_TimeStepPrecision(nested_module) |
|
39 |
||
40 |
||
3855
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3820
diff
changeset
|
41 |
## Register a nested module for the namespace internal |
3408 | 42 |
|
3855
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3820
diff
changeset
|
43 |
nested_module = module.add_cpp_namespace('internal') |
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3820
diff
changeset
|
44 |
register_types_ns3_internal(nested_module) |
3408 | 45 |
|
46 |
||
47 |
## Register a nested module for the namespace olsr |
|
48 |
||
49 |
nested_module = module.add_cpp_namespace('olsr') |
|
50 |
register_types_ns3_olsr(nested_module) |
|
51 |
||
52 |
||
3855
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3820
diff
changeset
|
53 |
def register_types_ns3_Config(module): |
3408 | 54 |
root_module = module.get_root() |
55 |
||
56 |
||
57 |
def register_types_ns3_TimeStepPrecision(module): |
|
58 |
root_module = module.get_root() |
|
59 |
||
60 |
||
3855
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3820
diff
changeset
|
61 |
def register_types_ns3_internal(module): |
3408 | 62 |
root_module = module.get_root() |
63 |
||
64 |
||
65 |
def register_types_ns3_olsr(module): |
|
66 |
root_module = module.get_root() |
|
67 |
||
68 |
||
69 |
def register_methods(root_module): |
|
3820 | 70 |
register_Ns3Icmpv4DestinationUnreachable_methods(root_module, root_module['ns3::Icmpv4DestinationUnreachable']) |
71 |
register_Ns3Icmpv4Echo_methods(root_module, root_module['ns3::Icmpv4Echo']) |
|
72 |
register_Ns3Icmpv4Header_methods(root_module, root_module['ns3::Icmpv4Header']) |
|
73 |
register_Ns3Icmpv4TimeExceeded_methods(root_module, root_module['ns3::Icmpv4TimeExceeded']) |
|
3731
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
74 |
register_Ns3TcpHeader_methods(root_module, root_module['ns3::TcpHeader']) |
3408 | 75 |
register_Ns3UdpHeader_methods(root_module, root_module['ns3::UdpHeader']) |
3972 | 76 |
register_Ns3Ipv4GlobalRouting_methods(root_module, root_module['ns3::Ipv4GlobalRouting']) |
3408 | 77 |
return |
78 |
||
3820 | 79 |
def register_Ns3Icmpv4DestinationUnreachable_methods(root_module, cls): |
4241
c35796bc0b4b
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4218
diff
changeset
|
80 |
## icmpv4.h: ns3::Icmpv4DestinationUnreachable::Icmpv4DestinationUnreachable(ns3::Icmpv4DestinationUnreachable const & arg0) [copy constructor] |
c35796bc0b4b
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4218
diff
changeset
|
81 |
cls.add_constructor([param('ns3::Icmpv4DestinationUnreachable const &', 'arg0')]) |
3820 | 82 |
## icmpv4.h: static ns3::TypeId ns3::Icmpv4DestinationUnreachable::GetTypeId() [member function] |
83 |
cls.add_method('GetTypeId', |
|
84 |
'ns3::TypeId', |
|
85 |
[], |
|
86 |
is_static=True) |
|
87 |
## icmpv4.h: ns3::Icmpv4DestinationUnreachable::Icmpv4DestinationUnreachable() [constructor] |
|
88 |
cls.add_constructor([]) |
|
89 |
## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::SetNextHopMtu(uint16_t mtu) [member function] |
|
90 |
cls.add_method('SetNextHopMtu', |
|
91 |
'void', |
|
92 |
[param('uint16_t', 'mtu')]) |
|
93 |
## icmpv4.h: uint16_t ns3::Icmpv4DestinationUnreachable::GetNextHopMtu() const [member function] |
|
94 |
cls.add_method('GetNextHopMtu', |
|
95 |
'uint16_t', |
|
96 |
[], |
|
97 |
is_const=True) |
|
98 |
## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::SetData(ns3::Ptr<const ns3::Packet> data) [member function] |
|
99 |
cls.add_method('SetData', |
|
100 |
'void', |
|
101 |
[param('ns3::Ptr< ns3::Packet const >', 'data')]) |
|
102 |
## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::SetHeader(ns3::Ipv4Header header) [member function] |
|
103 |
cls.add_method('SetHeader', |
|
104 |
'void', |
|
105 |
[param('ns3::Ipv4Header', 'header')]) |
|
106 |
## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::GetData(uint8_t * payload) const [member function] |
|
107 |
cls.add_method('GetData', |
|
108 |
'void', |
|
109 |
[param('uint8_t *', 'payload')], |
|
110 |
is_const=True) |
|
111 |
## icmpv4.h: ns3::Ipv4Header ns3::Icmpv4DestinationUnreachable::GetHeader() const [member function] |
|
112 |
cls.add_method('GetHeader', |
|
113 |
'ns3::Ipv4Header', |
|
114 |
[], |
|
115 |
is_const=True) |
|
116 |
## icmpv4.h: ns3::TypeId ns3::Icmpv4DestinationUnreachable::GetInstanceTypeId() const [member function] |
|
117 |
cls.add_method('GetInstanceTypeId', |
|
118 |
'ns3::TypeId', |
|
119 |
[], |
|
120 |
is_const=True, visibility='private', is_virtual=True) |
|
121 |
## icmpv4.h: uint32_t ns3::Icmpv4DestinationUnreachable::GetSerializedSize() const [member function] |
|
122 |
cls.add_method('GetSerializedSize', |
|
123 |
'uint32_t', |
|
124 |
[], |
|
125 |
is_const=True, visibility='private', is_virtual=True) |
|
126 |
## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::Serialize(ns3::Buffer::Iterator start) const [member function] |
|
127 |
cls.add_method('Serialize', |
|
128 |
'void', |
|
129 |
[param('ns3::Buffer::Iterator', 'start')], |
|
130 |
is_const=True, visibility='private', is_virtual=True) |
|
131 |
## icmpv4.h: uint32_t ns3::Icmpv4DestinationUnreachable::Deserialize(ns3::Buffer::Iterator start) [member function] |
|
132 |
cls.add_method('Deserialize', |
|
133 |
'uint32_t', |
|
134 |
[param('ns3::Buffer::Iterator', 'start')], |
|
135 |
visibility='private', is_virtual=True) |
|
136 |
## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::Print(std::ostream & os) const [member function] |
|
137 |
cls.add_method('Print', |
|
138 |
'void', |
|
139 |
[param('std::ostream &', 'os')], |
|
140 |
is_const=True, visibility='private', is_virtual=True) |
|
141 |
return |
|
142 |
||
143 |
def register_Ns3Icmpv4Echo_methods(root_module, cls): |
|
4241
c35796bc0b4b
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4218
diff
changeset
|
144 |
## icmpv4.h: ns3::Icmpv4Echo::Icmpv4Echo(ns3::Icmpv4Echo const & arg0) [copy constructor] |
c35796bc0b4b
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4218
diff
changeset
|
145 |
cls.add_constructor([param('ns3::Icmpv4Echo const &', 'arg0')]) |
3820 | 146 |
## icmpv4.h: void ns3::Icmpv4Echo::SetIdentifier(uint16_t id) [member function] |
147 |
cls.add_method('SetIdentifier', |
|
148 |
'void', |
|
149 |
[param('uint16_t', 'id')]) |
|
150 |
## icmpv4.h: void ns3::Icmpv4Echo::SetSequenceNumber(uint16_t seq) [member function] |
|
151 |
cls.add_method('SetSequenceNumber', |
|
152 |
'void', |
|
153 |
[param('uint16_t', 'seq')]) |
|
154 |
## icmpv4.h: void ns3::Icmpv4Echo::SetData(ns3::Ptr<const ns3::Packet> data) [member function] |
|
155 |
cls.add_method('SetData', |
|
156 |
'void', |
|
157 |
[param('ns3::Ptr< ns3::Packet const >', 'data')]) |
|
158 |
## icmpv4.h: uint16_t ns3::Icmpv4Echo::GetIdentifier() const [member function] |
|
159 |
cls.add_method('GetIdentifier', |
|
160 |
'uint16_t', |
|
161 |
[], |
|
162 |
is_const=True) |
|
163 |
## icmpv4.h: uint16_t ns3::Icmpv4Echo::GetSequenceNumber() const [member function] |
|
164 |
cls.add_method('GetSequenceNumber', |
|
165 |
'uint16_t', |
|
166 |
[], |
|
167 |
is_const=True) |
|
168 |
## icmpv4.h: ns3::Ptr<const ns3::Packet> ns3::Icmpv4Echo::GetData() const [member function] |
|
169 |
cls.add_method('GetData', |
|
170 |
'ns3::Ptr< ns3::Packet const >', |
|
171 |
[], |
|
172 |
is_const=True) |
|
173 |
## icmpv4.h: static ns3::TypeId ns3::Icmpv4Echo::GetTypeId() [member function] |
|
174 |
cls.add_method('GetTypeId', |
|
175 |
'ns3::TypeId', |
|
176 |
[], |
|
177 |
is_static=True) |
|
178 |
## icmpv4.h: ns3::Icmpv4Echo::Icmpv4Echo() [constructor] |
|
179 |
cls.add_constructor([]) |
|
180 |
## icmpv4.h: ns3::TypeId ns3::Icmpv4Echo::GetInstanceTypeId() const [member function] |
|
181 |
cls.add_method('GetInstanceTypeId', |
|
182 |
'ns3::TypeId', |
|
183 |
[], |
|
184 |
is_const=True, is_virtual=True) |
|
185 |
## icmpv4.h: uint32_t ns3::Icmpv4Echo::GetSerializedSize() const [member function] |
|
186 |
cls.add_method('GetSerializedSize', |
|
187 |
'uint32_t', |
|
188 |
[], |
|
189 |
is_const=True, is_virtual=True) |
|
190 |
## icmpv4.h: void ns3::Icmpv4Echo::Serialize(ns3::Buffer::Iterator start) const [member function] |
|
191 |
cls.add_method('Serialize', |
|
192 |
'void', |
|
193 |
[param('ns3::Buffer::Iterator', 'start')], |
|
194 |
is_const=True, is_virtual=True) |
|
195 |
## icmpv4.h: uint32_t ns3::Icmpv4Echo::Deserialize(ns3::Buffer::Iterator start) [member function] |
|
196 |
cls.add_method('Deserialize', |
|
197 |
'uint32_t', |
|
198 |
[param('ns3::Buffer::Iterator', 'start')], |
|
199 |
is_virtual=True) |
|
200 |
## icmpv4.h: void ns3::Icmpv4Echo::Print(std::ostream & os) const [member function] |
|
201 |
cls.add_method('Print', |
|
202 |
'void', |
|
203 |
[param('std::ostream &', 'os')], |
|
204 |
is_const=True, is_virtual=True) |
|
205 |
return |
|
206 |
||
207 |
def register_Ns3Icmpv4Header_methods(root_module, cls): |
|
4241
c35796bc0b4b
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4218
diff
changeset
|
208 |
## icmpv4.h: ns3::Icmpv4Header::Icmpv4Header(ns3::Icmpv4Header const & arg0) [copy constructor] |
c35796bc0b4b
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4218
diff
changeset
|
209 |
cls.add_constructor([param('ns3::Icmpv4Header const &', 'arg0')]) |
3820 | 210 |
## icmpv4.h: void ns3::Icmpv4Header::EnableChecksum() [member function] |
211 |
cls.add_method('EnableChecksum', |
|
212 |
'void', |
|
213 |
[]) |
|
214 |
## icmpv4.h: void ns3::Icmpv4Header::SetType(uint8_t type) [member function] |
|
215 |
cls.add_method('SetType', |
|
216 |
'void', |
|
217 |
[param('uint8_t', 'type')]) |
|
218 |
## icmpv4.h: void ns3::Icmpv4Header::SetCode(uint8_t code) [member function] |
|
219 |
cls.add_method('SetCode', |
|
220 |
'void', |
|
221 |
[param('uint8_t', 'code')]) |
|
222 |
## icmpv4.h: uint8_t ns3::Icmpv4Header::GetType() const [member function] |
|
223 |
cls.add_method('GetType', |
|
224 |
'uint8_t', |
|
225 |
[], |
|
226 |
is_const=True) |
|
227 |
## icmpv4.h: uint8_t ns3::Icmpv4Header::GetCode() const [member function] |
|
228 |
cls.add_method('GetCode', |
|
229 |
'uint8_t', |
|
230 |
[], |
|
231 |
is_const=True) |
|
232 |
## icmpv4.h: static ns3::TypeId ns3::Icmpv4Header::GetTypeId() [member function] |
|
233 |
cls.add_method('GetTypeId', |
|
234 |
'ns3::TypeId', |
|
235 |
[], |
|
236 |
is_static=True) |
|
237 |
## icmpv4.h: ns3::Icmpv4Header::Icmpv4Header() [constructor] |
|
238 |
cls.add_constructor([]) |
|
239 |
## icmpv4.h: ns3::TypeId ns3::Icmpv4Header::GetInstanceTypeId() const [member function] |
|
240 |
cls.add_method('GetInstanceTypeId', |
|
241 |
'ns3::TypeId', |
|
242 |
[], |
|
243 |
is_const=True, is_virtual=True) |
|
244 |
## icmpv4.h: uint32_t ns3::Icmpv4Header::GetSerializedSize() const [member function] |
|
245 |
cls.add_method('GetSerializedSize', |
|
246 |
'uint32_t', |
|
247 |
[], |
|
248 |
is_const=True, is_virtual=True) |
|
249 |
## icmpv4.h: void ns3::Icmpv4Header::Serialize(ns3::Buffer::Iterator start) const [member function] |
|
250 |
cls.add_method('Serialize', |
|
251 |
'void', |
|
252 |
[param('ns3::Buffer::Iterator', 'start')], |
|
253 |
is_const=True, is_virtual=True) |
|
254 |
## icmpv4.h: uint32_t ns3::Icmpv4Header::Deserialize(ns3::Buffer::Iterator start) [member function] |
|
255 |
cls.add_method('Deserialize', |
|
256 |
'uint32_t', |
|
257 |
[param('ns3::Buffer::Iterator', 'start')], |
|
258 |
is_virtual=True) |
|
259 |
## icmpv4.h: void ns3::Icmpv4Header::Print(std::ostream & os) const [member function] |
|
260 |
cls.add_method('Print', |
|
261 |
'void', |
|
262 |
[param('std::ostream &', 'os')], |
|
263 |
is_const=True, is_virtual=True) |
|
264 |
return |
|
265 |
||
266 |
def register_Ns3Icmpv4TimeExceeded_methods(root_module, cls): |
|
4241
c35796bc0b4b
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4218
diff
changeset
|
267 |
## icmpv4.h: ns3::Icmpv4TimeExceeded::Icmpv4TimeExceeded(ns3::Icmpv4TimeExceeded const & arg0) [copy constructor] |
c35796bc0b4b
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4218
diff
changeset
|
268 |
cls.add_constructor([param('ns3::Icmpv4TimeExceeded const &', 'arg0')]) |
3820 | 269 |
## icmpv4.h: void ns3::Icmpv4TimeExceeded::SetData(ns3::Ptr<const ns3::Packet> data) [member function] |
270 |
cls.add_method('SetData', |
|
271 |
'void', |
|
272 |
[param('ns3::Ptr< ns3::Packet const >', 'data')]) |
|
273 |
## icmpv4.h: void ns3::Icmpv4TimeExceeded::SetHeader(ns3::Ipv4Header header) [member function] |
|
274 |
cls.add_method('SetHeader', |
|
275 |
'void', |
|
276 |
[param('ns3::Ipv4Header', 'header')]) |
|
277 |
## icmpv4.h: void ns3::Icmpv4TimeExceeded::GetData(uint8_t * payload) const [member function] |
|
278 |
cls.add_method('GetData', |
|
279 |
'void', |
|
280 |
[param('uint8_t *', 'payload')], |
|
281 |
is_const=True) |
|
282 |
## icmpv4.h: ns3::Ipv4Header ns3::Icmpv4TimeExceeded::GetHeader() const [member function] |
|
283 |
cls.add_method('GetHeader', |
|
284 |
'ns3::Ipv4Header', |
|
285 |
[], |
|
286 |
is_const=True) |
|
287 |
## icmpv4.h: static ns3::TypeId ns3::Icmpv4TimeExceeded::GetTypeId() [member function] |
|
288 |
cls.add_method('GetTypeId', |
|
289 |
'ns3::TypeId', |
|
290 |
[], |
|
291 |
is_static=True) |
|
292 |
## icmpv4.h: ns3::Icmpv4TimeExceeded::Icmpv4TimeExceeded() [constructor] |
|
293 |
cls.add_constructor([]) |
|
294 |
## icmpv4.h: ns3::TypeId ns3::Icmpv4TimeExceeded::GetInstanceTypeId() const [member function] |
|
295 |
cls.add_method('GetInstanceTypeId', |
|
296 |
'ns3::TypeId', |
|
297 |
[], |
|
298 |
is_const=True, is_virtual=True) |
|
299 |
## icmpv4.h: uint32_t ns3::Icmpv4TimeExceeded::GetSerializedSize() const [member function] |
|
300 |
cls.add_method('GetSerializedSize', |
|
301 |
'uint32_t', |
|
302 |
[], |
|
303 |
is_const=True, is_virtual=True) |
|
304 |
## icmpv4.h: void ns3::Icmpv4TimeExceeded::Serialize(ns3::Buffer::Iterator start) const [member function] |
|
305 |
cls.add_method('Serialize', |
|
306 |
'void', |
|
307 |
[param('ns3::Buffer::Iterator', 'start')], |
|
308 |
is_const=True, is_virtual=True) |
|
309 |
## icmpv4.h: uint32_t ns3::Icmpv4TimeExceeded::Deserialize(ns3::Buffer::Iterator start) [member function] |
|
310 |
cls.add_method('Deserialize', |
|
311 |
'uint32_t', |
|
312 |
[param('ns3::Buffer::Iterator', 'start')], |
|
313 |
is_virtual=True) |
|
314 |
## icmpv4.h: void ns3::Icmpv4TimeExceeded::Print(std::ostream & os) const [member function] |
|
315 |
cls.add_method('Print', |
|
316 |
'void', |
|
317 |
[param('std::ostream &', 'os')], |
|
318 |
is_const=True, is_virtual=True) |
|
319 |
return |
|
320 |
||
3408 | 321 |
def register_Ns3TcpHeader_methods(root_module, cls): |
4241
c35796bc0b4b
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4218
diff
changeset
|
322 |
## tcp-header.h: ns3::TcpHeader::TcpHeader(ns3::TcpHeader const & arg0) [copy constructor] |
c35796bc0b4b
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4218
diff
changeset
|
323 |
cls.add_constructor([param('ns3::TcpHeader const &', 'arg0')]) |
3408 | 324 |
## tcp-header.h: ns3::TcpHeader::TcpHeader() [constructor] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
325 |
cls.add_constructor([]) |
3408 | 326 |
## tcp-header.h: void ns3::TcpHeader::EnableChecksums() [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
327 |
cls.add_method('EnableChecksums', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
328 |
'void', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
329 |
[]) |
3408 | 330 |
## tcp-header.h: void ns3::TcpHeader::SetSourcePort(uint16_t port) [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
331 |
cls.add_method('SetSourcePort', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
332 |
'void', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
333 |
[param('uint16_t', 'port')]) |
3408 | 334 |
## tcp-header.h: void ns3::TcpHeader::SetDestinationPort(uint16_t port) [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
335 |
cls.add_method('SetDestinationPort', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
336 |
'void', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
337 |
[param('uint16_t', 'port')]) |
3408 | 338 |
## tcp-header.h: void ns3::TcpHeader::SetSequenceNumber(SequenceNumber sequenceNumber) [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
339 |
cls.add_method('SetSequenceNumber', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
340 |
'void', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
341 |
[param('SequenceNumber', 'sequenceNumber')]) |
3408 | 342 |
## tcp-header.h: void ns3::TcpHeader::SetAckNumber(SequenceNumber ackNumber) [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
343 |
cls.add_method('SetAckNumber', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
344 |
'void', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
345 |
[param('SequenceNumber', 'ackNumber')]) |
3408 | 346 |
## tcp-header.h: void ns3::TcpHeader::SetLength(uint8_t length) [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
347 |
cls.add_method('SetLength', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
348 |
'void', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
349 |
[param('uint8_t', 'length')]) |
3408 | 350 |
## tcp-header.h: void ns3::TcpHeader::SetFlags(uint8_t flags) [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
351 |
cls.add_method('SetFlags', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
352 |
'void', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
353 |
[param('uint8_t', 'flags')]) |
3408 | 354 |
## tcp-header.h: void ns3::TcpHeader::SetWindowSize(uint16_t windowSize) [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
355 |
cls.add_method('SetWindowSize', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
356 |
'void', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
357 |
[param('uint16_t', 'windowSize')]) |
3408 | 358 |
## tcp-header.h: void ns3::TcpHeader::SetUrgentPointer(uint16_t urgentPointer) [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
359 |
cls.add_method('SetUrgentPointer', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
360 |
'void', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
361 |
[param('uint16_t', 'urgentPointer')]) |
3408 | 362 |
## tcp-header.h: uint16_t ns3::TcpHeader::GetSourcePort() const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
363 |
cls.add_method('GetSourcePort', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
364 |
'uint16_t', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
365 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
366 |
is_const=True) |
3408 | 367 |
## tcp-header.h: uint16_t ns3::TcpHeader::GetDestinationPort() const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
368 |
cls.add_method('GetDestinationPort', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
369 |
'uint16_t', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
370 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
371 |
is_const=True) |
3408 | 372 |
## tcp-header.h: SequenceNumber ns3::TcpHeader::GetSequenceNumber() const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
373 |
cls.add_method('GetSequenceNumber', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
374 |
'SequenceNumber', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
375 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
376 |
is_const=True) |
3408 | 377 |
## tcp-header.h: SequenceNumber ns3::TcpHeader::GetAckNumber() const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
378 |
cls.add_method('GetAckNumber', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
379 |
'SequenceNumber', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
380 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
381 |
is_const=True) |
3408 | 382 |
## tcp-header.h: uint8_t ns3::TcpHeader::GetLength() const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
383 |
cls.add_method('GetLength', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
384 |
'uint8_t', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
385 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
386 |
is_const=True) |
3408 | 387 |
## tcp-header.h: uint8_t ns3::TcpHeader::GetFlags() const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
388 |
cls.add_method('GetFlags', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
389 |
'uint8_t', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
390 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
391 |
is_const=True) |
3408 | 392 |
## tcp-header.h: uint16_t ns3::TcpHeader::GetWindowSize() const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
393 |
cls.add_method('GetWindowSize', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
394 |
'uint16_t', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
395 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
396 |
is_const=True) |
3408 | 397 |
## tcp-header.h: uint16_t ns3::TcpHeader::GetUrgentPointer() const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
398 |
cls.add_method('GetUrgentPointer', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
399 |
'uint16_t', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
400 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
401 |
is_const=True) |
3408 | 402 |
## tcp-header.h: void ns3::TcpHeader::InitializeChecksum(ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol) [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
403 |
cls.add_method('InitializeChecksum', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
404 |
'void', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
405 |
[param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol')]) |
3408 | 406 |
## tcp-header.h: static ns3::TypeId ns3::TcpHeader::GetTypeId() [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
407 |
cls.add_method('GetTypeId', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
408 |
'ns3::TypeId', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
409 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
410 |
is_static=True) |
3408 | 411 |
## tcp-header.h: ns3::TypeId ns3::TcpHeader::GetInstanceTypeId() const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
412 |
cls.add_method('GetInstanceTypeId', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
413 |
'ns3::TypeId', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
414 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
415 |
is_const=True, is_virtual=True) |
3408 | 416 |
## tcp-header.h: void ns3::TcpHeader::Print(std::ostream & os) const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
417 |
cls.add_method('Print', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
418 |
'void', |
3574
b6804efbe16b
New pybindgen and API rescan. Extensive API description files changes because pybindgen now handles consts differently.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3567
diff
changeset
|
419 |
[param('std::ostream &', 'os')], |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
420 |
is_const=True, is_virtual=True) |
3408 | 421 |
## tcp-header.h: uint32_t ns3::TcpHeader::GetSerializedSize() const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
422 |
cls.add_method('GetSerializedSize', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
423 |
'uint32_t', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
424 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
425 |
is_const=True, is_virtual=True) |
3408 | 426 |
## tcp-header.h: void ns3::TcpHeader::Serialize(ns3::Buffer::Iterator start) const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
427 |
cls.add_method('Serialize', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
428 |
'void', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
429 |
[param('ns3::Buffer::Iterator', 'start')], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
430 |
is_const=True, is_virtual=True) |
3408 | 431 |
## tcp-header.h: uint32_t ns3::TcpHeader::Deserialize(ns3::Buffer::Iterator start) [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
432 |
cls.add_method('Deserialize', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
433 |
'uint32_t', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
434 |
[param('ns3::Buffer::Iterator', 'start')], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
435 |
is_virtual=True) |
3408 | 436 |
## tcp-header.h: bool ns3::TcpHeader::IsChecksumOk() const [member function] |
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
437 |
cls.add_method('IsChecksumOk', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
438 |
'bool', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
439 |
[], |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
440 |
is_const=True) |
3408 | 441 |
return |
442 |
||
3731
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
443 |
def register_Ns3UdpHeader_methods(root_module, cls): |
4241
c35796bc0b4b
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4218
diff
changeset
|
444 |
## udp-header.h: ns3::UdpHeader::UdpHeader(ns3::UdpHeader const & arg0) [copy constructor] |
c35796bc0b4b
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4218
diff
changeset
|
445 |
cls.add_constructor([param('ns3::UdpHeader const &', 'arg0')]) |
3731
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
446 |
## udp-header.h: ns3::UdpHeader::UdpHeader() [constructor] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
447 |
cls.add_constructor([]) |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
448 |
## udp-header.h: void ns3::UdpHeader::EnableChecksums() [member function] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
449 |
cls.add_method('EnableChecksums', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
450 |
'void', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
451 |
[]) |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
452 |
## udp-header.h: void ns3::UdpHeader::SetDestinationPort(uint16_t port) [member function] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
453 |
cls.add_method('SetDestinationPort', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
454 |
'void', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
455 |
[param('uint16_t', 'port')]) |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
456 |
## udp-header.h: void ns3::UdpHeader::SetSourcePort(uint16_t port) [member function] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
457 |
cls.add_method('SetSourcePort', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
458 |
'void', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
459 |
[param('uint16_t', 'port')]) |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
460 |
## udp-header.h: uint16_t ns3::UdpHeader::GetSourcePort() const [member function] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
461 |
cls.add_method('GetSourcePort', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
462 |
'uint16_t', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
463 |
[], |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
464 |
is_const=True) |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
465 |
## udp-header.h: uint16_t ns3::UdpHeader::GetDestinationPort() const [member function] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
466 |
cls.add_method('GetDestinationPort', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
467 |
'uint16_t', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
468 |
[], |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
469 |
is_const=True) |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
470 |
## udp-header.h: void ns3::UdpHeader::InitializeChecksum(ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol) [member function] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
471 |
cls.add_method('InitializeChecksum', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
472 |
'void', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
473 |
[param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol')]) |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
474 |
## udp-header.h: static ns3::TypeId ns3::UdpHeader::GetTypeId() [member function] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
475 |
cls.add_method('GetTypeId', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
476 |
'ns3::TypeId', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
477 |
[], |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
478 |
is_static=True) |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
479 |
## udp-header.h: ns3::TypeId ns3::UdpHeader::GetInstanceTypeId() const [member function] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
480 |
cls.add_method('GetInstanceTypeId', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
481 |
'ns3::TypeId', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
482 |
[], |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
483 |
is_const=True, is_virtual=True) |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
484 |
## udp-header.h: void ns3::UdpHeader::Print(std::ostream & os) const [member function] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
485 |
cls.add_method('Print', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
486 |
'void', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
487 |
[param('std::ostream &', 'os')], |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
488 |
is_const=True, is_virtual=True) |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
489 |
## udp-header.h: uint32_t ns3::UdpHeader::GetSerializedSize() const [member function] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
490 |
cls.add_method('GetSerializedSize', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
491 |
'uint32_t', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
492 |
[], |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
493 |
is_const=True, is_virtual=True) |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
494 |
## udp-header.h: void ns3::UdpHeader::Serialize(ns3::Buffer::Iterator start) const [member function] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
495 |
cls.add_method('Serialize', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
496 |
'void', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
497 |
[param('ns3::Buffer::Iterator', 'start')], |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
498 |
is_const=True, is_virtual=True) |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
499 |
## udp-header.h: uint32_t ns3::UdpHeader::Deserialize(ns3::Buffer::Iterator start) [member function] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
500 |
cls.add_method('Deserialize', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
501 |
'uint32_t', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
502 |
[param('ns3::Buffer::Iterator', 'start')], |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
503 |
is_virtual=True) |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
504 |
## udp-header.h: bool ns3::UdpHeader::IsChecksumOk() const [member function] |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
505 |
cls.add_method('IsChecksumOk', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
506 |
'bool', |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
507 |
[], |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
508 |
is_const=True) |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
509 |
return |
317f9dbccc2b
New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3610
diff
changeset
|
510 |
|
3972 | 511 |
def register_Ns3Ipv4GlobalRouting_methods(root_module, cls): |
4241
c35796bc0b4b
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4218
diff
changeset
|
512 |
## ipv4-global-routing.h: ns3::Ipv4GlobalRouting::Ipv4GlobalRouting(ns3::Ipv4GlobalRouting const & arg0) [copy constructor] |
c35796bc0b4b
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4218
diff
changeset
|
513 |
cls.add_constructor([param('ns3::Ipv4GlobalRouting const &', 'arg0')]) |
3972 | 514 |
## ipv4-global-routing.h: static ns3::TypeId ns3::Ipv4GlobalRouting::GetTypeId() [member function] |
515 |
cls.add_method('GetTypeId', |
|
516 |
'ns3::TypeId', |
|
517 |
[], |
|
518 |
is_static=True) |
|
519 |
## ipv4-global-routing.h: ns3::Ipv4GlobalRouting::Ipv4GlobalRouting() [constructor] |
|
520 |
cls.add_constructor([]) |
|
4382 | 521 |
## ipv4-global-routing.h: bool ns3::Ipv4GlobalRouting::RequestRoute(uint32_t interface, ns3::Ipv4Header const & ipHeader, ns3::Ptr<ns3::Packet> packet, ns3::Callback<void,bool,const ns3::Ipv4Route&,ns3::Ptr<ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> routeReply) [member function] |
3972 | 522 |
cls.add_method('RequestRoute', |
523 |
'bool', |
|
4382 | 524 |
[param('uint32_t', 'interface'), param('ns3::Ipv4Header const &', 'ipHeader'), param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Callback< void, bool, ns3::Ipv4Route const &, ns3::Ptr< ns3::Packet >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'routeReply')], |
3972 | 525 |
is_virtual=True) |
4382 | 526 |
## ipv4-global-routing.h: bool ns3::Ipv4GlobalRouting::RequestInterface(ns3::Ipv4Address destination, uint32_t & interface) [member function] |
527 |
cls.add_method('RequestInterface', |
|
3972 | 528 |
'bool', |
4382 | 529 |
[param('ns3::Ipv4Address', 'destination'), param('uint32_t &', 'interface')], |
3972 | 530 |
is_virtual=True) |
531 |
## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::AddHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface) [member function] |
|
532 |
cls.add_method('AddHostRouteTo', |
|
533 |
'void', |
|
534 |
[param('ns3::Ipv4Address', 'dest'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')]) |
|
535 |
## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::AddHostRouteTo(ns3::Ipv4Address dest, uint32_t interface) [member function] |
|
536 |
cls.add_method('AddHostRouteTo', |
|
537 |
'void', |
|
538 |
[param('ns3::Ipv4Address', 'dest'), param('uint32_t', 'interface')]) |
|
539 |
## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface) [member function] |
|
540 |
cls.add_method('AddNetworkRouteTo', |
|
541 |
'void', |
|
542 |
[param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')]) |
|
543 |
## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface) [member function] |
|
544 |
cls.add_method('AddNetworkRouteTo', |
|
545 |
'void', |
|
546 |
[param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('uint32_t', 'interface')]) |
|
547 |
## ipv4-global-routing.h: uint32_t ns3::Ipv4GlobalRouting::GetNRoutes() [member function] |
|
548 |
cls.add_method('GetNRoutes', |
|
549 |
'uint32_t', |
|
550 |
[]) |
|
551 |
## ipv4-global-routing.h: ns3::Ipv4Route * ns3::Ipv4GlobalRouting::GetRoute(uint32_t i) [member function] |
|
552 |
cls.add_method('GetRoute', |
|
553 |
'ns3::Ipv4Route *', |
|
554 |
[param('uint32_t', 'i')]) |
|
555 |
## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::RemoveRoute(uint32_t i) [member function] |
|
556 |
cls.add_method('RemoveRoute', |
|
557 |
'void', |
|
558 |
[param('uint32_t', 'i')]) |
|
559 |
## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::DoDispose() [member function] |
|
560 |
cls.add_method('DoDispose', |
|
561 |
'void', |
|
562 |
[], |
|
563 |
visibility='protected', is_virtual=True) |
|
3584
4eb48239b4dc
bug 274: bridge must detect compatibility of devices with bridging mode
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3574
diff
changeset
|
564 |
return |
4eb48239b4dc
bug 274: bridge must detect compatibility of devices with bridging mode
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3574
diff
changeset
|
565 |
|
3408 | 566 |
def register_functions(root_module): |
567 |
module = root_module |
|
568 |
## internet-stack.h: extern void ns3::AddInternetStack(ns3::Ptr<ns3::Node> node) [free function] |
|
3468
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
569 |
module.add_function('AddInternetStack', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
570 |
'void', |
0bb5275704fc
Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3457
diff
changeset
|
571 |
[param('ns3::Ptr< ns3::Node >', 'node')]) |
3588
ad0a36bfdb62
bug 282: remove Ipv4L4Demux
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3584
diff
changeset
|
572 |
## internet-stack.h: extern void ns3::AddNscInternetStack(ns3::Ptr<ns3::Node> node, std::string const & soname) [free function] |
ad0a36bfdb62
bug 282: remove Ipv4L4Demux
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3584
diff
changeset
|
573 |
module.add_function('AddNscInternetStack', |
ad0a36bfdb62
bug 282: remove Ipv4L4Demux
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3584
diff
changeset
|
574 |
'void', |
ad0a36bfdb62
bug 282: remove Ipv4L4Demux
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
3584
diff
changeset
|
575 |
[param('ns3::Ptr< ns3::Node >', 'node'), param('std::string const &', 'soname')]) |
3855
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3820
diff
changeset
|
576 |
register_functions_ns3_Config(module.get_submodule('Config'), root_module) |
3408 | 577 |
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) |
3855
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3820
diff
changeset
|
578 |
register_functions_ns3_internal(module.get_submodule('internal'), root_module) |
3408 | 579 |
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) |
580 |
return |
|
581 |
||
3855
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3820
diff
changeset
|
582 |
def register_functions_ns3_Config(module, root_module): |
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3820
diff
changeset
|
583 |
return |
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3820
diff
changeset
|
584 |
|
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3820
diff
changeset
|
585 |
def register_functions_ns3_TimeStepPrecision(module, root_module): |
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3820
diff
changeset
|
586 |
return |
7fdcbeea6c4f
Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
3820
diff
changeset
|
587 |
|
3408 | 588 |
def register_functions_ns3_internal(module, root_module): |
589 |
return |
|
590 |
||
591 |
def register_functions_ns3_olsr(module, root_module): |
|
592 |
return |
|
593 |