author | Mathieu Lacage <mathieu.lacage@sophia.inria.fr> |
Wed, 10 Jun 2009 08:36:51 +0200 | |
changeset 4527 | 7a1359808b0e |
parent 4524 | 9836dcac0d41 |
child 4560 | 2f106fd728ab |
permissions | -rw-r--r-- |
4474
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
1 |
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers |
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']) |
4474
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
26 |
## ipv4-static-routing-impl.h: ns3::Ipv4StaticRoutingImpl [class] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
27 |
module.add_class('Ipv4StaticRoutingImpl', parent=root_module['ns3::Ipv4StaticRouting']) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
28 |
## ipv4-list-routing-impl.h: ns3::Ipv4ListRoutingImpl [class] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
29 |
module.add_class('Ipv4ListRoutingImpl', parent=root_module['ns3::Ipv4ListRouting']) |
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 |
## Register a nested module for the namespace Config |
3408 | 32 |
|
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
|
33 |
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
|
34 |
register_types_ns3_Config(nested_module) |
3408 | 35 |
|
36 |
||
37 |
## Register a nested module for the namespace TimeStepPrecision |
|
38 |
||
39 |
nested_module = module.add_cpp_namespace('TimeStepPrecision') |
|
40 |
register_types_ns3_TimeStepPrecision(nested_module) |
|
41 |
||
42 |
||
4474
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
43 |
## Register a nested module for the namespace addressUtils |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
44 |
|
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
45 |
nested_module = module.add_cpp_namespace('addressUtils') |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
46 |
register_types_ns3_addressUtils(nested_module) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
47 |
|
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
48 |
|
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
|
49 |
## Register a nested module for the namespace internal |
3408 | 50 |
|
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
|
51 |
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
|
52 |
register_types_ns3_internal(nested_module) |
3408 | 53 |
|
54 |
||
55 |
## Register a nested module for the namespace olsr |
|
56 |
||
57 |
nested_module = module.add_cpp_namespace('olsr') |
|
58 |
register_types_ns3_olsr(nested_module) |
|
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_Config(module): |
3408 | 62 |
root_module = module.get_root() |
63 |
||
64 |
||
65 |
def register_types_ns3_TimeStepPrecision(module): |
|
66 |
root_module = module.get_root() |
|
67 |
||
68 |
||
4474
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
69 |
def register_types_ns3_addressUtils(module): |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
70 |
root_module = module.get_root() |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
71 |
|
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
72 |
|
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
|
73 |
def register_types_ns3_internal(module): |
3408 | 74 |
root_module = module.get_root() |
75 |
||
76 |
||
77 |
def register_types_ns3_olsr(module): |
|
78 |
root_module = module.get_root() |
|
79 |
||
80 |
||
81 |
def register_methods(root_module): |
|
3820 | 82 |
register_Ns3Icmpv4DestinationUnreachable_methods(root_module, root_module['ns3::Icmpv4DestinationUnreachable']) |
83 |
register_Ns3Icmpv4Echo_methods(root_module, root_module['ns3::Icmpv4Echo']) |
|
84 |
register_Ns3Icmpv4Header_methods(root_module, root_module['ns3::Icmpv4Header']) |
|
85 |
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
|
86 |
register_Ns3TcpHeader_methods(root_module, root_module['ns3::TcpHeader']) |
3408 | 87 |
register_Ns3UdpHeader_methods(root_module, root_module['ns3::UdpHeader']) |
4474
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
88 |
register_Ns3Ipv4StaticRoutingImpl_methods(root_module, root_module['ns3::Ipv4StaticRoutingImpl']) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
89 |
register_Ns3Ipv4ListRoutingImpl_methods(root_module, root_module['ns3::Ipv4ListRoutingImpl']) |
3408 | 90 |
return |
91 |
||
3820 | 92 |
def register_Ns3Icmpv4DestinationUnreachable_methods(root_module, cls): |
4241
c35796bc0b4b
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4218
diff
changeset
|
93 |
## 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
|
94 |
cls.add_constructor([param('ns3::Icmpv4DestinationUnreachable const &', 'arg0')]) |
3820 | 95 |
## icmpv4.h: static ns3::TypeId ns3::Icmpv4DestinationUnreachable::GetTypeId() [member function] |
96 |
cls.add_method('GetTypeId', |
|
97 |
'ns3::TypeId', |
|
98 |
[], |
|
99 |
is_static=True) |
|
100 |
## icmpv4.h: ns3::Icmpv4DestinationUnreachable::Icmpv4DestinationUnreachable() [constructor] |
|
101 |
cls.add_constructor([]) |
|
102 |
## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::SetNextHopMtu(uint16_t mtu) [member function] |
|
103 |
cls.add_method('SetNextHopMtu', |
|
104 |
'void', |
|
105 |
[param('uint16_t', 'mtu')]) |
|
106 |
## icmpv4.h: uint16_t ns3::Icmpv4DestinationUnreachable::GetNextHopMtu() const [member function] |
|
107 |
cls.add_method('GetNextHopMtu', |
|
108 |
'uint16_t', |
|
109 |
[], |
|
110 |
is_const=True) |
|
4407
ef566eeff84f
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4382
diff
changeset
|
111 |
## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::SetData(ns3::Ptr<ns3::Packet const> data) [member function] |
3820 | 112 |
cls.add_method('SetData', |
113 |
'void', |
|
114 |
[param('ns3::Ptr< ns3::Packet const >', 'data')]) |
|
115 |
## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::SetHeader(ns3::Ipv4Header header) [member function] |
|
116 |
cls.add_method('SetHeader', |
|
117 |
'void', |
|
118 |
[param('ns3::Ipv4Header', 'header')]) |
|
119 |
## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::GetData(uint8_t * payload) const [member function] |
|
120 |
cls.add_method('GetData', |
|
121 |
'void', |
|
122 |
[param('uint8_t *', 'payload')], |
|
123 |
is_const=True) |
|
124 |
## icmpv4.h: ns3::Ipv4Header ns3::Icmpv4DestinationUnreachable::GetHeader() const [member function] |
|
125 |
cls.add_method('GetHeader', |
|
126 |
'ns3::Ipv4Header', |
|
127 |
[], |
|
128 |
is_const=True) |
|
129 |
## icmpv4.h: ns3::TypeId ns3::Icmpv4DestinationUnreachable::GetInstanceTypeId() const [member function] |
|
130 |
cls.add_method('GetInstanceTypeId', |
|
131 |
'ns3::TypeId', |
|
132 |
[], |
|
133 |
is_const=True, visibility='private', is_virtual=True) |
|
134 |
## icmpv4.h: uint32_t ns3::Icmpv4DestinationUnreachable::GetSerializedSize() const [member function] |
|
135 |
cls.add_method('GetSerializedSize', |
|
136 |
'uint32_t', |
|
137 |
[], |
|
138 |
is_const=True, visibility='private', is_virtual=True) |
|
139 |
## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::Serialize(ns3::Buffer::Iterator start) const [member function] |
|
140 |
cls.add_method('Serialize', |
|
141 |
'void', |
|
142 |
[param('ns3::Buffer::Iterator', 'start')], |
|
143 |
is_const=True, visibility='private', is_virtual=True) |
|
144 |
## icmpv4.h: uint32_t ns3::Icmpv4DestinationUnreachable::Deserialize(ns3::Buffer::Iterator start) [member function] |
|
145 |
cls.add_method('Deserialize', |
|
146 |
'uint32_t', |
|
147 |
[param('ns3::Buffer::Iterator', 'start')], |
|
148 |
visibility='private', is_virtual=True) |
|
149 |
## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::Print(std::ostream & os) const [member function] |
|
150 |
cls.add_method('Print', |
|
151 |
'void', |
|
152 |
[param('std::ostream &', 'os')], |
|
153 |
is_const=True, visibility='private', is_virtual=True) |
|
154 |
return |
|
155 |
||
156 |
def register_Ns3Icmpv4Echo_methods(root_module, cls): |
|
4241
c35796bc0b4b
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4218
diff
changeset
|
157 |
## 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
|
158 |
cls.add_constructor([param('ns3::Icmpv4Echo const &', 'arg0')]) |
3820 | 159 |
## icmpv4.h: void ns3::Icmpv4Echo::SetIdentifier(uint16_t id) [member function] |
160 |
cls.add_method('SetIdentifier', |
|
161 |
'void', |
|
162 |
[param('uint16_t', 'id')]) |
|
163 |
## icmpv4.h: void ns3::Icmpv4Echo::SetSequenceNumber(uint16_t seq) [member function] |
|
164 |
cls.add_method('SetSequenceNumber', |
|
165 |
'void', |
|
166 |
[param('uint16_t', 'seq')]) |
|
4407
ef566eeff84f
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4382
diff
changeset
|
167 |
## icmpv4.h: void ns3::Icmpv4Echo::SetData(ns3::Ptr<ns3::Packet const> data) [member function] |
3820 | 168 |
cls.add_method('SetData', |
169 |
'void', |
|
170 |
[param('ns3::Ptr< ns3::Packet const >', 'data')]) |
|
171 |
## icmpv4.h: uint16_t ns3::Icmpv4Echo::GetIdentifier() const [member function] |
|
172 |
cls.add_method('GetIdentifier', |
|
173 |
'uint16_t', |
|
174 |
[], |
|
175 |
is_const=True) |
|
176 |
## icmpv4.h: uint16_t ns3::Icmpv4Echo::GetSequenceNumber() const [member function] |
|
177 |
cls.add_method('GetSequenceNumber', |
|
178 |
'uint16_t', |
|
179 |
[], |
|
180 |
is_const=True) |
|
4524
9836dcac0d41
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4474
diff
changeset
|
181 |
## icmpv4.h: uint32_t ns3::Icmpv4Echo::GetData(uint8_t * payload) const [member function] |
3820 | 182 |
cls.add_method('GetData', |
4524
9836dcac0d41
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4474
diff
changeset
|
183 |
'uint32_t', |
9836dcac0d41
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4474
diff
changeset
|
184 |
[param('uint8_t *', 'payload')], |
3820 | 185 |
is_const=True) |
186 |
## icmpv4.h: static ns3::TypeId ns3::Icmpv4Echo::GetTypeId() [member function] |
|
187 |
cls.add_method('GetTypeId', |
|
188 |
'ns3::TypeId', |
|
189 |
[], |
|
190 |
is_static=True) |
|
191 |
## icmpv4.h: ns3::Icmpv4Echo::Icmpv4Echo() [constructor] |
|
192 |
cls.add_constructor([]) |
|
193 |
## icmpv4.h: ns3::TypeId ns3::Icmpv4Echo::GetInstanceTypeId() const [member function] |
|
194 |
cls.add_method('GetInstanceTypeId', |
|
195 |
'ns3::TypeId', |
|
196 |
[], |
|
197 |
is_const=True, is_virtual=True) |
|
198 |
## icmpv4.h: uint32_t ns3::Icmpv4Echo::GetSerializedSize() const [member function] |
|
199 |
cls.add_method('GetSerializedSize', |
|
200 |
'uint32_t', |
|
201 |
[], |
|
202 |
is_const=True, is_virtual=True) |
|
203 |
## icmpv4.h: void ns3::Icmpv4Echo::Serialize(ns3::Buffer::Iterator start) const [member function] |
|
204 |
cls.add_method('Serialize', |
|
205 |
'void', |
|
206 |
[param('ns3::Buffer::Iterator', 'start')], |
|
207 |
is_const=True, is_virtual=True) |
|
208 |
## icmpv4.h: uint32_t ns3::Icmpv4Echo::Deserialize(ns3::Buffer::Iterator start) [member function] |
|
209 |
cls.add_method('Deserialize', |
|
210 |
'uint32_t', |
|
211 |
[param('ns3::Buffer::Iterator', 'start')], |
|
212 |
is_virtual=True) |
|
213 |
## icmpv4.h: void ns3::Icmpv4Echo::Print(std::ostream & os) const [member function] |
|
214 |
cls.add_method('Print', |
|
215 |
'void', |
|
216 |
[param('std::ostream &', 'os')], |
|
217 |
is_const=True, is_virtual=True) |
|
218 |
return |
|
219 |
||
220 |
def register_Ns3Icmpv4Header_methods(root_module, cls): |
|
4241
c35796bc0b4b
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4218
diff
changeset
|
221 |
## 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
|
222 |
cls.add_constructor([param('ns3::Icmpv4Header const &', 'arg0')]) |
3820 | 223 |
## icmpv4.h: void ns3::Icmpv4Header::EnableChecksum() [member function] |
224 |
cls.add_method('EnableChecksum', |
|
225 |
'void', |
|
226 |
[]) |
|
227 |
## icmpv4.h: void ns3::Icmpv4Header::SetType(uint8_t type) [member function] |
|
228 |
cls.add_method('SetType', |
|
229 |
'void', |
|
230 |
[param('uint8_t', 'type')]) |
|
231 |
## icmpv4.h: void ns3::Icmpv4Header::SetCode(uint8_t code) [member function] |
|
232 |
cls.add_method('SetCode', |
|
233 |
'void', |
|
234 |
[param('uint8_t', 'code')]) |
|
235 |
## icmpv4.h: uint8_t ns3::Icmpv4Header::GetType() const [member function] |
|
236 |
cls.add_method('GetType', |
|
237 |
'uint8_t', |
|
238 |
[], |
|
239 |
is_const=True) |
|
240 |
## icmpv4.h: uint8_t ns3::Icmpv4Header::GetCode() const [member function] |
|
241 |
cls.add_method('GetCode', |
|
242 |
'uint8_t', |
|
243 |
[], |
|
244 |
is_const=True) |
|
245 |
## icmpv4.h: static ns3::TypeId ns3::Icmpv4Header::GetTypeId() [member function] |
|
246 |
cls.add_method('GetTypeId', |
|
247 |
'ns3::TypeId', |
|
248 |
[], |
|
249 |
is_static=True) |
|
250 |
## icmpv4.h: ns3::Icmpv4Header::Icmpv4Header() [constructor] |
|
251 |
cls.add_constructor([]) |
|
252 |
## icmpv4.h: ns3::TypeId ns3::Icmpv4Header::GetInstanceTypeId() const [member function] |
|
253 |
cls.add_method('GetInstanceTypeId', |
|
254 |
'ns3::TypeId', |
|
255 |
[], |
|
256 |
is_const=True, is_virtual=True) |
|
257 |
## icmpv4.h: uint32_t ns3::Icmpv4Header::GetSerializedSize() const [member function] |
|
258 |
cls.add_method('GetSerializedSize', |
|
259 |
'uint32_t', |
|
260 |
[], |
|
261 |
is_const=True, is_virtual=True) |
|
262 |
## icmpv4.h: void ns3::Icmpv4Header::Serialize(ns3::Buffer::Iterator start) const [member function] |
|
263 |
cls.add_method('Serialize', |
|
264 |
'void', |
|
265 |
[param('ns3::Buffer::Iterator', 'start')], |
|
266 |
is_const=True, is_virtual=True) |
|
267 |
## icmpv4.h: uint32_t ns3::Icmpv4Header::Deserialize(ns3::Buffer::Iterator start) [member function] |
|
268 |
cls.add_method('Deserialize', |
|
269 |
'uint32_t', |
|
270 |
[param('ns3::Buffer::Iterator', 'start')], |
|
271 |
is_virtual=True) |
|
272 |
## icmpv4.h: void ns3::Icmpv4Header::Print(std::ostream & os) const [member function] |
|
273 |
cls.add_method('Print', |
|
274 |
'void', |
|
275 |
[param('std::ostream &', 'os')], |
|
276 |
is_const=True, is_virtual=True) |
|
277 |
return |
|
278 |
||
279 |
def register_Ns3Icmpv4TimeExceeded_methods(root_module, cls): |
|
4241
c35796bc0b4b
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4218
diff
changeset
|
280 |
## 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
|
281 |
cls.add_constructor([param('ns3::Icmpv4TimeExceeded const &', 'arg0')]) |
4407
ef566eeff84f
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4382
diff
changeset
|
282 |
## icmpv4.h: void ns3::Icmpv4TimeExceeded::SetData(ns3::Ptr<ns3::Packet const> data) [member function] |
3820 | 283 |
cls.add_method('SetData', |
284 |
'void', |
|
285 |
[param('ns3::Ptr< ns3::Packet const >', 'data')]) |
|
286 |
## icmpv4.h: void ns3::Icmpv4TimeExceeded::SetHeader(ns3::Ipv4Header header) [member function] |
|
287 |
cls.add_method('SetHeader', |
|
288 |
'void', |
|
289 |
[param('ns3::Ipv4Header', 'header')]) |
|
290 |
## icmpv4.h: void ns3::Icmpv4TimeExceeded::GetData(uint8_t * payload) const [member function] |
|
291 |
cls.add_method('GetData', |
|
292 |
'void', |
|
293 |
[param('uint8_t *', 'payload')], |
|
294 |
is_const=True) |
|
295 |
## icmpv4.h: ns3::Ipv4Header ns3::Icmpv4TimeExceeded::GetHeader() const [member function] |
|
296 |
cls.add_method('GetHeader', |
|
297 |
'ns3::Ipv4Header', |
|
298 |
[], |
|
299 |
is_const=True) |
|
300 |
## icmpv4.h: static ns3::TypeId ns3::Icmpv4TimeExceeded::GetTypeId() [member function] |
|
301 |
cls.add_method('GetTypeId', |
|
302 |
'ns3::TypeId', |
|
303 |
[], |
|
304 |
is_static=True) |
|
305 |
## icmpv4.h: ns3::Icmpv4TimeExceeded::Icmpv4TimeExceeded() [constructor] |
|
306 |
cls.add_constructor([]) |
|
307 |
## icmpv4.h: ns3::TypeId ns3::Icmpv4TimeExceeded::GetInstanceTypeId() const [member function] |
|
308 |
cls.add_method('GetInstanceTypeId', |
|
309 |
'ns3::TypeId', |
|
310 |
[], |
|
311 |
is_const=True, is_virtual=True) |
|
312 |
## icmpv4.h: uint32_t ns3::Icmpv4TimeExceeded::GetSerializedSize() const [member function] |
|
313 |
cls.add_method('GetSerializedSize', |
|
314 |
'uint32_t', |
|
315 |
[], |
|
316 |
is_const=True, is_virtual=True) |
|
317 |
## icmpv4.h: void ns3::Icmpv4TimeExceeded::Serialize(ns3::Buffer::Iterator start) const [member function] |
|
318 |
cls.add_method('Serialize', |
|
319 |
'void', |
|
320 |
[param('ns3::Buffer::Iterator', 'start')], |
|
321 |
is_const=True, is_virtual=True) |
|
322 |
## icmpv4.h: uint32_t ns3::Icmpv4TimeExceeded::Deserialize(ns3::Buffer::Iterator start) [member function] |
|
323 |
cls.add_method('Deserialize', |
|
324 |
'uint32_t', |
|
325 |
[param('ns3::Buffer::Iterator', 'start')], |
|
326 |
is_virtual=True) |
|
327 |
## icmpv4.h: void ns3::Icmpv4TimeExceeded::Print(std::ostream & os) const [member function] |
|
328 |
cls.add_method('Print', |
|
329 |
'void', |
|
330 |
[param('std::ostream &', 'os')], |
|
331 |
is_const=True, is_virtual=True) |
|
332 |
return |
|
333 |
||
3408 | 334 |
def register_Ns3TcpHeader_methods(root_module, cls): |
4241
c35796bc0b4b
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4218
diff
changeset
|
335 |
## 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
|
336 |
cls.add_constructor([param('ns3::TcpHeader const &', 'arg0')]) |
3408 | 337 |
## 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
|
338 |
cls.add_constructor([]) |
3408 | 339 |
## 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
|
340 |
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
|
341 |
'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
|
342 |
[]) |
3408 | 343 |
## 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
|
344 |
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
|
345 |
'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
|
346 |
[param('uint16_t', 'port')]) |
3408 | 347 |
## 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
|
348 |
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
|
349 |
'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
|
350 |
[param('uint16_t', 'port')]) |
3408 | 351 |
## 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
|
352 |
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
|
353 |
'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
|
354 |
[param('SequenceNumber', 'sequenceNumber')]) |
3408 | 355 |
## 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
|
356 |
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
|
357 |
'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
|
358 |
[param('SequenceNumber', 'ackNumber')]) |
3408 | 359 |
## 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
|
360 |
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
|
361 |
'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
|
362 |
[param('uint8_t', 'length')]) |
3408 | 363 |
## 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
|
364 |
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
|
365 |
'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
|
366 |
[param('uint8_t', 'flags')]) |
3408 | 367 |
## 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
|
368 |
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
|
369 |
'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
|
370 |
[param('uint16_t', 'windowSize')]) |
3408 | 371 |
## 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
|
372 |
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
|
373 |
'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
|
374 |
[param('uint16_t', 'urgentPointer')]) |
3408 | 375 |
## 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
|
376 |
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
|
377 |
'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
|
378 |
[], |
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 |
is_const=True) |
3408 | 380 |
## 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
|
381 |
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
|
382 |
'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
|
383 |
[], |
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 |
is_const=True) |
3408 | 385 |
## 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
|
386 |
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
|
387 |
'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
|
388 |
[], |
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 |
is_const=True) |
3408 | 390 |
## 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
|
391 |
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
|
392 |
'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
|
393 |
[], |
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 |
is_const=True) |
3408 | 395 |
## 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
|
396 |
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
|
397 |
'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
|
398 |
[], |
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 |
is_const=True) |
3408 | 400 |
## 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
|
401 |
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
|
402 |
'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
|
403 |
[], |
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 |
is_const=True) |
3408 | 405 |
## 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
|
406 |
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
|
407 |
'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
|
408 |
[], |
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 |
is_const=True) |
3408 | 410 |
## 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
|
411 |
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
|
412 |
'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
|
413 |
[], |
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 |
is_const=True) |
3408 | 415 |
## 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
|
416 |
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
|
417 |
'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
|
418 |
[param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol')]) |
3408 | 419 |
## 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
|
420 |
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
|
421 |
'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
|
422 |
[], |
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 |
is_static=True) |
3408 | 424 |
## 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
|
425 |
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
|
426 |
'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
|
427 |
[], |
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 |
is_const=True, is_virtual=True) |
3408 | 429 |
## 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
|
430 |
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
|
431 |
'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
|
432 |
[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
|
433 |
is_const=True, is_virtual=True) |
3408 | 434 |
## 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
|
435 |
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
|
436 |
'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
|
437 |
[], |
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 |
is_const=True, is_virtual=True) |
3408 | 439 |
## 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
|
440 |
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
|
441 |
'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
|
442 |
[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
|
443 |
is_const=True, is_virtual=True) |
3408 | 444 |
## 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
|
445 |
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
|
446 |
'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
|
447 |
[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
|
448 |
is_virtual=True) |
3408 | 449 |
## 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
|
450 |
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
|
451 |
'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
|
452 |
[], |
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
|
453 |
is_const=True) |
3408 | 454 |
return |
455 |
||
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
|
456 |
def register_Ns3UdpHeader_methods(root_module, cls): |
4241
c35796bc0b4b
rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4218
diff
changeset
|
457 |
## 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
|
458 |
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
|
459 |
## 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
|
460 |
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
|
461 |
## 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
|
462 |
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
|
463 |
'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
|
464 |
[]) |
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: 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
|
466 |
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
|
467 |
'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
|
468 |
[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
|
469 |
## 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
|
470 |
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
|
471 |
'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
|
472 |
[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
|
473 |
## 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
|
474 |
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
|
475 |
'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
|
476 |
[], |
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 |
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
|
478 |
## 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
|
479 |
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
|
480 |
'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
|
481 |
[], |
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 |
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
|
483 |
## 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
|
484 |
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
|
485 |
'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
|
486 |
[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
|
487 |
## 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
|
488 |
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
|
489 |
'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
|
490 |
[], |
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 |
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
|
492 |
## 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
|
493 |
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
|
494 |
'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
|
495 |
[], |
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 |
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
|
497 |
## 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
|
498 |
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
|
499 |
'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
|
500 |
[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
|
501 |
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
|
502 |
## 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
|
503 |
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
|
504 |
'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
|
505 |
[], |
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 |
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
|
507 |
## 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
|
508 |
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
|
509 |
'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
|
510 |
[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
|
511 |
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
|
512 |
## 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
|
513 |
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
|
514 |
'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
|
515 |
[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
|
516 |
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
|
517 |
## 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
|
518 |
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
|
519 |
'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
|
520 |
[], |
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
|
521 |
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
|
522 |
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
|
523 |
|
4474
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
524 |
def register_Ns3Ipv4StaticRoutingImpl_methods(root_module, cls): |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
525 |
## ipv4-static-routing-impl.h: ns3::Ipv4StaticRoutingImpl::Ipv4StaticRoutingImpl(ns3::Ipv4StaticRoutingImpl const & arg0) [copy constructor] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
526 |
cls.add_constructor([param('ns3::Ipv4StaticRoutingImpl const &', 'arg0')]) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
527 |
## ipv4-static-routing-impl.h: static ns3::TypeId ns3::Ipv4StaticRoutingImpl::GetTypeId() [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
528 |
cls.add_method('GetTypeId', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
529 |
'ns3::TypeId', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
530 |
[], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
531 |
is_static=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
532 |
## ipv4-static-routing-impl.h: ns3::Ipv4StaticRoutingImpl::Ipv4StaticRoutingImpl() [constructor] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
533 |
cls.add_constructor([]) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
534 |
## ipv4-static-routing-impl.h: ns3::Ptr<ns3::Ipv4Route> ns3::Ipv4StaticRoutingImpl::RouteOutput(ns3::Ipv4Header const & header, uint32_t oif, ns3::Socket::SocketErrno & sockerr) [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
535 |
cls.add_method('RouteOutput', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
536 |
'ns3::Ptr< ns3::Ipv4Route >', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
537 |
[param('ns3::Ipv4Header const &', 'header'), param('uint32_t', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
538 |
is_virtual=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
539 |
## ipv4-static-routing-impl.h: bool ns3::Ipv4StaticRoutingImpl::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::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ecb) [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
540 |
cls.add_method('RouteInput', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
541 |
'bool', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
542 |
[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::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
543 |
is_virtual=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
544 |
## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::AddHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface) [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
545 |
cls.add_method('AddHostRouteTo', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
546 |
'void', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
547 |
[param('ns3::Ipv4Address', 'dest'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
548 |
is_virtual=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
549 |
## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::AddHostRouteTo(ns3::Ipv4Address dest, uint32_t interface) [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
550 |
cls.add_method('AddHostRouteTo', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
551 |
'void', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
552 |
[param('ns3::Ipv4Address', 'dest'), param('uint32_t', 'interface')], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
553 |
is_virtual=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
554 |
## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface) [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
555 |
cls.add_method('AddNetworkRouteTo', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
556 |
'void', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
557 |
[param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
558 |
is_virtual=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
559 |
## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface) [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
560 |
cls.add_method('AddNetworkRouteTo', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
561 |
'void', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
562 |
[param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('uint32_t', 'interface')], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
563 |
is_virtual=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
564 |
## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::SetDefaultRoute(ns3::Ipv4Address nextHop, uint32_t interface) [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
565 |
cls.add_method('SetDefaultRoute', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
566 |
'void', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
567 |
[param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
568 |
is_virtual=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
569 |
## ipv4-static-routing-impl.h: uint32_t ns3::Ipv4StaticRoutingImpl::GetNRoutes() [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
570 |
cls.add_method('GetNRoutes', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
571 |
'uint32_t', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
572 |
[], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
573 |
is_virtual=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
574 |
## ipv4-static-routing-impl.h: ns3::Ipv4RoutingTableEntry ns3::Ipv4StaticRoutingImpl::GetDefaultRoute() [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
575 |
cls.add_method('GetDefaultRoute', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
576 |
'ns3::Ipv4RoutingTableEntry', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
577 |
[], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
578 |
is_virtual=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
579 |
## ipv4-static-routing-impl.h: ns3::Ipv4RoutingTableEntry ns3::Ipv4StaticRoutingImpl::GetRoute(uint32_t i) [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
580 |
cls.add_method('GetRoute', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
581 |
'ns3::Ipv4RoutingTableEntry', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
582 |
[param('uint32_t', 'i')], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
583 |
is_virtual=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
584 |
## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::RemoveRoute(uint32_t i) [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
585 |
cls.add_method('RemoveRoute', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
586 |
'void', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
587 |
[param('uint32_t', 'i')], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
588 |
is_virtual=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
589 |
## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::AddMulticastRoute(ns3::Ipv4Address origin, ns3::Ipv4Address group, uint32_t inputInterface, std::vector<unsigned int, std::allocator<unsigned int> > outputInterfaces) [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
590 |
cls.add_method('AddMulticastRoute', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
591 |
'void', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
592 |
[param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface'), param('std::vector< unsigned int >', 'outputInterfaces')], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
593 |
is_virtual=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
594 |
## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::SetDefaultMulticastRoute(uint32_t outputInterface) [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
595 |
cls.add_method('SetDefaultMulticastRoute', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
596 |
'void', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
597 |
[param('uint32_t', 'outputInterface')], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
598 |
is_virtual=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
599 |
## ipv4-static-routing-impl.h: uint32_t ns3::Ipv4StaticRoutingImpl::GetNMulticastRoutes() const [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
600 |
cls.add_method('GetNMulticastRoutes', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
601 |
'uint32_t', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
602 |
[], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
603 |
is_const=True, is_virtual=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
604 |
## ipv4-static-routing-impl.h: ns3::Ipv4MulticastRoutingTableEntry ns3::Ipv4StaticRoutingImpl::GetMulticastRoute(uint32_t i) const [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
605 |
cls.add_method('GetMulticastRoute', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
606 |
'ns3::Ipv4MulticastRoutingTableEntry', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
607 |
[param('uint32_t', 'i')], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
608 |
is_const=True, is_virtual=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
609 |
## ipv4-static-routing-impl.h: bool ns3::Ipv4StaticRoutingImpl::RemoveMulticastRoute(ns3::Ipv4Address origin, ns3::Ipv4Address group, uint32_t inputInterface) [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
610 |
cls.add_method('RemoveMulticastRoute', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
611 |
'bool', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
612 |
[param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface')], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
613 |
is_virtual=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
614 |
## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::RemoveMulticastRoute(uint32_t index) [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
615 |
cls.add_method('RemoveMulticastRoute', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
616 |
'void', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
617 |
[param('uint32_t', 'index')], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
618 |
is_virtual=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
619 |
## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::SetNode(ns3::Ptr<ns3::Node> node) [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
620 |
cls.add_method('SetNode', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
621 |
'void', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
622 |
[param('ns3::Ptr< ns3::Node >', 'node')], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
623 |
is_virtual=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
624 |
## ipv4-static-routing-impl.h: ns3::Ptr<ns3::Node> ns3::Ipv4StaticRoutingImpl::GetNode() const [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
625 |
cls.add_method('GetNode', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
626 |
'ns3::Ptr< ns3::Node >', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
627 |
[], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
628 |
is_const=True, is_virtual=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
629 |
## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::DoDispose() [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
630 |
cls.add_method('DoDispose', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
631 |
'void', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
632 |
[], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
633 |
visibility='protected', is_virtual=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
634 |
return |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
635 |
|
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
636 |
def register_Ns3Ipv4ListRoutingImpl_methods(root_module, cls): |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
637 |
## ipv4-list-routing-impl.h: ns3::Ipv4ListRoutingImpl::Ipv4ListRoutingImpl(ns3::Ipv4ListRoutingImpl const & arg0) [copy constructor] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
638 |
cls.add_constructor([param('ns3::Ipv4ListRoutingImpl const &', 'arg0')]) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
639 |
## ipv4-list-routing-impl.h: static ns3::TypeId ns3::Ipv4ListRoutingImpl::GetTypeId() [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
640 |
cls.add_method('GetTypeId', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
641 |
'ns3::TypeId', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
642 |
[], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
643 |
is_static=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
644 |
## ipv4-list-routing-impl.h: ns3::Ipv4ListRoutingImpl::Ipv4ListRoutingImpl() [constructor] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
645 |
cls.add_constructor([]) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
646 |
## ipv4-list-routing-impl.h: ns3::Ptr<ns3::Ipv4Route> ns3::Ipv4ListRoutingImpl::RouteOutput(ns3::Ipv4Header const & header, uint32_t oif, ns3::Socket::SocketErrno & sockerr) [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
647 |
cls.add_method('RouteOutput', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
648 |
'ns3::Ptr< ns3::Ipv4Route >', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
649 |
[param('ns3::Ipv4Header const &', 'header'), param('uint32_t', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
650 |
is_virtual=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
651 |
## ipv4-list-routing-impl.h: bool ns3::Ipv4ListRoutingImpl::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::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ecb) [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
652 |
cls.add_method('RouteInput', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
653 |
'bool', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
654 |
[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::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
655 |
is_virtual=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
656 |
## ipv4-list-routing-impl.h: void ns3::Ipv4ListRoutingImpl::AddRoutingProtocol(ns3::Ptr<ns3::Ipv4RoutingProtocol> routingProtocol, int16_t priority) [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
657 |
cls.add_method('AddRoutingProtocol', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
658 |
'void', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
659 |
[param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol'), param('int16_t', 'priority')], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
660 |
is_virtual=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
661 |
## ipv4-list-routing-impl.h: uint32_t ns3::Ipv4ListRoutingImpl::GetNRoutingProtocols() const [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
662 |
cls.add_method('GetNRoutingProtocols', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
663 |
'uint32_t', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
664 |
[], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
665 |
is_const=True, is_virtual=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
666 |
## ipv4-list-routing-impl.h: ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::Ipv4ListRoutingImpl::GetRoutingProtocol(uint32_t index, int16_t & priority) const [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
667 |
cls.add_method('GetRoutingProtocol', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
668 |
'ns3::Ptr< ns3::Ipv4RoutingProtocol >', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
669 |
[param('uint32_t', 'index'), param('int16_t &', 'priority')], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
670 |
is_const=True, is_virtual=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
671 |
## ipv4-list-routing-impl.h: ns3::Ptr<ns3::Ipv4StaticRouting> ns3::Ipv4ListRoutingImpl::GetStaticRouting() const [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
672 |
cls.add_method('GetStaticRouting', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
673 |
'ns3::Ptr< ns3::Ipv4StaticRouting >', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
674 |
[], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
675 |
is_const=True, is_virtual=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
676 |
## ipv4-list-routing-impl.h: void ns3::Ipv4ListRoutingImpl::SetNode(ns3::Ptr<ns3::Node> node) [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
677 |
cls.add_method('SetNode', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
678 |
'void', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
679 |
[param('ns3::Ptr< ns3::Node >', 'node')]) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
680 |
## ipv4-list-routing-impl.h: ns3::Ptr<ns3::Node> ns3::Ipv4ListRoutingImpl::GetNode() const [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
681 |
cls.add_method('GetNode', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
682 |
'ns3::Ptr< ns3::Node >', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
683 |
[], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
684 |
is_const=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
685 |
## ipv4-list-routing-impl.h: void ns3::Ipv4ListRoutingImpl::DoDispose() [member function] |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
686 |
cls.add_method('DoDispose', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
687 |
'void', |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
688 |
[], |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
689 |
visibility='protected', is_virtual=True) |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
690 |
return |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
691 |
|
3408 | 692 |
def register_functions(root_module): |
693 |
module = 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
|
694 |
register_functions_ns3_Config(module.get_submodule('Config'), root_module) |
3408 | 695 |
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) |
4474
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
696 |
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), 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
|
697 |
register_functions_ns3_internal(module.get_submodule('internal'), root_module) |
3408 | 698 |
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) |
699 |
return |
|
700 |
||
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
|
701 |
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
|
702 |
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
|
703 |
|
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
|
704 |
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
|
705 |
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
|
706 |
|
4474
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
707 |
def register_functions_ns3_addressUtils(module, root_module): |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
708 |
return |
19e2b7ff3482
bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents:
4454
diff
changeset
|
709 |
|
3408 | 710 |
def register_functions_ns3_internal(module, root_module): |
711 |
return |
|
712 |
||
713 |
def register_functions_ns3_olsr(module, root_module): |
|
714 |
return |
|
715 |