diff --git a/AUTHORS b/AUTHORS
index 6cb66345f..93e5c0225 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,16 +1,18 @@
-Kirill V. Andreev (kirillano@yandex.ru)
+Kirill Andreev (andreev@iitp.ru)
Nicola Baldo (nbaldo@cttc.es)
Mirko Banchi (mk.banchi@gmail.com)
+Ramon Bauza (monbauza@gmail.com)
Mehdi Benamor (mehdi.benamor@telecom-bretagne.eu)
Raj Bhattacharjea (raj.b@gatech.edu)
Timo Bingmann (timo.bingmann@student.kit.edu)
+Pavel Boyko (boyko@iitp.ru)
Gustavo Carneiro (gjc@inescporto.pt, gjcarneiro@gmail.com)
Angelos Chatzipapas (chatzipa@ceid.upatras.gr)
Luis Cortes (cortes@gatech.edu)
Craig Dowell (craigdo@ee.washington.edu)
David Gross (gdavid.devel@gmail.com)
Tom Henderson (tomhend@u.washington.edu)
-Andrey Hippo (ahippo@yandex.ru)
+Andrey Mazo (mazo@iitp.ru)
Sam Jansen (sam.jansen@gmail.com)
Liu Jian (liujatp@gmail.com)
Joe Kopena (tjkopena@cs.drexel.edu)
@@ -29,3 +31,4 @@ Mauro Tortonesi (mauro.tortonesi@unife.it)
Sebastien Vincent (vincent@clarinet.u-strasbg.fr)
Guillaume Vu-Brugier (gvubrugier@gmail.com)
Florian Westphal (fw@strlen.de)
+Josh Pelkey (jpelkey@gatech.edu)
diff --git a/CHANGES.html b/CHANGES.html
index d2269f231..c8ae3b493 100644
--- a/CHANGES.html
+++ b/CHANGES.html
@@ -67,6 +67,7 @@ allows a user to insert a route and have it redistributed like an OSPF
external LSA to the rest of the topology.
+
Athstats
New classes AthstatsWifiTraceSink and AthstatsHelper.
@@ -75,6 +76,7 @@ external LSA to the rest of the topology.
New trace sources exported by WifiRemoteStationManager: MacTxRtsFailed, MacTxDataFailed, MacTxFinalRtsFailed and MacTxFinalDataFailed.
+
IPv6 additions
Add an IPv6 protocol and ICMPv6 capability.
@@ -86,7 +88,42 @@ router solicitation, DAD
- routing objects Ipv6Route and Ipv6MulticastRoute
- routing protocols Ipv6ListRouting and Ipv6StaticRouting
- examples: icmpv6-redirect.cc, ping6.cc, radvd.cc, radvd-two-prefix.cc, simple-routing-ping6.cc
+
+
+
+
+Wireless Mesh Networking models
+
+
+
- General multi-interface mesh stack infrastructure (devices/mesh module).
+
- IEEE 802.11s (Draft 3.0) model including Peering Management Protocol and HWMP.
+
- Forwarding Layer for Meshing (FLAME) protocol.
+
+
+
+
+802.11 enhancements
+
+
+- 10MHz and 5MHz channel width supported by 802.11a model (Ramon Bauza and Kirill Andreev).
+
+
+- Channel switching support. YansWifiPhy can now switch among different channels (Ramon Bauza and Pavel Boyko).
+
+
+
+
+ Nix-vector Routing
+ Add nix-vector routing protocol
+
+- new helper class Ipv4NixVectorHelper
+
+
+- examples: nix-simple.cc, nms-p2p-nix.cc
+
+
+
Changes to existing API:
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
index 4175cd258..bf7d4bb52 100644
--- a/RELEASE_NOTES
+++ b/RELEASE_NOTES
@@ -30,8 +30,16 @@ http://www.nsnam.org/wiki/index.php/Installation
New user-visible features
-------------------------
- a) Add an implementation of the minstrel rate control algorithm
- (Duy Nguyen for gsoc)
+ a) 802.11 models:
+ - Add an implementation of the minstrel rate control algorithm
+ (Duy Nguyen for gsoc)
+ - AthstatsHelper: enables the wifi device to produce periodic
+ reports similar to the ones generated by madwifi's
+ athstats tool (Nicola Baldo)
+ - 10MHz and 5MHz channel width supported by 802.11a model
+ (Ramon Bauza and Kirill Andreev)
+ - Channel switching support. YansWifiPhy can now switch among
+ different channels (Ramon Bauza and Pavel Boyko)
b) IPv6 models:
- IPv6 interface;
@@ -46,11 +54,15 @@ New user-visible features
- Examples (ping6, simple-routing-ping6, radvd, radvd-two-prefix,
icmpv6-redirect).
- c) added AthstatsHelper, which enables the wifi device to produce
- periodic reports similar to the ones generated by madwifi's
- athstats tool (Nicola Baldo)
-
-
+ c) Wireless Mesh Networking models:
+ - General multi-interface mesh stack infrastructure (devices/mesh module).
+ - IEEE 802.11s (Draft 3.0) model including Peering Management Protocol and HWMP.
+ - Forwarding Layer for Meshing (FLAME) protocol.
+
+ d) Nix-vector routing:
+ - Ipv4NixVectorHelper
+ - Examples (nix-simple, nms-p2p-nix)
+
API changes from ns-3.5
-----------------------
API changes for this release are documented in the file CHANGES.html.
diff --git a/bindings/python/callbacks_list.py b/bindings/python/apidefs/gcc-ILP32/callbacks_list.py
similarity index 72%
rename from bindings/python/callbacks_list.py
rename to bindings/python/apidefs/gcc-ILP32/callbacks_list.py
index bfe090aa6..da45e917c 100644
--- a/bindings/python/callbacks_list.py
+++ b/bindings/python/apidefs/gcc-ILP32/callbacks_list.py
@@ -2,12 +2,17 @@ callback_classes = [
['void', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
['bool', 'ns3::Ptr', 'ns3::Address const&', 'ns3::Address const&', 'unsigned short', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
['void', 'ns3::Ptr', 'ns3::Mac48Address', 'ns3::Mac48Address', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
+ ['void', 'ns3::Mac48Address', 'ns3::Mac48Address', 'unsigned int', 'bool', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
+ ['void', 'unsigned int', 'ns3::Mac48Address', 'ns3::Mac48Address', 'ns3::dot11s::PeerLink::PeerState', 'ns3::dot11s::PeerLink::PeerState', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
+ ['void', 'ns3::WifiMacHeader const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
+ ['unsigned int', 'ns3::Mac48Address', 'ns3::Ptr', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
['void', 'ns3::Ptr', 'ns3::WifiMacHeader const*', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
['void', 'ns3::Ptr', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
['void', 'ns3::Ptr', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
['void', 'ns3::Ptr', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
['bool', 'ns3::Ptr', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
- ['void', 'ns3::WifiMacHeader const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
+ ['std::vector >', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
+ ['void', 'bool', 'ns3::Ptr', 'ns3::Mac48Address', 'ns3::Mac48Address', 'unsigned short', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
['bool', 'std::string', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
['bool', 'ns3::Ptr', 'ns3::Ptr', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
['bool', 'ns3::Ptr', 'ns3::Ptr', 'unsigned short', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
diff --git a/bindings/python/ns3_module_bridge.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_bridge.py
similarity index 95%
rename from bindings/python/ns3_module_bridge.py
rename to bindings/python/apidefs/gcc-ILP32/ns3_module_bridge.py
index 011a75fc2..76c1401b9 100644
--- a/bindings/python/ns3_module_bridge.py
+++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_bridge.py
@@ -26,6 +26,18 @@ def register_types(module):
register_types_ns3_addressUtils(nested_module)
+ ## Register a nested module for the namespace dot11s
+
+ nested_module = module.add_cpp_namespace('dot11s')
+ register_types_ns3_dot11s(nested_module)
+
+
+ ## Register a nested module for the namespace flame
+
+ nested_module = module.add_cpp_namespace('flame')
+ register_types_ns3_flame(nested_module)
+
+
## Register a nested module for the namespace internal
nested_module = module.add_cpp_namespace('internal')
@@ -50,6 +62,14 @@ def register_types_ns3_addressUtils(module):
root_module = module.get_root()
+def register_types_ns3_dot11s(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_flame(module):
+ root_module = module.get_root()
+
+
def register_types_ns3_internal(module):
root_module = module.get_root()
@@ -270,6 +290,8 @@ def register_functions(root_module):
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
+ register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
+ register_functions_ns3_flame(module.get_submodule('flame'), root_module)
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
return
@@ -283,6 +305,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
def register_functions_ns3_addressUtils(module, root_module):
return
+def register_functions_ns3_dot11s(module, root_module):
+ return
+
+def register_functions_ns3_flame(module, root_module):
+ return
+
def register_functions_ns3_internal(module, root_module):
return
diff --git a/bindings/python/ns3_module_common.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_common.py
similarity index 89%
rename from bindings/python/ns3_module_common.py
rename to bindings/python/apidefs/gcc-ILP32/ns3_module_common.py
index 4175cfe55..a7a0c4975 100644
--- a/bindings/python/ns3_module_common.py
+++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_common.py
@@ -39,6 +39,8 @@ def register_types(module):
module.add_class('PacketTagList')
## packet-tag-list.h: ns3::PacketTagList::TagData [struct]
module.add_class('TagData', outer_class=root_module['ns3::PacketTagList'])
+ ## pcap-file.h: ns3::PcapFile [class]
+ module.add_class('PcapFile')
## tag.h: ns3::Tag [class]
module.add_class('Tag', parent=root_module['ns3::ObjectBase'])
## tag-buffer.h: ns3::TagBuffer [class]
@@ -63,6 +65,8 @@ def register_types(module):
module.add_class('ErrorModel', parent=root_module['ns3::Object'])
## error-model.h: ns3::ListErrorModel [class]
module.add_class('ListErrorModel', parent=root_module['ns3::ErrorModel'])
+ ## nix-vector.h: ns3::NixVector [class]
+ module.add_class('NixVector', parent=root_module['ns3::Object'])
## error-model.h: ns3::RateErrorModel [class]
module.add_class('RateErrorModel', parent=root_module['ns3::ErrorModel'])
@@ -84,6 +88,18 @@ def register_types(module):
register_types_ns3_addressUtils(nested_module)
+ ## Register a nested module for the namespace dot11s
+
+ nested_module = module.add_cpp_namespace('dot11s')
+ register_types_ns3_dot11s(nested_module)
+
+
+ ## Register a nested module for the namespace flame
+
+ nested_module = module.add_cpp_namespace('flame')
+ register_types_ns3_flame(nested_module)
+
+
## Register a nested module for the namespace internal
nested_module = module.add_cpp_namespace('internal')
@@ -108,6 +124,14 @@ def register_types_ns3_addressUtils(module):
root_module = module.get_root()
+def register_types_ns3_dot11s(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_flame(module):
+ root_module = module.get_root()
+
+
def register_types_ns3_internal(module):
root_module = module.get_root()
@@ -133,6 +157,7 @@ def register_methods(root_module):
register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item'])
register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList'])
register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])
+ register_Ns3PcapFile_methods(root_module, root_module['ns3::PcapFile'])
register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
register_Ns3AsciiWriter_methods(root_module, root_module['ns3::AsciiWriter'])
@@ -144,6 +169,7 @@ def register_methods(root_module):
register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
register_Ns3ErrorModel_methods(root_module, root_module['ns3::ErrorModel'])
register_Ns3ListErrorModel_methods(root_module, root_module['ns3::ListErrorModel'])
+ register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
register_Ns3RateErrorModel_methods(root_module, root_module['ns3::RateErrorModel'])
return
@@ -588,6 +614,11 @@ def register_Ns3Packet_methods(root_module, cls):
'ns3::ByteTagIterator',
[],
is_const=True)
+ ## packet.h: ns3::Ptr ns3::Packet::GetNixVector() const [member function]
+ cls.add_method('GetNixVector',
+ 'ns3::Ptr< ns3::NixVector >',
+ [],
+ is_const=True)
## packet.h: ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function]
cls.add_method('GetPacketTagIterator',
'ns3::PacketTagIterator',
@@ -670,6 +701,10 @@ def register_Ns3Packet_methods(root_module, cls):
'ns3::Buffer',
[],
is_const=True)
+ ## packet.h: void ns3::Packet::SetNixVector(ns3::Ptr arg0) [member function]
+ cls.add_method('SetNixVector',
+ 'void',
+ [param('ns3::Ptr< ns3::NixVector >', 'arg0')])
return
def register_Ns3PacketMetadata_methods(root_module, cls):
@@ -859,6 +894,69 @@ def register_Ns3PacketTagListTagData_methods(root_module, cls):
cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
return
+def register_Ns3PcapFile_methods(root_module, cls):
+ ## pcap-file.h: ns3::PcapFile::PcapFile(ns3::PcapFile const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::PcapFile const &', 'arg0')])
+ ## pcap-file.h: ns3::PcapFile::PcapFile() [constructor]
+ cls.add_constructor([])
+ ## pcap-file.h: void ns3::PcapFile::Close() [member function]
+ cls.add_method('Close',
+ 'void',
+ [])
+ ## pcap-file.h: uint32_t ns3::PcapFile::GetDataLinkType() [member function]
+ cls.add_method('GetDataLinkType',
+ 'uint32_t',
+ [])
+ ## pcap-file.h: uint32_t ns3::PcapFile::GetMagic() [member function]
+ cls.add_method('GetMagic',
+ 'uint32_t',
+ [])
+ ## pcap-file.h: uint32_t ns3::PcapFile::GetSigFigs() [member function]
+ cls.add_method('GetSigFigs',
+ 'uint32_t',
+ [])
+ ## pcap-file.h: uint32_t ns3::PcapFile::GetSnapLen() [member function]
+ cls.add_method('GetSnapLen',
+ 'uint32_t',
+ [])
+ ## pcap-file.h: bool ns3::PcapFile::GetSwapMode() [member function]
+ cls.add_method('GetSwapMode',
+ 'bool',
+ [])
+ ## pcap-file.h: int32_t ns3::PcapFile::GetTimeZoneOffset() [member function]
+ cls.add_method('GetTimeZoneOffset',
+ 'int32_t',
+ [])
+ ## pcap-file.h: uint16_t ns3::PcapFile::GetVersionMajor() [member function]
+ cls.add_method('GetVersionMajor',
+ 'uint16_t',
+ [])
+ ## pcap-file.h: uint16_t ns3::PcapFile::GetVersionMinor() [member function]
+ cls.add_method('GetVersionMinor',
+ 'uint16_t',
+ [])
+ ## pcap-file.h: bool ns3::PcapFile::Init(uint32_t dataLinkType, uint32_t snapLen=ns3::PcapFile::SNAPLEN_DEFAULT, int32_t timeZoneCorrection=ns3::PcapFile::ZONE_DEFAULT, bool swapMode=false) [member function]
+ cls.add_method('Init',
+ 'bool',
+ [param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='ns3::PcapFile::SNAPLEN_DEFAULT'), param('int32_t', 'timeZoneCorrection', default_value='ns3::PcapFile::ZONE_DEFAULT'), param('bool', 'swapMode', default_value='false')])
+ ## pcap-file.h: bool ns3::PcapFile::Open(std::string const & filename, std::string const & mode) [member function]
+ cls.add_method('Open',
+ 'bool',
+ [param('std::string const &', 'filename'), param('std::string const &', 'mode')])
+ ## pcap-file.h: bool ns3::PcapFile::Read(uint8_t * const data, uint32_t maxBytes, uint32_t & tsSec, uint32_t & tsUsec, uint32_t & inclLen, uint32_t & origLen, uint32_t & readLen) [member function]
+ cls.add_method('Read',
+ 'bool',
+ [param('uint8_t * const', 'data'), param('uint32_t', 'maxBytes'), param('uint32_t &', 'tsSec'), param('uint32_t &', 'tsUsec'), param('uint32_t &', 'inclLen'), param('uint32_t &', 'origLen'), param('uint32_t &', 'readLen')])
+ ## pcap-file.h: bool ns3::PcapFile::Write(uint32_t tsSec, uint32_t tsUsec, uint8_t const * const data, uint32_t totalLen) [member function]
+ cls.add_method('Write',
+ 'bool',
+ [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('uint8_t const * const', 'data'), param('uint32_t', 'totalLen')])
+ ## pcap-file.h: ns3::PcapFile::SNAPLEN_DEFAULT [variable]
+ cls.add_static_attribute('SNAPLEN_DEFAULT', 'uint32_t const', is_const=True)
+ ## pcap-file.h: ns3::PcapFile::ZONE_DEFAULT [variable]
+ cls.add_static_attribute('ZONE_DEFAULT', 'int32_t const', is_const=True)
+ return
+
def register_Ns3Tag_methods(root_module, cls):
## tag.h: ns3::Tag::Tag() [constructor]
cls.add_constructor([])
@@ -1222,6 +1320,60 @@ def register_Ns3ListErrorModel_methods(root_module, cls):
visibility='private', is_virtual=True)
return
+def register_Ns3NixVector_methods(root_module, cls):
+ cls.add_output_stream_operator()
+ ## nix-vector.h: ns3::NixVector::NixVector() [constructor]
+ cls.add_constructor([])
+ ## nix-vector.h: ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor]
+ cls.add_constructor([param('ns3::NixVector const &', 'o')])
+ ## nix-vector.h: void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function]
+ cls.add_method('AddNeighborIndex',
+ 'void',
+ [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')])
+ ## nix-vector.h: uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function]
+ cls.add_method('BitCount',
+ 'uint32_t',
+ [param('uint32_t', 'numberOfNeighbors')],
+ is_const=True)
+ ## nix-vector.h: ns3::Ptr ns3::NixVector::Copy() const [member function]
+ cls.add_method('Copy',
+ 'ns3::Ptr< ns3::NixVector >',
+ [],
+ is_const=True)
+ ## nix-vector.h: uint32_t ns3::NixVector::Deserialize(ns3::Buffer::Iterator i) [member function]
+ cls.add_method('Deserialize',
+ 'uint32_t',
+ [param('ns3::Buffer::Iterator', 'i')])
+ ## nix-vector.h: void ns3::NixVector::DumpNixVector(std::ostream & os) const [member function]
+ cls.add_method('DumpNixVector',
+ 'void',
+ [param('std::ostream &', 'os')],
+ is_const=True)
+ ## nix-vector.h: uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function]
+ cls.add_method('ExtractNeighborIndex',
+ 'uint32_t',
+ [param('uint32_t', 'numberOfBits')])
+ ## nix-vector.h: uint32_t ns3::NixVector::GetRemainingBits() [member function]
+ cls.add_method('GetRemainingBits',
+ 'uint32_t',
+ [])
+ ## nix-vector.h: uint32_t ns3::NixVector::GetSerializedSize() const [member function]
+ cls.add_method('GetSerializedSize',
+ 'uint32_t',
+ [],
+ is_const=True)
+ ## nix-vector.h: static ns3::TypeId ns3::NixVector::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## nix-vector.h: void ns3::NixVector::Serialize(ns3::Buffer::Iterator i, uint32_t size) const [member function]
+ cls.add_method('Serialize',
+ 'void',
+ [param('ns3::Buffer::Iterator', 'i'), param('uint32_t', 'size')],
+ is_const=True)
+ return
+
def register_Ns3RateErrorModel_methods(root_module, cls):
## error-model.h: ns3::RateErrorModel::RateErrorModel(ns3::RateErrorModel const & arg0) [copy constructor]
cls.add_constructor([param('ns3::RateErrorModel const &', 'arg0')])
@@ -1290,6 +1442,8 @@ def register_functions(root_module):
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
+ register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
+ register_functions_ns3_flame(module.get_submodule('flame'), root_module)
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
return
@@ -1303,6 +1457,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
def register_functions_ns3_addressUtils(module, root_module):
return
+def register_functions_ns3_dot11s(module, root_module):
+ return
+
+def register_functions_ns3_flame(module, root_module):
+ return
+
def register_functions_ns3_internal(module, root_module):
return
diff --git a/bindings/python/ns3_module_contrib.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_contrib.py
similarity index 97%
rename from bindings/python/ns3_module_contrib.py
rename to bindings/python/apidefs/gcc-ILP32/ns3_module_contrib.py
index ef8989f31..e953c1869 100644
--- a/bindings/python/ns3_module_contrib.py
+++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_contrib.py
@@ -58,6 +58,18 @@ def register_types(module):
register_types_ns3_addressUtils(nested_module)
+ ## Register a nested module for the namespace dot11s
+
+ nested_module = module.add_cpp_namespace('dot11s')
+ register_types_ns3_dot11s(nested_module)
+
+
+ ## Register a nested module for the namespace flame
+
+ nested_module = module.add_cpp_namespace('flame')
+ register_types_ns3_flame(nested_module)
+
+
## Register a nested module for the namespace internal
nested_module = module.add_cpp_namespace('internal')
@@ -82,6 +94,14 @@ def register_types_ns3_addressUtils(module):
root_module = module.get_root()
+def register_types_ns3_dot11s(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_flame(module):
+ root_module = module.get_root()
+
+
def register_types_ns3_internal(module):
root_module = module.get_root()
@@ -481,6 +501,8 @@ def register_functions(root_module):
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
+ register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
+ register_functions_ns3_flame(module.get_submodule('flame'), root_module)
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
return
@@ -494,6 +516,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
def register_functions_ns3_addressUtils(module, root_module):
return
+def register_functions_ns3_dot11s(module, root_module):
+ return
+
+def register_functions_ns3_flame(module, root_module):
+ return
+
def register_functions_ns3_internal(module, root_module):
return
diff --git a/bindings/python/ns3_module_core.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_core.py
similarity index 91%
rename from bindings/python/ns3_module_core.py
rename to bindings/python/apidefs/gcc-ILP32/ns3_module_core.py
index 06d6e8014..ec79d6a9f 100644
--- a/bindings/python/ns3_module_core.py
+++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_core.py
@@ -69,6 +69,14 @@ def register_types(module):
module.add_class('SystemThread')
## system-wall-clock-ms.h: ns3::SystemWallClockMs [class]
module.add_class('SystemWallClockMs')
+ ## test.h: ns3::TestCase [class]
+ module.add_class('TestCase', allow_subclassing=True)
+ ## test.h: ns3::TestRunner [class]
+ module.add_class('TestRunner')
+ ## test.h: ns3::TestSuite [class]
+ module.add_class('TestSuite', allow_subclassing=True)
+ ## test.h: ns3::TestSuite::TestType [enumeration]
+ module.add_enum('TestType', ['BVT', 'UNIT', 'SYSTEM', 'EXAMPLE', 'PERFORMANCE'], outer_class=root_module['ns3::TestSuite'])
## trace-source-accessor.h: ns3::TraceSourceAccessor [class]
module.add_class('TraceSourceAccessor', allow_subclassing=True)
## random-variable.h: ns3::TriangularVariable [class]
@@ -189,6 +197,8 @@ def register_types(module):
root_module['ns3::TracedValue< unsigned int >'].implicitly_converts_to(root_module['ns3::EnumValue'])
module.add_container('std::list< ns3::Ptr< ns3::RadvdPrefix > >', 'ns3::Ptr< ns3::RadvdPrefix >', container_type='list')
module.add_container('std::list< ns3::Ptr< ns3::Packet > >', 'ns3::Ptr< ns3::Packet >', container_type='list')
+ module.add_container('std::vector< ns3::Ptr< ns3::FlowProbe > >', 'ns3::Ptr< ns3::FlowProbe >', container_type='vector')
+ module.add_container('std::vector< ns3::Ptr< ns3::NetDevice > >', 'ns3::Ptr< ns3::NetDevice >', container_type='vector')
typehandlers.add_type_alias('ns3::Vector3D', 'ns3::Vector')
typehandlers.add_type_alias('ns3::Vector3D*', 'ns3::Vector*')
typehandlers.add_type_alias('ns3::Vector3D&', 'ns3::Vector&')
@@ -220,6 +230,18 @@ def register_types(module):
register_types_ns3_addressUtils(nested_module)
+ ## Register a nested module for the namespace dot11s
+
+ nested_module = module.add_cpp_namespace('dot11s')
+ register_types_ns3_dot11s(nested_module)
+
+
+ ## Register a nested module for the namespace flame
+
+ nested_module = module.add_cpp_namespace('flame')
+ register_types_ns3_flame(nested_module)
+
+
## Register a nested module for the namespace internal
nested_module = module.add_cpp_namespace('internal')
@@ -247,6 +269,15 @@ def register_types_ns3_addressUtils(module):
root_module = module.get_root()
+def register_types_ns3_dot11s(module):
+ root_module = module.get_root()
+
+ module.add_container('std::vector< ns3::Ptr< ns3::dot11s::IeBeaconTimingUnit > >', 'ns3::Ptr< ns3::dot11s::IeBeaconTimingUnit >', container_type='vector')
+
+def register_types_ns3_flame(module):
+ root_module = module.get_root()
+
+
def register_types_ns3_internal(module):
root_module = module.get_root()
@@ -281,6 +312,9 @@ def register_methods(root_module):
register_Ns3SystemMutex_methods(root_module, root_module['ns3::SystemMutex'])
register_Ns3SystemThread_methods(root_module, root_module['ns3::SystemThread'])
register_Ns3SystemWallClockMs_methods(root_module, root_module['ns3::SystemWallClockMs'])
+ register_Ns3TestCase_methods(root_module, root_module['ns3::TestCase'])
+ register_Ns3TestRunner_methods(root_module, root_module['ns3::TestRunner'])
+ register_Ns3TestSuite_methods(root_module, root_module['ns3::TestSuite'])
register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor'])
register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable'])
register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
@@ -937,6 +971,228 @@ def register_Ns3SystemWallClockMs_methods(root_module, cls):
[])
return
+def register_Ns3TestCase_methods(root_module, cls):
+ ## test.h: ns3::TestCase::TestCase(std::string name) [constructor]
+ cls.add_constructor([param('std::string', 'name')])
+ ## test.h: bool ns3::TestCase::Run() [member function]
+ cls.add_method('Run',
+ 'bool',
+ [])
+ ## test.h: void ns3::TestCase::SetVerbose(bool verbose) [member function]
+ cls.add_method('SetVerbose',
+ 'void',
+ [param('bool', 'verbose')])
+ ## test.h: void ns3::TestCase::SetName(std::string name) [member function]
+ cls.add_method('SetName',
+ 'void',
+ [param('std::string', 'name')])
+ ## test.h: std::string ns3::TestCase::GetName() [member function]
+ cls.add_method('GetName',
+ 'std::string',
+ [])
+ ## test.h: void ns3::TestCase::SetBaseDir(std::string dir) [member function]
+ cls.add_method('SetBaseDir',
+ 'void',
+ [param('std::string', 'dir')])
+ ## test.h: std::string ns3::TestCase::GetBaseDir() [member function]
+ cls.add_method('GetBaseDir',
+ 'std::string',
+ [])
+ ## test.h: std::string ns3::TestCase::GetSourceDir(std::string file) [member function]
+ cls.add_method('GetSourceDir',
+ 'std::string',
+ [param('std::string', 'file')])
+ ## test.h: void ns3::TestCase::SetStream(std::ofstream * ofs) [member function]
+ cls.add_method('SetStream',
+ 'void',
+ [param('std::ofstream *', 'ofs')])
+ ## test.h: std::ofstream * ns3::TestCase::GetStream() [member function]
+ cls.add_method('GetStream',
+ 'std::ofstream *',
+ [])
+ ## test.h: void ns3::TestCase::SetErrorStatus(bool error) [member function]
+ cls.add_method('SetErrorStatus',
+ 'void',
+ [param('bool', 'error')])
+ ## test.h: bool ns3::TestCase::GetErrorStatus() [member function]
+ cls.add_method('GetErrorStatus',
+ 'bool',
+ [])
+ ## test.h: void ns3::TestCase::ReportStart() [member function]
+ cls.add_method('ReportStart',
+ 'void',
+ [])
+ ## test.h: void ns3::TestCase::ReportSuccess() [member function]
+ cls.add_method('ReportSuccess',
+ 'void',
+ [])
+ ## test.h: void ns3::TestCase::ReportFailure(std::string cond, std::string actual, std::string limit, std::string message, std::string file, int32_t line) [member function]
+ cls.add_method('ReportFailure',
+ 'void',
+ [param('std::string', 'cond'), param('std::string', 'actual'), param('std::string', 'limit'), param('std::string', 'message'), param('std::string', 'file'), param('int32_t', 'line')])
+ ## test.h: void ns3::TestCase::ReportEnd() [member function]
+ cls.add_method('ReportEnd',
+ 'void',
+ [])
+ ## test.h: void ns3::TestCase::DoReportStart() [member function]
+ cls.add_method('DoReportStart',
+ 'void',
+ [],
+ visibility='protected', is_virtual=True)
+ ## test.h: void ns3::TestCase::DoReportSuccess() [member function]
+ cls.add_method('DoReportSuccess',
+ 'void',
+ [],
+ visibility='protected', is_virtual=True)
+ ## test.h: void ns3::TestCase::DoReportFailure(std::string cond, std::string actual, std::string limit, std::string message, std::string file, int32_t line) [member function]
+ cls.add_method('DoReportFailure',
+ 'void',
+ [param('std::string', 'cond'), param('std::string', 'actual'), param('std::string', 'limit'), param('std::string', 'message'), param('std::string', 'file'), param('int32_t', 'line')],
+ visibility='protected', is_virtual=True)
+ ## test.h: void ns3::TestCase::DoReportEnd() [member function]
+ cls.add_method('DoReportEnd',
+ 'void',
+ [],
+ visibility='protected', is_virtual=True)
+ ## test.h: void ns3::TestCase::DoSetup() [member function]
+ cls.add_method('DoSetup',
+ 'void',
+ [],
+ visibility='protected', is_virtual=True)
+ ## test.h: bool ns3::TestCase::DoRun() [member function]
+ cls.add_method('DoRun',
+ 'bool',
+ [],
+ is_pure_virtual=True, visibility='protected', is_virtual=True)
+ ## test.h: void ns3::TestCase::DoTeardown() [member function]
+ cls.add_method('DoTeardown',
+ 'void',
+ [],
+ visibility='protected', is_virtual=True)
+ return
+
+def register_Ns3TestRunner_methods(root_module, cls):
+ ## test.h: ns3::TestRunner::TestRunner() [constructor]
+ cls.add_constructor([])
+ ## test.h: ns3::TestRunner::TestRunner(ns3::TestRunner const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::TestRunner const &', 'arg0')])
+ ## test.h: static uint32_t ns3::TestRunner::AddTestSuite(ns3::TestSuite * testSuite) [member function]
+ cls.add_method('AddTestSuite',
+ 'uint32_t',
+ [param('ns3::TestSuite *', 'testSuite')],
+ is_static=True)
+ ## test.h: static uint32_t ns3::TestRunner::GetNTestSuites() [member function]
+ cls.add_method('GetNTestSuites',
+ 'uint32_t',
+ [],
+ is_static=True)
+ ## test.h: static ns3::TestSuite * ns3::TestRunner::GetTestSuite(uint32_t n) [member function]
+ cls.add_method('GetTestSuite',
+ 'ns3::TestSuite *',
+ [param('uint32_t', 'n')],
+ is_static=True)
+ return
+
+def register_Ns3TestSuite_methods(root_module, cls):
+ ## test.h: ns3::TestSuite::TestSuite(std::string name, ns3::TestSuite::TestType type=::ns3::TestSuite::UNIT) [constructor]
+ cls.add_constructor([param('std::string', 'name'), param('ns3::TestSuite::TestType', 'type', default_value='::ns3::TestSuite::UNIT')])
+ ## test.h: bool ns3::TestSuite::Run() [member function]
+ cls.add_method('Run',
+ 'bool',
+ [])
+ ## test.h: uint32_t ns3::TestSuite::AddTestCase(ns3::TestCase * testCase) [member function]
+ cls.add_method('AddTestCase',
+ 'uint32_t',
+ [param('ns3::TestCase *', 'testCase')])
+ ## test.h: uint32_t ns3::TestSuite::GetNTestCases() [member function]
+ cls.add_method('GetNTestCases',
+ 'uint32_t',
+ [])
+ ## test.h: ns3::TestCase * ns3::TestSuite::GetTestCase(uint32_t i) [member function]
+ cls.add_method('GetTestCase',
+ 'ns3::TestCase *',
+ [param('uint32_t', 'i')])
+ ## test.h: ns3::TestSuite::TestType ns3::TestSuite::GetTestType() [member function]
+ cls.add_method('GetTestType',
+ 'ns3::TestSuite::TestType',
+ [])
+ ## test.h: void ns3::TestSuite::SetVerbose(bool verbose) [member function]
+ cls.add_method('SetVerbose',
+ 'void',
+ [param('bool', 'verbose')])
+ ## test.h: void ns3::TestSuite::SetName(std::string name) [member function]
+ cls.add_method('SetName',
+ 'void',
+ [param('std::string', 'name')])
+ ## test.h: std::string ns3::TestSuite::GetName() [member function]
+ cls.add_method('GetName',
+ 'std::string',
+ [])
+ ## test.h: void ns3::TestSuite::SetBaseDir(std::string basedir) [member function]
+ cls.add_method('SetBaseDir',
+ 'void',
+ [param('std::string', 'basedir')])
+ ## test.h: std::string ns3::TestSuite::GetBaseDir() [member function]
+ cls.add_method('GetBaseDir',
+ 'std::string',
+ [])
+ ## test.h: void ns3::TestSuite::SetStream(std::ofstream * ofs) [member function]
+ cls.add_method('SetStream',
+ 'void',
+ [param('std::ofstream *', 'ofs')])
+ ## test.h: void ns3::TestSuite::ReportStart() [member function]
+ cls.add_method('ReportStart',
+ 'void',
+ [])
+ ## test.h: void ns3::TestSuite::ReportSuccess() [member function]
+ cls.add_method('ReportSuccess',
+ 'void',
+ [])
+ ## test.h: void ns3::TestSuite::ReportFailure() [member function]
+ cls.add_method('ReportFailure',
+ 'void',
+ [])
+ ## test.h: void ns3::TestSuite::ReportEnd() [member function]
+ cls.add_method('ReportEnd',
+ 'void',
+ [])
+ ## test.h: void ns3::TestSuite::DoReportStart() [member function]
+ cls.add_method('DoReportStart',
+ 'void',
+ [],
+ visibility='protected', is_virtual=True)
+ ## test.h: void ns3::TestSuite::DoReportSuccess() [member function]
+ cls.add_method('DoReportSuccess',
+ 'void',
+ [],
+ visibility='protected', is_virtual=True)
+ ## test.h: void ns3::TestSuite::DoReportFailure() [member function]
+ cls.add_method('DoReportFailure',
+ 'void',
+ [],
+ visibility='protected', is_virtual=True)
+ ## test.h: void ns3::TestSuite::DoReportEnd() [member function]
+ cls.add_method('DoReportEnd',
+ 'void',
+ [],
+ visibility='protected', is_virtual=True)
+ ## test.h: void ns3::TestSuite::DoSetup() [member function]
+ cls.add_method('DoSetup',
+ 'void',
+ [],
+ visibility='protected', is_virtual=True)
+ ## test.h: bool ns3::TestSuite::DoRun() [member function]
+ cls.add_method('DoRun',
+ 'bool',
+ [],
+ visibility='protected', is_virtual=True)
+ ## test.h: void ns3::TestSuite::DoTeardown() [member function]
+ cls.add_method('DoTeardown',
+ 'void',
+ [],
+ visibility='protected', is_virtual=True)
+ return
+
def register_Ns3TraceSourceAccessor_methods(root_module, cls):
## trace-source-accessor.h: ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor]
cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')])
@@ -2203,7 +2459,7 @@ def register_Ns3TracedValue__Unsigned_int_methods(root_module, cls):
cls.add_constructor([param('ns3::BooleanValue const &', 'value')])
## traced-value.h: ns3::TracedValue::TracedValue(ns3::EnumValue const & value) [constructor]
cls.add_constructor([param('ns3::EnumValue const &', 'value')])
- ## traced-value.h: void ns3::TracedValue::Connect(ns3::CallbackBase const & cb, std::string path) [member function]
+ ## traced-value.h: void ns3::TracedValue::Connect(ns3::CallbackBase const & cb, std::basic_string,std::allocator > path) [member function]
cls.add_method('Connect',
'void',
[param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
@@ -2211,7 +2467,7 @@ def register_Ns3TracedValue__Unsigned_int_methods(root_module, cls):
cls.add_method('ConnectWithoutContext',
'void',
[param('ns3::CallbackBase const &', 'cb')])
- ## traced-value.h: void ns3::TracedValue::Disconnect(ns3::CallbackBase const & cb, std::string path) [member function]
+ ## traced-value.h: void ns3::TracedValue::Disconnect(ns3::CallbackBase const & cb, std::basic_string,std::allocator > path) [member function]
cls.add_method('Disconnect',
'void',
[param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
@@ -2369,6 +2625,10 @@ def register_functions(root_module):
module.add_function('MakeVectorChecker',
'ns3::Ptr< ns3::AttributeChecker const >',
[])
+ ## test.h: extern bool ns3::TestDoubleIsEqual(double const a, double const b, double const epsilon=std::numeric_limits::epsilon()) [free function]
+ module.add_function('TestDoubleIsEqual',
+ 'bool',
+ [param('double const', 'a'), param('double const', 'b'), param('double const', 'epsilon', default_value='std::numeric_limits::epsilon()')])
## type-name.h: extern std::string ns3::TypeNameGet() [free function]
module.add_function('TypeNameGet',
'std::string',
@@ -2422,6 +2682,8 @@ def register_functions(root_module):
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
+ register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
+ register_functions_ns3_flame(module.get_submodule('flame'), root_module)
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
return
@@ -2491,6 +2753,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
def register_functions_ns3_addressUtils(module, root_module):
return
+def register_functions_ns3_dot11s(module, root_module):
+ return
+
+def register_functions_ns3_flame(module, root_module):
+ return
+
def register_functions_ns3_internal(module, root_module):
## double.h: extern ns3::Ptr ns3::internal::MakeDoubleChecker(double min, double max, std::string name) [free function]
module.add_function('MakeDoubleChecker',
diff --git a/bindings/python/ns3_module_csma.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_csma.py
similarity index 96%
rename from bindings/python/ns3_module_csma.py
rename to bindings/python/apidefs/gcc-ILP32/ns3_module_csma.py
index 7ce291dd1..f70b6d99b 100644
--- a/bindings/python/ns3_module_csma.py
+++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_csma.py
@@ -34,6 +34,18 @@ def register_types(module):
register_types_ns3_addressUtils(nested_module)
+ ## Register a nested module for the namespace dot11s
+
+ nested_module = module.add_cpp_namespace('dot11s')
+ register_types_ns3_dot11s(nested_module)
+
+
+ ## Register a nested module for the namespace flame
+
+ nested_module = module.add_cpp_namespace('flame')
+ register_types_ns3_flame(nested_module)
+
+
## Register a nested module for the namespace internal
nested_module = module.add_cpp_namespace('internal')
@@ -58,6 +70,14 @@ def register_types_ns3_addressUtils(module):
root_module = module.get_root()
+def register_types_ns3_dot11s(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_flame(module):
+ root_module = module.get_root()
+
+
def register_types_ns3_internal(module):
root_module = module.get_root()
@@ -424,6 +444,8 @@ def register_functions(root_module):
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
+ register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
+ register_functions_ns3_flame(module.get_submodule('flame'), root_module)
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
return
@@ -437,6 +459,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
def register_functions_ns3_addressUtils(module, root_module):
return
+def register_functions_ns3_dot11s(module, root_module):
+ return
+
+def register_functions_ns3_flame(module, root_module):
+ return
+
def register_functions_ns3_internal(module, root_module):
return
diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_dot11s.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_dot11s.py
new file mode 100644
index 000000000..71e2d9cb1
--- /dev/null
+++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_dot11s.py
@@ -0,0 +1,782 @@
+from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
+
+def register_types(module):
+ root_module = module.get_root()
+
+
+ ## Register a nested module for the namespace Config
+
+ nested_module = module.add_cpp_namespace('Config')
+ register_types_ns3_Config(nested_module)
+
+
+ ## Register a nested module for the namespace TimeStepPrecision
+
+ nested_module = module.add_cpp_namespace('TimeStepPrecision')
+ register_types_ns3_TimeStepPrecision(nested_module)
+
+
+ ## Register a nested module for the namespace addressUtils
+
+ nested_module = module.add_cpp_namespace('addressUtils')
+ register_types_ns3_addressUtils(nested_module)
+
+
+ ## Register a nested module for the namespace dot11s
+
+ nested_module = module.add_cpp_namespace('dot11s')
+ register_types_ns3_dot11s(nested_module)
+
+
+ ## Register a nested module for the namespace flame
+
+ nested_module = module.add_cpp_namespace('flame')
+ register_types_ns3_flame(nested_module)
+
+
+ ## Register a nested module for the namespace internal
+
+ nested_module = module.add_cpp_namespace('internal')
+ register_types_ns3_internal(nested_module)
+
+
+ ## Register a nested module for the namespace olsr
+
+ nested_module = module.add_cpp_namespace('olsr')
+ register_types_ns3_olsr(nested_module)
+
+
+def register_types_ns3_Config(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_TimeStepPrecision(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_addressUtils(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_dot11s(module):
+ root_module = module.get_root()
+
+ ## ie-dot11s-configuration.h: ns3::dot11s::dot11sPathSelectionProtocol [enumeration]
+ module.add_enum('dot11sPathSelectionProtocol', ['PROTOCOL_HWMP'])
+ ## ie-dot11s-configuration.h: ns3::dot11s::dot11sSynchronizationProtocolIdentifier [enumeration]
+ module.add_enum('dot11sSynchronizationProtocolIdentifier', ['SYNC_NEIGHBOUR_OFFSET', 'SYNC_NULL'])
+ ## ie-dot11s-configuration.h: ns3::dot11s::dot11sCongestionControlMode [enumeration]
+ module.add_enum('dot11sCongestionControlMode', ['CONGESTION_SIGNALING', 'CONGESTION_NULL'])
+ ## ie-dot11s-configuration.h: ns3::dot11s::dot11sAuthenticationProtocol [enumeration]
+ module.add_enum('dot11sAuthenticationProtocol', ['AUTH_NULL', 'AUTH_SAE'])
+ ## ie-dot11s-peer-management.h: ns3::dot11s::PmpReasonCode [enumeration]
+ module.add_enum('PmpReasonCode', ['REASON11S_PEERING_CANCELLED', 'REASON11S_MESH_MAX_PEERS', 'REASON11S_MESH_CAPABILITY_POLICY_VIOLATION', 'REASON11S_MESH_CLOSE_RCVD', 'REASON11S_MESH_MAX_RETRIES', 'REASON11S_MESH_CONFIRM_TIMEOUT', 'REASON11S_MESH_INVALID_GTK', 'REASON11S_MESH_INCONSISTENT_PARAMETERS', 'REASON11S_MESH_INVALID_SECURITY_CAPABILITY', 'REASON11S_RESERVED'])
+ ## ie-dot11s-configuration.h: ns3::dot11s::dot11sPathSelectionMetric [enumeration]
+ module.add_enum('dot11sPathSelectionMetric', ['METRIC_AIRTIME'])
+ ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability [class]
+ module.add_class('Dot11sMeshCapability')
+ ## hwmp-protocol.h: ns3::dot11s::HwmpProtocol [class]
+ module.add_class('HwmpProtocol', parent=root_module['ns3::MeshL2RoutingProtocol'])
+ ## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::FailedDestination [struct]
+ module.add_class('FailedDestination', outer_class=root_module['ns3::dot11s::HwmpProtocol'])
+ ## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTiming [class]
+ module.add_class('IeBeaconTiming', parent=root_module['ns3::WifiInformationElement'])
+ ## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTimingUnit [class]
+ module.add_class('IeBeaconTimingUnit', parent=root_module['ns3::RefCountBase'])
+ ## ie-dot11s-configuration.h: ns3::dot11s::IeConfiguration [class]
+ module.add_class('IeConfiguration', parent=root_module['ns3::WifiInformationElement'])
+ ## ie-dot11s-id.h: ns3::dot11s::IeMeshId [class]
+ module.add_class('IeMeshId', parent=root_module['ns3::WifiInformationElement'])
+ ## ie-dot11s-id.h: ns3::dot11s::IeMeshIdChecker [class]
+ module.add_class('IeMeshIdChecker', parent=root_module['ns3::AttributeChecker'])
+ ## ie-dot11s-id.h: ns3::dot11s::IeMeshIdValue [class]
+ module.add_class('IeMeshIdValue', parent=root_module['ns3::AttributeValue'])
+ ## ie-dot11s-peer-management.h: ns3::dot11s::IePeerManagement [class]
+ module.add_class('IePeerManagement', parent=root_module['ns3::WifiInformationElement'])
+ ## ie-dot11s-peer-management.h: ns3::dot11s::IePeerManagement::Subtype [enumeration]
+ module.add_enum('Subtype', ['PEER_OPEN', 'PEER_CONFIRM', 'PEER_CLOSE'], outer_class=root_module['ns3::dot11s::IePeerManagement'])
+ ## peer-link.h: ns3::dot11s::PeerLink [class]
+ module.add_class('PeerLink', parent=root_module['ns3::Object'])
+ ## peer-link.h: ns3::dot11s::PeerLink::PeerState [enumeration]
+ module.add_enum('PeerState', ['IDLE', 'OPN_SNT', 'CNF_RCVD', 'OPN_RCVD', 'ESTAB', 'HOLDING'], outer_class=root_module['ns3::dot11s::PeerLink'])
+ ## peer-management-protocol.h: ns3::dot11s::PeerManagementProtocol [class]
+ module.add_class('PeerManagementProtocol', parent=root_module['ns3::Object'])
+
+def register_types_ns3_flame(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_internal(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_olsr(module):
+ root_module = module.get_root()
+
+
+def register_methods(root_module):
+ register_Ns3Dot11sDot11sMeshCapability_methods(root_module, root_module['ns3::dot11s::Dot11sMeshCapability'])
+ register_Ns3Dot11sHwmpProtocol_methods(root_module, root_module['ns3::dot11s::HwmpProtocol'])
+ register_Ns3Dot11sHwmpProtocolFailedDestination_methods(root_module, root_module['ns3::dot11s::HwmpProtocol::FailedDestination'])
+ register_Ns3Dot11sIeBeaconTiming_methods(root_module, root_module['ns3::dot11s::IeBeaconTiming'])
+ register_Ns3Dot11sIeBeaconTimingUnit_methods(root_module, root_module['ns3::dot11s::IeBeaconTimingUnit'])
+ register_Ns3Dot11sIeConfiguration_methods(root_module, root_module['ns3::dot11s::IeConfiguration'])
+ register_Ns3Dot11sIeMeshId_methods(root_module, root_module['ns3::dot11s::IeMeshId'])
+ register_Ns3Dot11sIeMeshIdChecker_methods(root_module, root_module['ns3::dot11s::IeMeshIdChecker'])
+ register_Ns3Dot11sIeMeshIdValue_methods(root_module, root_module['ns3::dot11s::IeMeshIdValue'])
+ register_Ns3Dot11sIePeerManagement_methods(root_module, root_module['ns3::dot11s::IePeerManagement'])
+ register_Ns3Dot11sPeerLink_methods(root_module, root_module['ns3::dot11s::PeerLink'])
+ register_Ns3Dot11sPeerManagementProtocol_methods(root_module, root_module['ns3::dot11s::PeerManagementProtocol'])
+ return
+
+def register_Ns3Dot11sDot11sMeshCapability_methods(root_module, cls):
+ cls.add_binary_comparison_operator('==')
+ ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::Dot11sMeshCapability(ns3::dot11s::Dot11sMeshCapability const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::dot11s::Dot11sMeshCapability const &', 'arg0')])
+ ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::Dot11sMeshCapability() [constructor]
+ cls.add_constructor([])
+ ## ie-dot11s-configuration.h: ns3::Buffer::Iterator ns3::dot11s::Dot11sMeshCapability::Deserialize(ns3::Buffer::Iterator i) [member function]
+ cls.add_method('Deserialize',
+ 'ns3::Buffer::Iterator',
+ [param('ns3::Buffer::Iterator', 'i')])
+ ## ie-dot11s-configuration.h: uint8_t ns3::dot11s::Dot11sMeshCapability::GetSerializedSize() const [member function]
+ cls.add_method('GetSerializedSize',
+ 'uint8_t',
+ [],
+ is_const=True)
+ ## ie-dot11s-configuration.h: uint16_t ns3::dot11s::Dot11sMeshCapability::GetUint16() const [member function]
+ cls.add_method('GetUint16',
+ 'uint16_t',
+ [],
+ is_const=True)
+ ## ie-dot11s-configuration.h: bool ns3::dot11s::Dot11sMeshCapability::Is(uint16_t cap, uint8_t n) const [member function]
+ cls.add_method('Is',
+ 'bool',
+ [param('uint16_t', 'cap'), param('uint8_t', 'n')],
+ is_const=True)
+ ## ie-dot11s-configuration.h: ns3::Buffer::Iterator ns3::dot11s::Dot11sMeshCapability::Serialize(ns3::Buffer::Iterator i) const [member function]
+ cls.add_method('Serialize',
+ 'ns3::Buffer::Iterator',
+ [param('ns3::Buffer::Iterator', 'i')],
+ is_const=True)
+ ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::MCCAEnabled [variable]
+ cls.add_instance_attribute('MCCAEnabled', 'bool', is_const=False)
+ ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::MCCASupported [variable]
+ cls.add_instance_attribute('MCCASupported', 'bool', is_const=False)
+ ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::TBTTAdjustment [variable]
+ cls.add_instance_attribute('TBTTAdjustment', 'bool', is_const=False)
+ ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::acceptPeerLinks [variable]
+ cls.add_instance_attribute('acceptPeerLinks', 'bool', is_const=False)
+ ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::beaconTimingReport [variable]
+ cls.add_instance_attribute('beaconTimingReport', 'bool', is_const=False)
+ ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::forwarding [variable]
+ cls.add_instance_attribute('forwarding', 'bool', is_const=False)
+ ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::powerSaveLevel [variable]
+ cls.add_instance_attribute('powerSaveLevel', 'bool', is_const=False)
+ return
+
+def register_Ns3Dot11sHwmpProtocol_methods(root_module, cls):
+ ## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::HwmpProtocol() [constructor]
+ cls.add_constructor([])
+ ## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::DoDispose() [member function]
+ cls.add_method('DoDispose',
+ 'void',
+ [],
+ is_virtual=True)
+ ## hwmp-protocol.h: static ns3::TypeId ns3::dot11s::HwmpProtocol::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## hwmp-protocol.h: bool ns3::dot11s::HwmpProtocol::Install(ns3::Ptr arg0) [member function]
+ cls.add_method('Install',
+ 'bool',
+ [param('ns3::Ptr< ns3::MeshPointDevice >', 'arg0')])
+ ## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::PeerLinkStatus(ns3::Mac48Address meshPontAddress, ns3::Mac48Address peerAddress, uint32_t interface, bool status) [member function]
+ cls.add_method('PeerLinkStatus',
+ 'void',
+ [param('ns3::Mac48Address', 'meshPontAddress'), param('ns3::Mac48Address', 'peerAddress'), param('uint32_t', 'interface'), param('bool', 'status')])
+ ## hwmp-protocol.h: bool ns3::dot11s::HwmpProtocol::RemoveRoutingStuff(uint32_t fromIface, ns3::Mac48Address const source, ns3::Mac48Address const destination, ns3::Ptr packet, uint16_t & protocolType) [member function]
+ cls.add_method('RemoveRoutingStuff',
+ 'bool',
+ [param('uint32_t', 'fromIface'), param('ns3::Mac48Address const', 'source'), param('ns3::Mac48Address const', 'destination'), param('ns3::Ptr< ns3::Packet >', 'packet'), param('uint16_t &', 'protocolType')],
+ is_virtual=True)
+ ## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::Report(std::ostream & arg0) const [member function]
+ cls.add_method('Report',
+ 'void',
+ [param('std::ostream &', 'arg0')],
+ is_const=True)
+ ## hwmp-protocol.h: bool ns3::dot11s::HwmpProtocol::RequestRoute(uint32_t sourceIface, ns3::Mac48Address const source, ns3::Mac48Address const destination, ns3::Ptr packet, uint16_t protocolType, ns3::Callback, ns3::Mac48Address, ns3::Mac48Address, unsigned short, unsigned int, ns3::empty, ns3::empty, ns3::empty> routeReply) [member function]
+ cls.add_method('RequestRoute',
+ 'bool',
+ [param('uint32_t', 'sourceIface'), param('ns3::Mac48Address const', 'source'), param('ns3::Mac48Address const', 'destination'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocolType'), param('ns3::Callback< void, bool, ns3::Ptr< ns3::Packet >, ns3::Mac48Address, ns3::Mac48Address, unsigned short, unsigned int, ns3::empty, ns3::empty, ns3::empty >', 'routeReply')],
+ is_virtual=True)
+ ## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::ResetStats() [member function]
+ cls.add_method('ResetStats',
+ 'void',
+ [])
+ ## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::SetNeighboursCallback(ns3::Callback >, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
+ cls.add_method('SetNeighboursCallback',
+ 'void',
+ [param('ns3::Callback< std::vector< ns3::Mac48Address >, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')])
+ ## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::SetRoot() [member function]
+ cls.add_method('SetRoot',
+ 'void',
+ [])
+ ## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::UnsetRoot() [member function]
+ cls.add_method('UnsetRoot',
+ 'void',
+ [])
+ return
+
+def register_Ns3Dot11sHwmpProtocolFailedDestination_methods(root_module, cls):
+ ## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::FailedDestination::FailedDestination() [constructor]
+ cls.add_constructor([])
+ ## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::FailedDestination::FailedDestination(ns3::dot11s::HwmpProtocol::FailedDestination const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::dot11s::HwmpProtocol::FailedDestination const &', 'arg0')])
+ ## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::FailedDestination::destination [variable]
+ cls.add_instance_attribute('destination', 'ns3::Mac48Address', is_const=False)
+ ## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::FailedDestination::seqnum [variable]
+ cls.add_instance_attribute('seqnum', 'uint32_t', is_const=False)
+ return
+
+def register_Ns3Dot11sIeBeaconTiming_methods(root_module, cls):
+ cls.add_output_stream_operator()
+ ## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTiming::IeBeaconTiming(ns3::dot11s::IeBeaconTiming const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::dot11s::IeBeaconTiming const &', 'arg0')])
+ ## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTiming::IeBeaconTiming() [constructor]
+ cls.add_constructor([])
+ ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTiming::AddNeighboursTimingElementUnit(uint16_t aid, ns3::Time last_beacon, ns3::Time beacon_interval) [member function]
+ cls.add_method('AddNeighboursTimingElementUnit',
+ 'void',
+ [param('uint16_t', 'aid'), param('ns3::Time', 'last_beacon'), param('ns3::Time', 'beacon_interval')])
+ ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTiming::ClearTimingElement() [member function]
+ cls.add_method('ClearTimingElement',
+ 'void',
+ [])
+ ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTiming::DelNeighboursTimingElementUnit(uint16_t aid, ns3::Time last_beacon, ns3::Time beacon_interval) [member function]
+ cls.add_method('DelNeighboursTimingElementUnit',
+ 'void',
+ [param('uint16_t', 'aid'), param('ns3::Time', 'last_beacon'), param('ns3::Time', 'beacon_interval')])
+ ## ie-dot11s-beacon-timing.h: uint8_t ns3::dot11s::IeBeaconTiming::DeserializeInformation(ns3::Buffer::Iterator i, uint8_t length) [member function]
+ cls.add_method('DeserializeInformation',
+ 'uint8_t',
+ [param('ns3::Buffer::Iterator', 'i'), param('uint8_t', 'length')],
+ is_virtual=True)
+ ## ie-dot11s-beacon-timing.h: ns3::WifiElementId ns3::dot11s::IeBeaconTiming::ElementId() const [member function]
+ cls.add_method('ElementId',
+ 'ns3::WifiElementId',
+ [],
+ is_const=True, is_virtual=True)
+ ## ie-dot11s-beacon-timing.h: uint8_t ns3::dot11s::IeBeaconTiming::GetInformationSize() const [member function]
+ cls.add_method('GetInformationSize',
+ 'uint8_t',
+ [],
+ is_const=True, is_virtual=True)
+ ## ie-dot11s-beacon-timing.h: std::vector, std::allocator > > ns3::dot11s::IeBeaconTiming::GetNeighboursTimingElementsList() [member function]
+ cls.add_method('GetNeighboursTimingElementsList',
+ 'std::vector< ns3::Ptr< ns3::dot11s::IeBeaconTimingUnit > >',
+ [])
+ ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTiming::Print(std::ostream & os) const [member function]
+ cls.add_method('Print',
+ 'void',
+ [param('std::ostream &', 'os')],
+ is_const=True, is_virtual=True)
+ ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTiming::SerializeInformation(ns3::Buffer::Iterator i) const [member function]
+ cls.add_method('SerializeInformation',
+ 'void',
+ [param('ns3::Buffer::Iterator', 'i')],
+ is_const=True, is_virtual=True)
+ return
+
+def register_Ns3Dot11sIeBeaconTimingUnit_methods(root_module, cls):
+ cls.add_binary_comparison_operator('==')
+ ## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTimingUnit::IeBeaconTimingUnit(ns3::dot11s::IeBeaconTimingUnit const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::dot11s::IeBeaconTimingUnit const &', 'arg0')])
+ ## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTimingUnit::IeBeaconTimingUnit() [constructor]
+ cls.add_constructor([])
+ ## ie-dot11s-beacon-timing.h: uint8_t ns3::dot11s::IeBeaconTimingUnit::GetAid() const [member function]
+ cls.add_method('GetAid',
+ 'uint8_t',
+ [],
+ is_const=True)
+ ## ie-dot11s-beacon-timing.h: uint16_t ns3::dot11s::IeBeaconTimingUnit::GetBeaconInterval() const [member function]
+ cls.add_method('GetBeaconInterval',
+ 'uint16_t',
+ [],
+ is_const=True)
+ ## ie-dot11s-beacon-timing.h: uint16_t ns3::dot11s::IeBeaconTimingUnit::GetLastBeacon() const [member function]
+ cls.add_method('GetLastBeacon',
+ 'uint16_t',
+ [],
+ is_const=True)
+ ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTimingUnit::SetAid(uint8_t aid) [member function]
+ cls.add_method('SetAid',
+ 'void',
+ [param('uint8_t', 'aid')])
+ ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTimingUnit::SetBeaconInterval(uint16_t beaconInterval) [member function]
+ cls.add_method('SetBeaconInterval',
+ 'void',
+ [param('uint16_t', 'beaconInterval')])
+ ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTimingUnit::SetLastBeacon(uint16_t lastBeacon) [member function]
+ cls.add_method('SetLastBeacon',
+ 'void',
+ [param('uint16_t', 'lastBeacon')])
+ return
+
+def register_Ns3Dot11sIeConfiguration_methods(root_module, cls):
+ cls.add_output_stream_operator()
+ cls.add_binary_comparison_operator('==')
+ ## ie-dot11s-configuration.h: ns3::dot11s::IeConfiguration::IeConfiguration(ns3::dot11s::IeConfiguration const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::dot11s::IeConfiguration const &', 'arg0')])
+ ## ie-dot11s-configuration.h: ns3::dot11s::IeConfiguration::IeConfiguration() [constructor]
+ cls.add_constructor([])
+ ## ie-dot11s-configuration.h: uint8_t ns3::dot11s::IeConfiguration::DeserializeInformation(ns3::Buffer::Iterator i, uint8_t length) [member function]
+ cls.add_method('DeserializeInformation',
+ 'uint8_t',
+ [param('ns3::Buffer::Iterator', 'i'), param('uint8_t', 'length')],
+ is_virtual=True)
+ ## ie-dot11s-configuration.h: ns3::WifiElementId ns3::dot11s::IeConfiguration::ElementId() const [member function]
+ cls.add_method('ElementId',
+ 'ns3::WifiElementId',
+ [],
+ is_const=True, is_virtual=True)
+ ## ie-dot11s-configuration.h: uint8_t ns3::dot11s::IeConfiguration::GetInformationSize() const [member function]
+ cls.add_method('GetInformationSize',
+ 'uint8_t',
+ [],
+ is_const=True, is_virtual=True)
+ ## ie-dot11s-configuration.h: uint8_t ns3::dot11s::IeConfiguration::GetNeighborCount() [member function]
+ cls.add_method('GetNeighborCount',
+ 'uint8_t',
+ [])
+ ## ie-dot11s-configuration.h: bool ns3::dot11s::IeConfiguration::IsAirtime() [member function]
+ cls.add_method('IsAirtime',
+ 'bool',
+ [])
+ ## ie-dot11s-configuration.h: bool ns3::dot11s::IeConfiguration::IsHWMP() [member function]
+ cls.add_method('IsHWMP',
+ 'bool',
+ [])
+ ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability const & ns3::dot11s::IeConfiguration::MeshCapability() [member function]
+ cls.add_method('MeshCapability',
+ 'ns3::dot11s::Dot11sMeshCapability const &',
+ [])
+ ## ie-dot11s-configuration.h: void ns3::dot11s::IeConfiguration::Print(std::ostream & os) const [member function]
+ cls.add_method('Print',
+ 'void',
+ [param('std::ostream &', 'os')],
+ is_const=True, is_virtual=True)
+ ## ie-dot11s-configuration.h: void ns3::dot11s::IeConfiguration::SerializeInformation(ns3::Buffer::Iterator i) const [member function]
+ cls.add_method('SerializeInformation',
+ 'void',
+ [param('ns3::Buffer::Iterator', 'i')],
+ is_const=True, is_virtual=True)
+ ## ie-dot11s-configuration.h: void ns3::dot11s::IeConfiguration::SetMetric(ns3::dot11s::dot11sPathSelectionMetric metricId) [member function]
+ cls.add_method('SetMetric',
+ 'void',
+ [param('ns3::dot11s::dot11sPathSelectionMetric', 'metricId')])
+ ## ie-dot11s-configuration.h: void ns3::dot11s::IeConfiguration::SetNeighborCount(uint8_t neighbors) [member function]
+ cls.add_method('SetNeighborCount',
+ 'void',
+ [param('uint8_t', 'neighbors')])
+ ## ie-dot11s-configuration.h: void ns3::dot11s::IeConfiguration::SetRouting(ns3::dot11s::dot11sPathSelectionProtocol routingId) [member function]
+ cls.add_method('SetRouting',
+ 'void',
+ [param('ns3::dot11s::dot11sPathSelectionProtocol', 'routingId')])
+ return
+
+def register_Ns3Dot11sIeMeshId_methods(root_module, cls):
+ cls.add_output_stream_operator()
+ cls.add_binary_comparison_operator('==')
+ ## ie-dot11s-id.h: ns3::dot11s::IeMeshId::IeMeshId(ns3::dot11s::IeMeshId const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::dot11s::IeMeshId const &', 'arg0')])
+ ## ie-dot11s-id.h: ns3::dot11s::IeMeshId::IeMeshId() [constructor]
+ cls.add_constructor([])
+ ## ie-dot11s-id.h: ns3::dot11s::IeMeshId::IeMeshId(std::string s) [constructor]
+ cls.add_constructor([param('std::string', 's')])
+ ## ie-dot11s-id.h: uint8_t ns3::dot11s::IeMeshId::DeserializeInformation(ns3::Buffer::Iterator start, uint8_t length) [member function]
+ cls.add_method('DeserializeInformation',
+ 'uint8_t',
+ [param('ns3::Buffer::Iterator', 'start'), param('uint8_t', 'length')],
+ is_virtual=True)
+ ## ie-dot11s-id.h: ns3::WifiElementId ns3::dot11s::IeMeshId::ElementId() const [member function]
+ cls.add_method('ElementId',
+ 'ns3::WifiElementId',
+ [],
+ is_const=True, is_virtual=True)
+ ## ie-dot11s-id.h: uint8_t ns3::dot11s::IeMeshId::GetInformationSize() const [member function]
+ cls.add_method('GetInformationSize',
+ 'uint8_t',
+ [],
+ is_const=True, is_virtual=True)
+ ## ie-dot11s-id.h: bool ns3::dot11s::IeMeshId::IsBroadcast() const [member function]
+ cls.add_method('IsBroadcast',
+ 'bool',
+ [],
+ is_const=True)
+ ## ie-dot11s-id.h: bool ns3::dot11s::IeMeshId::IsEqual(ns3::dot11s::IeMeshId const & o) const [member function]
+ cls.add_method('IsEqual',
+ 'bool',
+ [param('ns3::dot11s::IeMeshId const &', 'o')],
+ is_const=True)
+ ## ie-dot11s-id.h: char * ns3::dot11s::IeMeshId::PeekString() const [member function]
+ cls.add_method('PeekString',
+ 'char *',
+ [],
+ is_const=True)
+ ## ie-dot11s-id.h: void ns3::dot11s::IeMeshId::Print(std::ostream & os) const [member function]
+ cls.add_method('Print',
+ 'void',
+ [param('std::ostream &', 'os')],
+ is_const=True, is_virtual=True)
+ ## ie-dot11s-id.h: void ns3::dot11s::IeMeshId::SerializeInformation(ns3::Buffer::Iterator i) const [member function]
+ cls.add_method('SerializeInformation',
+ 'void',
+ [param('ns3::Buffer::Iterator', 'i')],
+ is_const=True, is_virtual=True)
+ return
+
+def register_Ns3Dot11sIeMeshIdChecker_methods(root_module, cls):
+ ## ie-dot11s-id.h: ns3::dot11s::IeMeshIdChecker::IeMeshIdChecker() [constructor]
+ cls.add_constructor([])
+ ## ie-dot11s-id.h: ns3::dot11s::IeMeshIdChecker::IeMeshIdChecker(ns3::dot11s::IeMeshIdChecker const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::dot11s::IeMeshIdChecker const &', 'arg0')])
+ return
+
+def register_Ns3Dot11sIeMeshIdValue_methods(root_module, cls):
+ ## ie-dot11s-id.h: ns3::dot11s::IeMeshIdValue::IeMeshIdValue() [constructor]
+ cls.add_constructor([])
+ ## ie-dot11s-id.h: ns3::dot11s::IeMeshIdValue::IeMeshIdValue(ns3::dot11s::IeMeshIdValue const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::dot11s::IeMeshIdValue const &', 'arg0')])
+ ## ie-dot11s-id.h: ns3::dot11s::IeMeshIdValue::IeMeshIdValue(ns3::dot11s::IeMeshId const & value) [constructor]
+ cls.add_constructor([param('ns3::dot11s::IeMeshId const &', 'value')])
+ ## ie-dot11s-id.h: ns3::Ptr ns3::dot11s::IeMeshIdValue::Copy() const [member function]
+ cls.add_method('Copy',
+ 'ns3::Ptr< ns3::AttributeValue >',
+ [],
+ is_const=True, is_virtual=True)
+ ## ie-dot11s-id.h: bool ns3::dot11s::IeMeshIdValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function]
+ cls.add_method('DeserializeFromString',
+ 'bool',
+ [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_virtual=True)
+ ## ie-dot11s-id.h: ns3::dot11s::IeMeshId ns3::dot11s::IeMeshIdValue::Get() const [member function]
+ cls.add_method('Get',
+ 'ns3::dot11s::IeMeshId',
+ [],
+ is_const=True)
+ ## ie-dot11s-id.h: std::string ns3::dot11s::IeMeshIdValue::SerializeToString(ns3::Ptr checker) const [member function]
+ cls.add_method('SerializeToString',
+ 'std::string',
+ [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
+ is_const=True, is_virtual=True)
+ ## ie-dot11s-id.h: void ns3::dot11s::IeMeshIdValue::Set(ns3::dot11s::IeMeshId const & value) [member function]
+ cls.add_method('Set',
+ 'void',
+ [param('ns3::dot11s::IeMeshId const &', 'value')])
+ return
+
+def register_Ns3Dot11sIePeerManagement_methods(root_module, cls):
+ cls.add_output_stream_operator()
+ cls.add_binary_comparison_operator('==')
+ ## ie-dot11s-peer-management.h: ns3::dot11s::IePeerManagement::IePeerManagement(ns3::dot11s::IePeerManagement const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::dot11s::IePeerManagement const &', 'arg0')])
+ ## ie-dot11s-peer-management.h: ns3::dot11s::IePeerManagement::IePeerManagement() [constructor]
+ cls.add_constructor([])
+ ## ie-dot11s-peer-management.h: uint8_t ns3::dot11s::IePeerManagement::DeserializeInformation(ns3::Buffer::Iterator i, uint8_t length) [member function]
+ cls.add_method('DeserializeInformation',
+ 'uint8_t',
+ [param('ns3::Buffer::Iterator', 'i'), param('uint8_t', 'length')],
+ is_virtual=True)
+ ## ie-dot11s-peer-management.h: ns3::WifiElementId ns3::dot11s::IePeerManagement::ElementId() const [member function]
+ cls.add_method('ElementId',
+ 'ns3::WifiElementId',
+ [],
+ is_const=True, is_virtual=True)
+ ## ie-dot11s-peer-management.h: uint8_t ns3::dot11s::IePeerManagement::GetInformationSize() const [member function]
+ cls.add_method('GetInformationSize',
+ 'uint8_t',
+ [],
+ is_const=True, is_virtual=True)
+ ## ie-dot11s-peer-management.h: uint16_t ns3::dot11s::IePeerManagement::GetLocalLinkId() const [member function]
+ cls.add_method('GetLocalLinkId',
+ 'uint16_t',
+ [],
+ is_const=True)
+ ## ie-dot11s-peer-management.h: uint16_t ns3::dot11s::IePeerManagement::GetPeerLinkId() const [member function]
+ cls.add_method('GetPeerLinkId',
+ 'uint16_t',
+ [],
+ is_const=True)
+ ## ie-dot11s-peer-management.h: ns3::dot11s::PmpReasonCode ns3::dot11s::IePeerManagement::GetReasonCode() const [member function]
+ cls.add_method('GetReasonCode',
+ 'ns3::dot11s::PmpReasonCode',
+ [],
+ is_const=True)
+ ## ie-dot11s-peer-management.h: uint8_t ns3::dot11s::IePeerManagement::GetSubtype() const [member function]
+ cls.add_method('GetSubtype',
+ 'uint8_t',
+ [],
+ is_const=True)
+ ## ie-dot11s-peer-management.h: void ns3::dot11s::IePeerManagement::Print(std::ostream & os) const [member function]
+ cls.add_method('Print',
+ 'void',
+ [param('std::ostream &', 'os')],
+ is_const=True, is_virtual=True)
+ ## ie-dot11s-peer-management.h: void ns3::dot11s::IePeerManagement::SerializeInformation(ns3::Buffer::Iterator i) const [member function]
+ cls.add_method('SerializeInformation',
+ 'void',
+ [param('ns3::Buffer::Iterator', 'i')],
+ is_const=True, is_virtual=True)
+ ## ie-dot11s-peer-management.h: void ns3::dot11s::IePeerManagement::SetPeerClose(uint16_t localLinkID, uint16_t peerLinkId, ns3::dot11s::PmpReasonCode reasonCode) [member function]
+ cls.add_method('SetPeerClose',
+ 'void',
+ [param('uint16_t', 'localLinkID'), param('uint16_t', 'peerLinkId'), param('ns3::dot11s::PmpReasonCode', 'reasonCode')])
+ ## ie-dot11s-peer-management.h: void ns3::dot11s::IePeerManagement::SetPeerConfirm(uint16_t localLinkID, uint16_t peerLinkId) [member function]
+ cls.add_method('SetPeerConfirm',
+ 'void',
+ [param('uint16_t', 'localLinkID'), param('uint16_t', 'peerLinkId')])
+ ## ie-dot11s-peer-management.h: void ns3::dot11s::IePeerManagement::SetPeerOpen(uint16_t localLinkId) [member function]
+ cls.add_method('SetPeerOpen',
+ 'void',
+ [param('uint16_t', 'localLinkId')])
+ ## ie-dot11s-peer-management.h: bool ns3::dot11s::IePeerManagement::SubtypeIsClose() const [member function]
+ cls.add_method('SubtypeIsClose',
+ 'bool',
+ [],
+ is_const=True)
+ ## ie-dot11s-peer-management.h: bool ns3::dot11s::IePeerManagement::SubtypeIsConfirm() const [member function]
+ cls.add_method('SubtypeIsConfirm',
+ 'bool',
+ [],
+ is_const=True)
+ ## ie-dot11s-peer-management.h: bool ns3::dot11s::IePeerManagement::SubtypeIsOpen() const [member function]
+ cls.add_method('SubtypeIsOpen',
+ 'bool',
+ [],
+ is_const=True)
+ return
+
+def register_Ns3Dot11sPeerLink_methods(root_module, cls):
+ ## peer-link.h: static ns3::TypeId ns3::dot11s::PeerLink::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## peer-link.h: ns3::dot11s::PeerLink::PeerLink() [constructor]
+ cls.add_constructor([])
+ ## peer-link.h: void ns3::dot11s::PeerLink::DoDispose() [member function]
+ cls.add_method('DoDispose',
+ 'void',
+ [],
+ is_virtual=True)
+ ## peer-link.h: void ns3::dot11s::PeerLink::SetBeaconInformation(ns3::Time lastBeacon, ns3::Time BeaconInterval) [member function]
+ cls.add_method('SetBeaconInformation',
+ 'void',
+ [param('ns3::Time', 'lastBeacon'), param('ns3::Time', 'BeaconInterval')])
+ ## peer-link.h: void ns3::dot11s::PeerLink::SetLinkStatusCallback(ns3::Callback cb) [member function]
+ cls.add_method('SetLinkStatusCallback',
+ 'void',
+ [param('ns3::Callback< void, unsigned int, ns3::Mac48Address, bool, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')])
+ ## peer-link.h: void ns3::dot11s::PeerLink::SetPeerAddress(ns3::Mac48Address macaddr) [member function]
+ cls.add_method('SetPeerAddress',
+ 'void',
+ [param('ns3::Mac48Address', 'macaddr')])
+ ## peer-link.h: void ns3::dot11s::PeerLink::SetPeerMeshPointAddress(ns3::Mac48Address macaddr) [member function]
+ cls.add_method('SetPeerMeshPointAddress',
+ 'void',
+ [param('ns3::Mac48Address', 'macaddr')])
+ ## peer-link.h: void ns3::dot11s::PeerLink::SetInterface(uint32_t interface) [member function]
+ cls.add_method('SetInterface',
+ 'void',
+ [param('uint32_t', 'interface')])
+ ## peer-link.h: void ns3::dot11s::PeerLink::SetLocalLinkId(uint16_t id) [member function]
+ cls.add_method('SetLocalLinkId',
+ 'void',
+ [param('uint16_t', 'id')])
+ ## peer-link.h: void ns3::dot11s::PeerLink::SetLocalAid(uint16_t aid) [member function]
+ cls.add_method('SetLocalAid',
+ 'void',
+ [param('uint16_t', 'aid')])
+ ## peer-link.h: void ns3::dot11s::PeerLink::SetBeaconTimingElement(ns3::dot11s::IeBeaconTiming beaconTiming) [member function]
+ cls.add_method('SetBeaconTimingElement',
+ 'void',
+ [param('ns3::dot11s::IeBeaconTiming', 'beaconTiming')])
+ ## peer-link.h: ns3::Mac48Address ns3::dot11s::PeerLink::GetPeerAddress() const [member function]
+ cls.add_method('GetPeerAddress',
+ 'ns3::Mac48Address',
+ [],
+ is_const=True)
+ ## peer-link.h: uint16_t ns3::dot11s::PeerLink::GetLocalAid() const [member function]
+ cls.add_method('GetLocalAid',
+ 'uint16_t',
+ [],
+ is_const=True)
+ ## peer-link.h: ns3::Time ns3::dot11s::PeerLink::GetLastBeacon() const [member function]
+ cls.add_method('GetLastBeacon',
+ 'ns3::Time',
+ [],
+ is_const=True)
+ ## peer-link.h: ns3::Time ns3::dot11s::PeerLink::GetBeaconInterval() const [member function]
+ cls.add_method('GetBeaconInterval',
+ 'ns3::Time',
+ [],
+ is_const=True)
+ ## peer-link.h: ns3::dot11s::IeBeaconTiming ns3::dot11s::PeerLink::GetBeaconTimingElement() const [member function]
+ cls.add_method('GetBeaconTimingElement',
+ 'ns3::dot11s::IeBeaconTiming',
+ [],
+ is_const=True)
+ ## peer-link.h: void ns3::dot11s::PeerLink::MLMECancelPeerLink(ns3::dot11s::PmpReasonCode reason) [member function]
+ cls.add_method('MLMECancelPeerLink',
+ 'void',
+ [param('ns3::dot11s::PmpReasonCode', 'reason')])
+ ## peer-link.h: void ns3::dot11s::PeerLink::MLMEActivePeerLinkOpen() [member function]
+ cls.add_method('MLMEActivePeerLinkOpen',
+ 'void',
+ [])
+ ## peer-link.h: void ns3::dot11s::PeerLink::MLMEPeeringRequestReject() [member function]
+ cls.add_method('MLMEPeeringRequestReject',
+ 'void',
+ [])
+ ## peer-link.h: void ns3::dot11s::PeerLink::MLMESetSignalStatusCallback(ns3::Callback arg0) [member function]
+ cls.add_method('MLMESetSignalStatusCallback',
+ 'void',
+ [param('ns3::Callback< void, unsigned int, ns3::Mac48Address, ns3::Mac48Address, ns3::dot11s::PeerLink::PeerState, ns3::dot11s::PeerLink::PeerState, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'arg0')])
+ ## peer-link.h: void ns3::dot11s::PeerLink::TransmissionSuccess() [member function]
+ cls.add_method('TransmissionSuccess',
+ 'void',
+ [])
+ ## peer-link.h: void ns3::dot11s::PeerLink::TransmissionFailure() [member function]
+ cls.add_method('TransmissionFailure',
+ 'void',
+ [])
+ ## peer-link.h: void ns3::dot11s::PeerLink::Report(std::ostream & os) const [member function]
+ cls.add_method('Report',
+ 'void',
+ [param('std::ostream &', 'os')],
+ is_const=True)
+ return
+
+def register_Ns3Dot11sPeerManagementProtocol_methods(root_module, cls):
+ ## peer-management-protocol.h: ns3::dot11s::PeerManagementProtocol::PeerManagementProtocol() [constructor]
+ cls.add_constructor([])
+ ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::ConfigurationMismatch(uint32_t interface, ns3::Mac48Address peerAddress) [member function]
+ cls.add_method('ConfigurationMismatch',
+ 'void',
+ [param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress')])
+ ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::DoDispose() [member function]
+ cls.add_method('DoDispose',
+ 'void',
+ [],
+ is_virtual=True)
+ ## peer-management-protocol.h: ns3::Ptr ns3::dot11s::PeerManagementProtocol::FindPeerLink(uint32_t interface, ns3::Mac48Address peerAddress) [member function]
+ cls.add_method('FindPeerLink',
+ 'ns3::Ptr< ns3::dot11s::PeerLink >',
+ [param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress')])
+ ## peer-management-protocol.h: std::vector > ns3::dot11s::PeerManagementProtocol::GetActiveLinks(uint32_t interface) [member function]
+ cls.add_method('GetActiveLinks',
+ 'std::vector< ns3::Mac48Address >',
+ [param('uint32_t', 'interface')])
+ ## peer-management-protocol.h: ns3::Mac48Address ns3::dot11s::PeerManagementProtocol::GetAddress() [member function]
+ cls.add_method('GetAddress',
+ 'ns3::Mac48Address',
+ [])
+ ## peer-management-protocol.h: ns3::Ptr ns3::dot11s::PeerManagementProtocol::GetBeaconTimingElement(uint32_t interface) [member function]
+ cls.add_method('GetBeaconTimingElement',
+ 'ns3::Ptr< ns3::dot11s::IeBeaconTiming >',
+ [param('uint32_t', 'interface')])
+ ## peer-management-protocol.h: ns3::Ptr ns3::dot11s::PeerManagementProtocol::GetMeshId() const [member function]
+ cls.add_method('GetMeshId',
+ 'ns3::Ptr< ns3::dot11s::IeMeshId >',
+ [],
+ is_const=True)
+ ## peer-management-protocol.h: uint8_t ns3::dot11s::PeerManagementProtocol::GetNumberOfLinks() [member function]
+ cls.add_method('GetNumberOfLinks',
+ 'uint8_t',
+ [])
+ ## peer-management-protocol.h: static ns3::TypeId ns3::dot11s::PeerManagementProtocol::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## peer-management-protocol.h: bool ns3::dot11s::PeerManagementProtocol::Install(ns3::Ptr arg0) [member function]
+ cls.add_method('Install',
+ 'bool',
+ [param('ns3::Ptr< ns3::MeshPointDevice >', 'arg0')])
+ ## peer-management-protocol.h: bool ns3::dot11s::PeerManagementProtocol::IsActiveLink(uint32_t interface, ns3::Mac48Address peerAddress) [member function]
+ cls.add_method('IsActiveLink',
+ 'bool',
+ [param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress')])
+ ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::ReceivePeerLinkFrame(uint32_t interface, ns3::Mac48Address peerAddress, ns3::Mac48Address peerMeshPointAddress, uint16_t aid, ns3::dot11s::IePeerManagement peerManagementElement, ns3::dot11s::IeConfiguration meshConfig) [member function]
+ cls.add_method('ReceivePeerLinkFrame',
+ 'void',
+ [param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress'), param('ns3::Mac48Address', 'peerMeshPointAddress'), param('uint16_t', 'aid'), param('ns3::dot11s::IePeerManagement', 'peerManagementElement'), param('ns3::dot11s::IeConfiguration', 'meshConfig')])
+ ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::Report(std::ostream & arg0) const [member function]
+ cls.add_method('Report',
+ 'void',
+ [param('std::ostream &', 'arg0')],
+ is_const=True)
+ ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::ResetStats() [member function]
+ cls.add_method('ResetStats',
+ 'void',
+ [])
+ ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::SetMeshId(std::string s) [member function]
+ cls.add_method('SetMeshId',
+ 'void',
+ [param('std::string', 's')])
+ ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::SetPeerLinkStatusCallback(ns3::Callback cb) [member function]
+ cls.add_method('SetPeerLinkStatusCallback',
+ 'void',
+ [param('ns3::Callback< void, ns3::Mac48Address, ns3::Mac48Address, unsigned int, bool, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')])
+ ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::TransmissionFailure(uint32_t interface, ns3::Mac48Address const peerAddress) [member function]
+ cls.add_method('TransmissionFailure',
+ 'void',
+ [param('uint32_t', 'interface'), param('ns3::Mac48Address const', 'peerAddress')])
+ ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::TransmissionSuccess(uint32_t interface, ns3::Mac48Address const peerAddress) [member function]
+ cls.add_method('TransmissionSuccess',
+ 'void',
+ [param('uint32_t', 'interface'), param('ns3::Mac48Address const', 'peerAddress')])
+ ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::UpdatePeerBeaconTiming(uint32_t interface, bool meshBeacon, ns3::dot11s::IeBeaconTiming timingElement, ns3::Mac48Address peerAddress, ns3::Time receivingTime, ns3::Time beaconInterval) [member function]
+ cls.add_method('UpdatePeerBeaconTiming',
+ 'void',
+ [param('uint32_t', 'interface'), param('bool', 'meshBeacon'), param('ns3::dot11s::IeBeaconTiming', 'timingElement'), param('ns3::Mac48Address', 'peerAddress'), param('ns3::Time', 'receivingTime'), param('ns3::Time', 'beaconInterval')])
+ return
+
+def register_functions(root_module):
+ module = root_module
+ register_functions_ns3_Config(module.get_submodule('Config'), root_module)
+ register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
+ register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
+ register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
+ register_functions_ns3_flame(module.get_submodule('flame'), root_module)
+ register_functions_ns3_internal(module.get_submodule('internal'), root_module)
+ register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
+ return
+
+def register_functions_ns3_Config(module, root_module):
+ return
+
+def register_functions_ns3_TimeStepPrecision(module, root_module):
+ return
+
+def register_functions_ns3_addressUtils(module, root_module):
+ return
+
+def register_functions_ns3_dot11s(module, root_module):
+ ## ie-dot11s-id.h: extern ns3::Ptr ns3::dot11s::MakeIeMeshIdChecker() [free function]
+ module.add_function('MakeIeMeshIdChecker',
+ 'ns3::Ptr< ns3::AttributeChecker const >',
+ [])
+ return
+
+def register_functions_ns3_flame(module, root_module):
+ return
+
+def register_functions_ns3_internal(module, root_module):
+ return
+
+def register_functions_ns3_olsr(module, root_module):
+ return
+
diff --git a/bindings/python/ns3_module_emu.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_emu.py
similarity index 93%
rename from bindings/python/ns3_module_emu.py
rename to bindings/python/apidefs/gcc-ILP32/ns3_module_emu.py
index e38257ffd..b69d9fbaf 100644
--- a/bindings/python/ns3_module_emu.py
+++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_emu.py
@@ -24,6 +24,18 @@ def register_types(module):
register_types_ns3_addressUtils(nested_module)
+ ## Register a nested module for the namespace dot11s
+
+ nested_module = module.add_cpp_namespace('dot11s')
+ register_types_ns3_dot11s(nested_module)
+
+
+ ## Register a nested module for the namespace flame
+
+ nested_module = module.add_cpp_namespace('flame')
+ register_types_ns3_flame(nested_module)
+
+
## Register a nested module for the namespace internal
nested_module = module.add_cpp_namespace('internal')
@@ -48,6 +60,14 @@ def register_types_ns3_addressUtils(module):
root_module = module.get_root()
+def register_types_ns3_dot11s(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_flame(module):
+ root_module = module.get_root()
+
+
def register_types_ns3_internal(module):
root_module = module.get_root()
@@ -218,6 +238,8 @@ def register_functions(root_module):
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
+ register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
+ register_functions_ns3_flame(module.get_submodule('flame'), root_module)
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
return
@@ -231,6 +253,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
def register_functions_ns3_addressUtils(module, root_module):
return
+def register_functions_ns3_dot11s(module, root_module):
+ return
+
+def register_functions_ns3_flame(module, root_module):
+ return
+
def register_functions_ns3_internal(module, root_module):
return
diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_flame.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_flame.py
new file mode 100644
index 000000000..453d1c01d
--- /dev/null
+++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_flame.py
@@ -0,0 +1,200 @@
+from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
+
+def register_types(module):
+ root_module = module.get_root()
+
+
+ ## Register a nested module for the namespace Config
+
+ nested_module = module.add_cpp_namespace('Config')
+ register_types_ns3_Config(nested_module)
+
+
+ ## Register a nested module for the namespace TimeStepPrecision
+
+ nested_module = module.add_cpp_namespace('TimeStepPrecision')
+ register_types_ns3_TimeStepPrecision(nested_module)
+
+
+ ## Register a nested module for the namespace addressUtils
+
+ nested_module = module.add_cpp_namespace('addressUtils')
+ register_types_ns3_addressUtils(nested_module)
+
+
+ ## Register a nested module for the namespace dot11s
+
+ nested_module = module.add_cpp_namespace('dot11s')
+ register_types_ns3_dot11s(nested_module)
+
+
+ ## Register a nested module for the namespace flame
+
+ nested_module = module.add_cpp_namespace('flame')
+ register_types_ns3_flame(nested_module)
+
+
+ ## Register a nested module for the namespace internal
+
+ nested_module = module.add_cpp_namespace('internal')
+ register_types_ns3_internal(nested_module)
+
+
+ ## Register a nested module for the namespace olsr
+
+ nested_module = module.add_cpp_namespace('olsr')
+ register_types_ns3_olsr(nested_module)
+
+
+def register_types_ns3_Config(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_TimeStepPrecision(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_addressUtils(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_dot11s(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_flame(module):
+ root_module = module.get_root()
+
+ ## flame-protocol.h: ns3::flame::FlameProtocol [class]
+ module.add_class('FlameProtocol', parent=root_module['ns3::MeshL2RoutingProtocol'])
+ ## flame-protocol.h: ns3::flame::FlameTag [class]
+ module.add_class('FlameTag', parent=root_module['ns3::Tag'])
+
+def register_types_ns3_internal(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_olsr(module):
+ root_module = module.get_root()
+
+
+def register_methods(root_module):
+ register_Ns3FlameFlameProtocol_methods(root_module, root_module['ns3::flame::FlameProtocol'])
+ register_Ns3FlameFlameTag_methods(root_module, root_module['ns3::flame::FlameTag'])
+ return
+
+def register_Ns3FlameFlameProtocol_methods(root_module, cls):
+ ## flame-protocol.h: ns3::flame::FlameProtocol::FlameProtocol() [constructor]
+ cls.add_constructor([])
+ ## flame-protocol.h: void ns3::flame::FlameProtocol::DoDispose() [member function]
+ cls.add_method('DoDispose',
+ 'void',
+ [],
+ is_virtual=True)
+ ## flame-protocol.h: ns3::Mac48Address ns3::flame::FlameProtocol::GetAddress() [member function]
+ cls.add_method('GetAddress',
+ 'ns3::Mac48Address',
+ [])
+ ## flame-protocol.h: static ns3::TypeId ns3::flame::FlameProtocol::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## flame-protocol.h: bool ns3::flame::FlameProtocol::Install(ns3::Ptr arg0) [member function]
+ cls.add_method('Install',
+ 'bool',
+ [param('ns3::Ptr< ns3::MeshPointDevice >', 'arg0')])
+ ## flame-protocol.h: bool ns3::flame::FlameProtocol::RemoveRoutingStuff(uint32_t fromIface, ns3::Mac48Address const source, ns3::Mac48Address const destination, ns3::Ptr packet, uint16_t & protocolType) [member function]
+ cls.add_method('RemoveRoutingStuff',
+ 'bool',
+ [param('uint32_t', 'fromIface'), param('ns3::Mac48Address const', 'source'), param('ns3::Mac48Address const', 'destination'), param('ns3::Ptr< ns3::Packet >', 'packet'), param('uint16_t &', 'protocolType')],
+ is_virtual=True)
+ ## flame-protocol.h: void ns3::flame::FlameProtocol::Report(std::ostream & arg0) const [member function]
+ cls.add_method('Report',
+ 'void',
+ [param('std::ostream &', 'arg0')],
+ is_const=True)
+ ## flame-protocol.h: bool ns3::flame::FlameProtocol::RequestRoute(uint32_t sourceIface, ns3::Mac48Address const source, ns3::Mac48Address const destination, ns3::Ptr packet, uint16_t protocolType, ns3::Callback, ns3::Mac48Address, ns3::Mac48Address, unsigned short, unsigned int, ns3::empty, ns3::empty, ns3::empty> routeReply) [member function]
+ cls.add_method('RequestRoute',
+ 'bool',
+ [param('uint32_t', 'sourceIface'), param('ns3::Mac48Address const', 'source'), param('ns3::Mac48Address const', 'destination'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocolType'), param('ns3::Callback< void, bool, ns3::Ptr< ns3::Packet >, ns3::Mac48Address, ns3::Mac48Address, unsigned short, unsigned int, ns3::empty, ns3::empty, ns3::empty >', 'routeReply')],
+ is_virtual=True)
+ ## flame-protocol.h: void ns3::flame::FlameProtocol::ResetStats() [member function]
+ cls.add_method('ResetStats',
+ 'void',
+ [])
+ return
+
+def register_Ns3FlameFlameTag_methods(root_module, cls):
+ ## flame-protocol.h: ns3::flame::FlameTag::FlameTag(ns3::flame::FlameTag const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::flame::FlameTag const &', 'arg0')])
+ ## flame-protocol.h: ns3::flame::FlameTag::FlameTag(ns3::Mac48Address a=ns3::Mac48Address()) [constructor]
+ cls.add_constructor([param('ns3::Mac48Address', 'a', default_value='ns3::Mac48Address()')])
+ ## flame-protocol.h: void ns3::flame::FlameTag::Deserialize(ns3::TagBuffer i) [member function]
+ cls.add_method('Deserialize',
+ 'void',
+ [param('ns3::TagBuffer', 'i')],
+ is_virtual=True)
+ ## flame-protocol.h: ns3::TypeId ns3::flame::FlameTag::GetInstanceTypeId() const [member function]
+ cls.add_method('GetInstanceTypeId',
+ 'ns3::TypeId',
+ [],
+ is_const=True, is_virtual=True)
+ ## flame-protocol.h: uint32_t ns3::flame::FlameTag::GetSerializedSize() const [member function]
+ cls.add_method('GetSerializedSize',
+ 'uint32_t',
+ [],
+ is_const=True, is_virtual=True)
+ ## flame-protocol.h: static ns3::TypeId ns3::flame::FlameTag::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## flame-protocol.h: void ns3::flame::FlameTag::Print(std::ostream & os) const [member function]
+ cls.add_method('Print',
+ 'void',
+ [param('std::ostream &', 'os')],
+ is_const=True, is_virtual=True)
+ ## flame-protocol.h: void ns3::flame::FlameTag::Serialize(ns3::TagBuffer i) const [member function]
+ cls.add_method('Serialize',
+ 'void',
+ [param('ns3::TagBuffer', 'i')],
+ is_const=True, is_virtual=True)
+ ## flame-protocol.h: ns3::flame::FlameTag::receiver [variable]
+ cls.add_instance_attribute('receiver', 'ns3::Mac48Address', is_const=False)
+ ## flame-protocol.h: ns3::flame::FlameTag::transmitter [variable]
+ cls.add_instance_attribute('transmitter', 'ns3::Mac48Address', is_const=False)
+ return
+
+def register_functions(root_module):
+ module = root_module
+ register_functions_ns3_Config(module.get_submodule('Config'), root_module)
+ register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
+ register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
+ register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
+ register_functions_ns3_flame(module.get_submodule('flame'), root_module)
+ register_functions_ns3_internal(module.get_submodule('internal'), root_module)
+ register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
+ return
+
+def register_functions_ns3_Config(module, root_module):
+ return
+
+def register_functions_ns3_TimeStepPrecision(module, root_module):
+ return
+
+def register_functions_ns3_addressUtils(module, root_module):
+ return
+
+def register_functions_ns3_dot11s(module, root_module):
+ return
+
+def register_functions_ns3_flame(module, root_module):
+ return
+
+def register_functions_ns3_internal(module, root_module):
+ return
+
+def register_functions_ns3_olsr(module, root_module):
+ return
+
diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_flow_monitor.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_flow_monitor.py
new file mode 100644
index 000000000..6aefcf9a5
--- /dev/null
+++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_flow_monitor.py
@@ -0,0 +1,434 @@
+from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
+
+def register_types(module):
+ root_module = module.get_root()
+
+ ## histogram.h: ns3::Histogram [class]
+ module.add_class('Histogram')
+ ## flow-classifier.h: ns3::FlowClassifier [class]
+ module.add_class('FlowClassifier', parent=root_module['ns3::RefCountBase'])
+ ## flow-probe.h: ns3::FlowProbe [class]
+ module.add_class('FlowProbe', parent=root_module['ns3::RefCountBase'])
+ ## flow-probe.h: ns3::FlowProbe::FlowStats [struct]
+ module.add_class('FlowStats', outer_class=root_module['ns3::FlowProbe'])
+ ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier [class]
+ module.add_class('Ipv4FlowClassifier', parent=root_module['ns3::FlowClassifier'])
+ ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple [struct]
+ module.add_class('FiveTuple', outer_class=root_module['ns3::Ipv4FlowClassifier'])
+ ## ipv4-flow-probe.h: ns3::Ipv4FlowProbe [class]
+ module.add_class('Ipv4FlowProbe', parent=root_module['ns3::FlowProbe'])
+ ## ipv4-flow-probe.h: ns3::Ipv4FlowProbe::DropReason [enumeration]
+ module.add_enum('DropReason', ['DROP_NO_ROUTE', 'DROP_TTL_EXPIRE', 'DROP_BAD_CHECKSUM', 'DROP_INVALID_REASON'], outer_class=root_module['ns3::Ipv4FlowProbe'])
+ ## flow-monitor.h: ns3::FlowMonitor [class]
+ module.add_class('FlowMonitor', parent=root_module['ns3::Object'])
+ ## flow-monitor.h: ns3::FlowMonitor::FlowStats [struct]
+ module.add_class('FlowStats', outer_class=root_module['ns3::FlowMonitor'])
+ module.add_container('std::map< unsigned int, ns3::FlowProbe::FlowStats >', ('unsigned int', 'ns3::FlowProbe::FlowStats'), container_type='map')
+ module.add_container('std::map< unsigned int, ns3::FlowMonitor::FlowStats >', ('unsigned int', 'ns3::FlowMonitor::FlowStats'), container_type='map')
+ typehandlers.add_type_alias('uint32_t', 'ns3::FlowPacketId')
+ typehandlers.add_type_alias('uint32_t*', 'ns3::FlowPacketId*')
+ typehandlers.add_type_alias('uint32_t&', 'ns3::FlowPacketId&')
+ typehandlers.add_type_alias('uint32_t', 'ns3::FlowId')
+ typehandlers.add_type_alias('uint32_t*', 'ns3::FlowId*')
+ typehandlers.add_type_alias('uint32_t&', 'ns3::FlowId&')
+
+ ## Register a nested module for the namespace Config
+
+ nested_module = module.add_cpp_namespace('Config')
+ register_types_ns3_Config(nested_module)
+
+
+ ## Register a nested module for the namespace TimeStepPrecision
+
+ nested_module = module.add_cpp_namespace('TimeStepPrecision')
+ register_types_ns3_TimeStepPrecision(nested_module)
+
+
+ ## Register a nested module for the namespace addressUtils
+
+ nested_module = module.add_cpp_namespace('addressUtils')
+ register_types_ns3_addressUtils(nested_module)
+
+
+ ## Register a nested module for the namespace dot11s
+
+ nested_module = module.add_cpp_namespace('dot11s')
+ register_types_ns3_dot11s(nested_module)
+
+
+ ## Register a nested module for the namespace flame
+
+ nested_module = module.add_cpp_namespace('flame')
+ register_types_ns3_flame(nested_module)
+
+
+ ## Register a nested module for the namespace internal
+
+ nested_module = module.add_cpp_namespace('internal')
+ register_types_ns3_internal(nested_module)
+
+
+ ## Register a nested module for the namespace olsr
+
+ nested_module = module.add_cpp_namespace('olsr')
+ register_types_ns3_olsr(nested_module)
+
+
+def register_types_ns3_Config(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_TimeStepPrecision(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_addressUtils(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_dot11s(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_flame(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_internal(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_olsr(module):
+ root_module = module.get_root()
+
+
+def register_methods(root_module):
+ register_Ns3Histogram_methods(root_module, root_module['ns3::Histogram'])
+ register_Ns3FlowClassifier_methods(root_module, root_module['ns3::FlowClassifier'])
+ register_Ns3FlowProbe_methods(root_module, root_module['ns3::FlowProbe'])
+ register_Ns3FlowProbeFlowStats_methods(root_module, root_module['ns3::FlowProbe::FlowStats'])
+ register_Ns3Ipv4FlowClassifier_methods(root_module, root_module['ns3::Ipv4FlowClassifier'])
+ register_Ns3Ipv4FlowClassifierFiveTuple_methods(root_module, root_module['ns3::Ipv4FlowClassifier::FiveTuple'])
+ register_Ns3Ipv4FlowProbe_methods(root_module, root_module['ns3::Ipv4FlowProbe'])
+ register_Ns3FlowMonitor_methods(root_module, root_module['ns3::FlowMonitor'])
+ register_Ns3FlowMonitorFlowStats_methods(root_module, root_module['ns3::FlowMonitor::FlowStats'])
+ return
+
+def register_Ns3Histogram_methods(root_module, cls):
+ ## histogram.h: ns3::Histogram::Histogram(ns3::Histogram const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::Histogram const &', 'arg0')])
+ ## histogram.h: ns3::Histogram::Histogram(double binWidth) [constructor]
+ cls.add_constructor([param('double', 'binWidth')])
+ ## histogram.h: ns3::Histogram::Histogram() [constructor]
+ cls.add_constructor([])
+ ## histogram.h: void ns3::Histogram::AddValue(double value) [member function]
+ cls.add_method('AddValue',
+ 'void',
+ [param('double', 'value')])
+ ## histogram.h: uint32_t ns3::Histogram::GetBinCount(uint32_t index) [member function]
+ cls.add_method('GetBinCount',
+ 'uint32_t',
+ [param('uint32_t', 'index')])
+ ## histogram.h: double ns3::Histogram::GetBinEnd(uint32_t index) [member function]
+ cls.add_method('GetBinEnd',
+ 'double',
+ [param('uint32_t', 'index')])
+ ## histogram.h: double ns3::Histogram::GetBinStart(uint32_t index) [member function]
+ cls.add_method('GetBinStart',
+ 'double',
+ [param('uint32_t', 'index')])
+ ## histogram.h: double ns3::Histogram::GetBinWidth(uint32_t index) const [member function]
+ cls.add_method('GetBinWidth',
+ 'double',
+ [param('uint32_t', 'index')],
+ is_const=True)
+ ## histogram.h: uint32_t ns3::Histogram::GetNBins() const [member function]
+ cls.add_method('GetNBins',
+ 'uint32_t',
+ [],
+ is_const=True)
+ ## histogram.h: void ns3::Histogram::SerializeToXmlStream(std::ostream & os, int indent, std::string elementName) const [member function]
+ cls.add_method('SerializeToXmlStream',
+ 'void',
+ [param('std::ostream &', 'os'), param('int', 'indent'), param('std::string', 'elementName')],
+ is_const=True)
+ ## histogram.h: void ns3::Histogram::SetDefaultBinWidth(double binWidth) [member function]
+ cls.add_method('SetDefaultBinWidth',
+ 'void',
+ [param('double', 'binWidth')])
+ return
+
+def register_Ns3FlowClassifier_methods(root_module, cls):
+ ## flow-classifier.h: ns3::FlowClassifier::FlowClassifier(ns3::FlowClassifier const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::FlowClassifier const &', 'arg0')])
+ ## flow-classifier.h: ns3::FlowClassifier::FlowClassifier() [constructor]
+ cls.add_constructor([])
+ ## flow-classifier.h: void ns3::FlowClassifier::SerializeToXmlStream(std::ostream & os, int indent) const [member function]
+ cls.add_method('SerializeToXmlStream',
+ 'void',
+ [param('std::ostream &', 'os'), param('int', 'indent')],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ ## flow-classifier.h: ns3::FlowId ns3::FlowClassifier::GetNewFlowId() [member function]
+ cls.add_method('GetNewFlowId',
+ 'ns3::FlowId',
+ [],
+ visibility='protected')
+ return
+
+def register_Ns3FlowProbe_methods(root_module, cls):
+ ## flow-probe.h: ns3::FlowProbe::FlowProbe(ns3::FlowProbe const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::FlowProbe const &', 'arg0')])
+ ## flow-probe.h: void ns3::FlowProbe::AddPacketDropStats(ns3::FlowId flowId, uint32_t packetSize, uint32_t reasonCode) [member function]
+ cls.add_method('AddPacketDropStats',
+ 'void',
+ [param('ns3::FlowId', 'flowId'), param('uint32_t', 'packetSize'), param('uint32_t', 'reasonCode')])
+ ## flow-probe.h: void ns3::FlowProbe::AddPacketStats(ns3::FlowId flowId, uint32_t packetSize, ns3::Time delayFromFirstProbe) [member function]
+ cls.add_method('AddPacketStats',
+ 'void',
+ [param('ns3::FlowId', 'flowId'), param('uint32_t', 'packetSize'), param('ns3::Time', 'delayFromFirstProbe')])
+ ## flow-probe.h: std::map, std::allocator > > ns3::FlowProbe::GetStats() const [member function]
+ cls.add_method('GetStats',
+ 'std::map< unsigned int, ns3::FlowProbe::FlowStats >',
+ [],
+ is_const=True)
+ ## flow-probe.h: void ns3::FlowProbe::SerializeToXmlStream(std::ostream & os, int indent, uint32_t index) const [member function]
+ cls.add_method('SerializeToXmlStream',
+ 'void',
+ [param('std::ostream &', 'os'), param('int', 'indent'), param('uint32_t', 'index')],
+ is_const=True)
+ ## flow-probe.h: ns3::FlowProbe::FlowProbe(ns3::Ptr flowMonitor) [constructor]
+ cls.add_constructor([param('ns3::Ptr< ns3::FlowMonitor >', 'flowMonitor')],
+ visibility='protected')
+ return
+
+def register_Ns3FlowProbeFlowStats_methods(root_module, cls):
+ ## flow-probe.h: ns3::FlowProbe::FlowStats::FlowStats(ns3::FlowProbe::FlowStats const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::FlowProbe::FlowStats const &', 'arg0')])
+ ## flow-probe.h: ns3::FlowProbe::FlowStats::FlowStats() [constructor]
+ cls.add_constructor([])
+ ## flow-probe.h: ns3::FlowProbe::FlowStats::bytes [variable]
+ cls.add_instance_attribute('bytes', 'uint64_t', is_const=False)
+ ## flow-probe.h: ns3::FlowProbe::FlowStats::bytesDropped [variable]
+ cls.add_instance_attribute('bytesDropped', 'std::vector< unsigned long long >', is_const=False)
+ ## flow-probe.h: ns3::FlowProbe::FlowStats::delayFromFirstProbeSum [variable]
+ cls.add_instance_attribute('delayFromFirstProbeSum', 'ns3::Time', is_const=False)
+ ## flow-probe.h: ns3::FlowProbe::FlowStats::packets [variable]
+ cls.add_instance_attribute('packets', 'uint32_t', is_const=False)
+ ## flow-probe.h: ns3::FlowProbe::FlowStats::packetsDropped [variable]
+ cls.add_instance_attribute('packetsDropped', 'std::vector< unsigned int >', is_const=False)
+ return
+
+def register_Ns3Ipv4FlowClassifier_methods(root_module, cls):
+ ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::Ipv4FlowClassifier(ns3::Ipv4FlowClassifier const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::Ipv4FlowClassifier const &', 'arg0')])
+ ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::Ipv4FlowClassifier() [constructor]
+ cls.add_constructor([])
+ ## ipv4-flow-classifier.h: bool ns3::Ipv4FlowClassifier::Classify(ns3::Ipv4Header const & ipHeader, ns3::Ptr ipPayload, uint32_t * out_flowId, uint32_t * out_packetId) [member function]
+ cls.add_method('Classify',
+ 'bool',
+ [param('ns3::Ipv4Header const &', 'ipHeader'), param('ns3::Ptr< ns3::Packet const >', 'ipPayload'), param('uint32_t *', 'out_flowId'), param('uint32_t *', 'out_packetId')])
+ ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple ns3::Ipv4FlowClassifier::FindFlow(ns3::FlowId flowId) const [member function]
+ cls.add_method('FindFlow',
+ 'ns3::Ipv4FlowClassifier::FiveTuple',
+ [param('ns3::FlowId', 'flowId')],
+ is_const=True)
+ ## ipv4-flow-classifier.h: void ns3::Ipv4FlowClassifier::SerializeToXmlStream(std::ostream & os, int indent) const [member function]
+ cls.add_method('SerializeToXmlStream',
+ 'void',
+ [param('std::ostream &', 'os'), param('int', 'indent')],
+ is_const=True, is_virtual=True)
+ return
+
+def register_Ns3Ipv4FlowClassifierFiveTuple_methods(root_module, cls):
+ cls.add_binary_comparison_operator('<')
+ cls.add_binary_comparison_operator('==')
+ ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::FiveTuple() [constructor]
+ cls.add_constructor([])
+ ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::FiveTuple(ns3::Ipv4FlowClassifier::FiveTuple const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::Ipv4FlowClassifier::FiveTuple const &', 'arg0')])
+ ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::destinationAddress [variable]
+ cls.add_instance_attribute('destinationAddress', 'ns3::Ipv4Address', is_const=False)
+ ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::destinationPort [variable]
+ cls.add_instance_attribute('destinationPort', 'uint16_t', is_const=False)
+ ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::protocol [variable]
+ cls.add_instance_attribute('protocol', 'uint8_t', is_const=False)
+ ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::sourceAddress [variable]
+ cls.add_instance_attribute('sourceAddress', 'ns3::Ipv4Address', is_const=False)
+ ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::sourcePort [variable]
+ cls.add_instance_attribute('sourcePort', 'uint16_t', is_const=False)
+ return
+
+def register_Ns3Ipv4FlowProbe_methods(root_module, cls):
+ ## ipv4-flow-probe.h: ns3::Ipv4FlowProbe::Ipv4FlowProbe(ns3::Ipv4FlowProbe const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::Ipv4FlowProbe const &', 'arg0')])
+ ## ipv4-flow-probe.h: ns3::Ipv4FlowProbe::Ipv4FlowProbe(ns3::Ptr monitor, ns3::Ptr classifier, ns3::Ptr node) [constructor]
+ cls.add_constructor([param('ns3::Ptr< ns3::FlowMonitor >', 'monitor'), param('ns3::Ptr< ns3::Ipv4FlowClassifier >', 'classifier'), param('ns3::Ptr< ns3::Node >', 'node')])
+ return
+
+def register_Ns3FlowMonitor_methods(root_module, cls):
+ ## flow-monitor.h: ns3::FlowMonitor::FlowMonitor(ns3::FlowMonitor const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::FlowMonitor const &', 'arg0')])
+ ## flow-monitor.h: ns3::FlowMonitor::FlowMonitor() [constructor]
+ cls.add_constructor([])
+ ## flow-monitor.h: void ns3::FlowMonitor::AddProbe(ns3::Ptr probe) [member function]
+ cls.add_method('AddProbe',
+ 'void',
+ [param('ns3::Ptr< ns3::FlowProbe >', 'probe')])
+ ## flow-monitor.h: void ns3::FlowMonitor::CheckForLostPackets() [member function]
+ cls.add_method('CheckForLostPackets',
+ 'void',
+ [])
+ ## flow-monitor.h: void ns3::FlowMonitor::CheckForLostPackets(ns3::Time maxDelay) [member function]
+ cls.add_method('CheckForLostPackets',
+ 'void',
+ [param('ns3::Time', 'maxDelay')])
+ ## flow-monitor.h: std::vector, std::allocator > > ns3::FlowMonitor::GetAllProbes() const [member function]
+ cls.add_method('GetAllProbes',
+ 'std::vector< ns3::Ptr< ns3::FlowProbe > >',
+ [],
+ is_const=True)
+ ## flow-monitor.h: std::map, std::allocator > > ns3::FlowMonitor::GetFlowStats() const [member function]
+ cls.add_method('GetFlowStats',
+ 'std::map< unsigned int, ns3::FlowMonitor::FlowStats >',
+ [],
+ is_const=True)
+ ## flow-monitor.h: ns3::TypeId ns3::FlowMonitor::GetInstanceTypeId() const [member function]
+ cls.add_method('GetInstanceTypeId',
+ 'ns3::TypeId',
+ [],
+ is_const=True, is_virtual=True)
+ ## flow-monitor.h: static ns3::TypeId ns3::FlowMonitor::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## flow-monitor.h: void ns3::FlowMonitor::ReportDrop(ns3::Ptr probe, ns3::FlowId flowId, ns3::FlowPacketId packetId, uint32_t packetSize, uint32_t reasonCode) [member function]
+ cls.add_method('ReportDrop',
+ 'void',
+ [param('ns3::Ptr< ns3::FlowProbe >', 'probe'), param('ns3::FlowId', 'flowId'), param('ns3::FlowPacketId', 'packetId'), param('uint32_t', 'packetSize'), param('uint32_t', 'reasonCode')])
+ ## flow-monitor.h: void ns3::FlowMonitor::ReportFirstTx(ns3::Ptr probe, ns3::FlowId flowId, ns3::FlowPacketId packetId, uint32_t packetSize) [member function]
+ cls.add_method('ReportFirstTx',
+ 'void',
+ [param('ns3::Ptr< ns3::FlowProbe >', 'probe'), param('ns3::FlowId', 'flowId'), param('ns3::FlowPacketId', 'packetId'), param('uint32_t', 'packetSize')])
+ ## flow-monitor.h: void ns3::FlowMonitor::ReportForwarding(ns3::Ptr probe, ns3::FlowId flowId, ns3::FlowPacketId packetId, uint32_t packetSize) [member function]
+ cls.add_method('ReportForwarding',
+ 'void',
+ [param('ns3::Ptr< ns3::FlowProbe >', 'probe'), param('ns3::FlowId', 'flowId'), param('ns3::FlowPacketId', 'packetId'), param('uint32_t', 'packetSize')])
+ ## flow-monitor.h: void ns3::FlowMonitor::ReportLastRx(ns3::Ptr probe, ns3::FlowId flowId, ns3::FlowPacketId packetId, uint32_t packetSize) [member function]
+ cls.add_method('ReportLastRx',
+ 'void',
+ [param('ns3::Ptr< ns3::FlowProbe >', 'probe'), param('ns3::FlowId', 'flowId'), param('ns3::FlowPacketId', 'packetId'), param('uint32_t', 'packetSize')])
+ ## flow-monitor.h: void ns3::FlowMonitor::SerializeToXmlFile(std::string fileName, bool enableHistograms, bool enableProbes) [member function]
+ cls.add_method('SerializeToXmlFile',
+ 'void',
+ [param('std::string', 'fileName'), param('bool', 'enableHistograms'), param('bool', 'enableProbes')])
+ ## flow-monitor.h: void ns3::FlowMonitor::SerializeToXmlStream(std::ostream & os, int indent, bool enableHistograms, bool enableProbes) [member function]
+ cls.add_method('SerializeToXmlStream',
+ 'void',
+ [param('std::ostream &', 'os'), param('int', 'indent'), param('bool', 'enableHistograms'), param('bool', 'enableProbes')])
+ ## flow-monitor.h: std::string ns3::FlowMonitor::SerializeToXmlString(int indent, bool enableHistograms, bool enableProbes) [member function]
+ cls.add_method('SerializeToXmlString',
+ 'std::string',
+ [param('int', 'indent'), param('bool', 'enableHistograms'), param('bool', 'enableProbes')])
+ ## flow-monitor.h: void ns3::FlowMonitor::SetFlowClassifier(ns3::Ptr classifier) [member function]
+ cls.add_method('SetFlowClassifier',
+ 'void',
+ [param('ns3::Ptr< ns3::FlowClassifier >', 'classifier')])
+ ## flow-monitor.h: void ns3::FlowMonitor::Start(ns3::Time const & time) [member function]
+ cls.add_method('Start',
+ 'void',
+ [param('ns3::Time const &', 'time')])
+ ## flow-monitor.h: void ns3::FlowMonitor::StartRightNow() [member function]
+ cls.add_method('StartRightNow',
+ 'void',
+ [])
+ ## flow-monitor.h: void ns3::FlowMonitor::Stop(ns3::Time const & time) [member function]
+ cls.add_method('Stop',
+ 'void',
+ [param('ns3::Time const &', 'time')])
+ ## flow-monitor.h: void ns3::FlowMonitor::StopRightNow() [member function]
+ cls.add_method('StopRightNow',
+ 'void',
+ [])
+ ## flow-monitor.h: void ns3::FlowMonitor::NotifyConstructionCompleted() [member function]
+ cls.add_method('NotifyConstructionCompleted',
+ 'void',
+ [],
+ visibility='protected', is_virtual=True)
+ return
+
+def register_Ns3FlowMonitorFlowStats_methods(root_module, cls):
+ ## flow-monitor.h: ns3::FlowMonitor::FlowStats::FlowStats() [constructor]
+ cls.add_constructor([])
+ ## flow-monitor.h: ns3::FlowMonitor::FlowStats::FlowStats(ns3::FlowMonitor::FlowStats const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::FlowMonitor::FlowStats const &', 'arg0')])
+ ## flow-monitor.h: ns3::FlowMonitor::FlowStats::bytesDropped [variable]
+ cls.add_instance_attribute('bytesDropped', 'std::vector< unsigned long long >', is_const=False)
+ ## flow-monitor.h: ns3::FlowMonitor::FlowStats::delayHistogram [variable]
+ cls.add_instance_attribute('delayHistogram', 'ns3::Histogram', is_const=False)
+ ## flow-monitor.h: ns3::FlowMonitor::FlowStats::delaySum [variable]
+ cls.add_instance_attribute('delaySum', 'ns3::Time', is_const=False)
+ ## flow-monitor.h: ns3::FlowMonitor::FlowStats::jitterHistogram [variable]
+ cls.add_instance_attribute('jitterHistogram', 'ns3::Histogram', is_const=False)
+ ## flow-monitor.h: ns3::FlowMonitor::FlowStats::jitterSum [variable]
+ cls.add_instance_attribute('jitterSum', 'ns3::Time', is_const=False)
+ ## flow-monitor.h: ns3::FlowMonitor::FlowStats::lastDelay [variable]
+ cls.add_instance_attribute('lastDelay', 'ns3::Time', is_const=False)
+ ## flow-monitor.h: ns3::FlowMonitor::FlowStats::lostPackets [variable]
+ cls.add_instance_attribute('lostPackets', 'uint32_t', is_const=False)
+ ## flow-monitor.h: ns3::FlowMonitor::FlowStats::packetSizeHistogram [variable]
+ cls.add_instance_attribute('packetSizeHistogram', 'ns3::Histogram', is_const=False)
+ ## flow-monitor.h: ns3::FlowMonitor::FlowStats::packetsDropped [variable]
+ cls.add_instance_attribute('packetsDropped', 'std::vector< unsigned int >', is_const=False)
+ ## flow-monitor.h: ns3::FlowMonitor::FlowStats::rxBytes [variable]
+ cls.add_instance_attribute('rxBytes', 'uint64_t', is_const=False)
+ ## flow-monitor.h: ns3::FlowMonitor::FlowStats::rxPackets [variable]
+ cls.add_instance_attribute('rxPackets', 'uint32_t', is_const=False)
+ ## flow-monitor.h: ns3::FlowMonitor::FlowStats::timeFirstRxPacket [variable]
+ cls.add_instance_attribute('timeFirstRxPacket', 'ns3::Time', is_const=False)
+ ## flow-monitor.h: ns3::FlowMonitor::FlowStats::timeFirstTxPacket [variable]
+ cls.add_instance_attribute('timeFirstTxPacket', 'ns3::Time', is_const=False)
+ ## flow-monitor.h: ns3::FlowMonitor::FlowStats::timeLastRxPacket [variable]
+ cls.add_instance_attribute('timeLastRxPacket', 'ns3::Time', is_const=False)
+ ## flow-monitor.h: ns3::FlowMonitor::FlowStats::timeLastTxPacket [variable]
+ cls.add_instance_attribute('timeLastTxPacket', 'ns3::Time', is_const=False)
+ ## flow-monitor.h: ns3::FlowMonitor::FlowStats::timesForwarded [variable]
+ cls.add_instance_attribute('timesForwarded', 'uint32_t', is_const=False)
+ ## flow-monitor.h: ns3::FlowMonitor::FlowStats::txBytes [variable]
+ cls.add_instance_attribute('txBytes', 'uint64_t', is_const=False)
+ ## flow-monitor.h: ns3::FlowMonitor::FlowStats::txPackets [variable]
+ cls.add_instance_attribute('txPackets', 'uint32_t', is_const=False)
+ return
+
+def register_functions(root_module):
+ module = root_module
+ register_functions_ns3_Config(module.get_submodule('Config'), root_module)
+ register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
+ register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
+ register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
+ register_functions_ns3_flame(module.get_submodule('flame'), root_module)
+ register_functions_ns3_internal(module.get_submodule('internal'), root_module)
+ register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
+ return
+
+def register_functions_ns3_Config(module, root_module):
+ return
+
+def register_functions_ns3_TimeStepPrecision(module, root_module):
+ return
+
+def register_functions_ns3_addressUtils(module, root_module):
+ return
+
+def register_functions_ns3_dot11s(module, root_module):
+ return
+
+def register_functions_ns3_flame(module, root_module):
+ return
+
+def register_functions_ns3_internal(module, root_module):
+ return
+
+def register_functions_ns3_olsr(module, root_module):
+ return
+
diff --git a/bindings/python/ns3_module_global_routing.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_global_routing.py
similarity index 97%
rename from bindings/python/ns3_module_global_routing.py
rename to bindings/python/apidefs/gcc-ILP32/ns3_module_global_routing.py
index 8a795bdf5..4f44b1996 100644
--- a/bindings/python/ns3_module_global_routing.py
+++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_global_routing.py
@@ -38,6 +38,18 @@ def register_types(module):
register_types_ns3_addressUtils(nested_module)
+ ## Register a nested module for the namespace dot11s
+
+ nested_module = module.add_cpp_namespace('dot11s')
+ register_types_ns3_dot11s(nested_module)
+
+
+ ## Register a nested module for the namespace flame
+
+ nested_module = module.add_cpp_namespace('flame')
+ register_types_ns3_flame(nested_module)
+
+
## Register a nested module for the namespace internal
nested_module = module.add_cpp_namespace('internal')
@@ -62,6 +74,14 @@ def register_types_ns3_addressUtils(module):
root_module = module.get_root()
+def register_types_ns3_dot11s(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_flame(module):
+ root_module = module.get_root()
+
+
def register_types_ns3_internal(module):
root_module = module.get_root()
@@ -417,6 +437,8 @@ def register_functions(root_module):
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
+ register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
+ register_functions_ns3_flame(module.get_submodule('flame'), root_module)
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
return
@@ -430,6 +452,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
def register_functions_ns3_addressUtils(module, root_module):
return
+def register_functions_ns3_dot11s(module, root_module):
+ return
+
+def register_functions_ns3_flame(module, root_module):
+ return
+
def register_functions_ns3_internal(module, root_module):
return
diff --git a/bindings/python/ns3_module_helper.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_helper.py
similarity index 87%
rename from bindings/python/ns3_module_helper.py
rename to bindings/python/apidefs/gcc-ILP32/ns3_module_helper.py
index b997f67e8..b859378f3 100644
--- a/bindings/python/ns3_module_helper.py
+++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_helper.py
@@ -13,6 +13,8 @@ def register_types(module):
module.add_class('CsmaHelper', allow_subclassing=False)
## emu-helper.h: ns3::EmuHelper [class]
module.add_class('EmuHelper', allow_subclassing=False)
+ ## flow-monitor-helper.h: ns3::FlowMonitorHelper [class]
+ module.add_class('FlowMonitorHelper', allow_subclassing=False)
## internet-stack-helper.h: ns3::InternetStackHelper [class]
module.add_class('InternetStackHelper', allow_subclassing=False)
## ipv4-address-helper.h: ns3::Ipv4AddressHelper [class]
@@ -31,6 +33,10 @@ def register_types(module):
module.add_class('Ipv6RoutingHelper', allow_subclassing=False)
## ipv6-static-routing-helper.h: ns3::Ipv6StaticRoutingHelper [class]
module.add_class('Ipv6StaticRoutingHelper', allow_subclassing=False, parent=root_module['ns3::Ipv6RoutingHelper'])
+ ## mesh-helper.h: ns3::MeshHelper [class]
+ module.add_class('MeshHelper', allow_subclassing=False)
+ ## mesh-helper.h: ns3::MeshHelper::ChannelPolicy [enumeration]
+ module.add_enum('ChannelPolicy', ['SPREAD_CHANNELS', 'ZERO_CHANNEL'], outer_class=root_module['ns3::MeshHelper'])
## mobility-helper.h: ns3::MobilityHelper [class]
module.add_class('MobilityHelper', allow_subclassing=False)
## net-device-container.h: ns3::NetDeviceContainer [class]
@@ -75,6 +81,8 @@ def register_types(module):
module.add_class('Ipv4GlobalRoutingHelper', allow_subclassing=False, parent=root_module['ns3::Ipv4RoutingHelper'])
## ipv4-list-routing-helper.h: ns3::Ipv4ListRoutingHelper [class]
module.add_class('Ipv4ListRoutingHelper', allow_subclassing=False, parent=root_module['ns3::Ipv4RoutingHelper'])
+ ## ipv4-nix-vector-helper.h: ns3::Ipv4NixVectorHelper [class]
+ module.add_class('Ipv4NixVectorHelper', allow_subclassing=False, parent=root_module['ns3::Ipv4RoutingHelper'])
## ipv6-list-routing-helper.h: ns3::Ipv6ListRoutingHelper [class]
module.add_class('Ipv6ListRoutingHelper', allow_subclassing=False, parent=root_module['ns3::Ipv6RoutingHelper'])
## nqos-wifi-mac-helper.h: ns3::NqosWifiMacHelper [class]
@@ -83,6 +91,12 @@ def register_types(module):
module.add_class('QosWifiMacHelper', allow_subclassing=False, parent=root_module['ns3::WifiMacHelper'])
## athstats-helper.h: ns3::AthstatsWifiTraceSink [class]
module.add_class('AthstatsWifiTraceSink', parent=root_module['ns3::Object'])
+ ## mesh-stack-installer.h: ns3::MeshStack [class]
+ module.add_class('MeshStack', parent=root_module['ns3::Object'])
+ ## dot11s-installer.h: ns3::Dot11sStack [class]
+ module.add_class('Dot11sStack', parent=root_module['ns3::MeshStack'])
+ ## flame-installer.h: ns3::FlameStack [class]
+ module.add_class('FlameStack', parent=root_module['ns3::MeshStack'])
## Register a nested module for the namespace Config
@@ -102,6 +116,18 @@ def register_types(module):
register_types_ns3_addressUtils(nested_module)
+ ## Register a nested module for the namespace dot11s
+
+ nested_module = module.add_cpp_namespace('dot11s')
+ register_types_ns3_dot11s(nested_module)
+
+
+ ## Register a nested module for the namespace flame
+
+ nested_module = module.add_cpp_namespace('flame')
+ register_types_ns3_flame(nested_module)
+
+
## Register a nested module for the namespace internal
nested_module = module.add_cpp_namespace('internal')
@@ -126,6 +152,14 @@ def register_types_ns3_addressUtils(module):
root_module = module.get_root()
+def register_types_ns3_dot11s(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_flame(module):
+ root_module = module.get_root()
+
+
def register_types_ns3_internal(module):
root_module = module.get_root()
@@ -140,6 +174,7 @@ def register_methods(root_module):
register_Ns3BridgeHelper_methods(root_module, root_module['ns3::BridgeHelper'])
register_Ns3CsmaHelper_methods(root_module, root_module['ns3::CsmaHelper'])
register_Ns3EmuHelper_methods(root_module, root_module['ns3::EmuHelper'])
+ register_Ns3FlowMonitorHelper_methods(root_module, root_module['ns3::FlowMonitorHelper'])
register_Ns3InternetStackHelper_methods(root_module, root_module['ns3::InternetStackHelper'])
register_Ns3Ipv4AddressHelper_methods(root_module, root_module['ns3::Ipv4AddressHelper'])
register_Ns3Ipv4InterfaceContainer_methods(root_module, root_module['ns3::Ipv4InterfaceContainer'])
@@ -149,6 +184,7 @@ def register_methods(root_module):
register_Ns3Ipv6InterfaceContainer_methods(root_module, root_module['ns3::Ipv6InterfaceContainer'])
register_Ns3Ipv6RoutingHelper_methods(root_module, root_module['ns3::Ipv6RoutingHelper'])
register_Ns3Ipv6StaticRoutingHelper_methods(root_module, root_module['ns3::Ipv6StaticRoutingHelper'])
+ register_Ns3MeshHelper_methods(root_module, root_module['ns3::MeshHelper'])
register_Ns3MobilityHelper_methods(root_module, root_module['ns3::MobilityHelper'])
register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer'])
register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer'])
@@ -170,10 +206,14 @@ def register_methods(root_module):
register_Ns3YansWifiPhyHelper_methods(root_module, root_module['ns3::YansWifiPhyHelper'])
register_Ns3Ipv4GlobalRoutingHelper_methods(root_module, root_module['ns3::Ipv4GlobalRoutingHelper'])
register_Ns3Ipv4ListRoutingHelper_methods(root_module, root_module['ns3::Ipv4ListRoutingHelper'])
+ register_Ns3Ipv4NixVectorHelper_methods(root_module, root_module['ns3::Ipv4NixVectorHelper'])
register_Ns3Ipv6ListRoutingHelper_methods(root_module, root_module['ns3::Ipv6ListRoutingHelper'])
register_Ns3NqosWifiMacHelper_methods(root_module, root_module['ns3::NqosWifiMacHelper'])
register_Ns3QosWifiMacHelper_methods(root_module, root_module['ns3::QosWifiMacHelper'])
register_Ns3AthstatsWifiTraceSink_methods(root_module, root_module['ns3::AthstatsWifiTraceSink'])
+ register_Ns3MeshStack_methods(root_module, root_module['ns3::MeshStack'])
+ register_Ns3Dot11sStack_methods(root_module, root_module['ns3::Dot11sStack'])
+ register_Ns3FlameStack_methods(root_module, root_module['ns3::FlameStack'])
return
def register_Ns3ApplicationContainer_methods(root_module, cls):
@@ -471,6 +511,37 @@ def register_Ns3EmuHelper_methods(root_module, cls):
[param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()')])
return
+def register_Ns3FlowMonitorHelper_methods(root_module, cls):
+ ## flow-monitor-helper.h: ns3::FlowMonitorHelper::FlowMonitorHelper(ns3::FlowMonitorHelper const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::FlowMonitorHelper const &', 'arg0')])
+ ## flow-monitor-helper.h: ns3::FlowMonitorHelper::FlowMonitorHelper() [constructor]
+ cls.add_constructor([])
+ ## flow-monitor-helper.h: ns3::Ptr ns3::FlowMonitorHelper::GetClassifier() [member function]
+ cls.add_method('GetClassifier',
+ 'ns3::Ptr< ns3::FlowClassifier >',
+ [])
+ ## flow-monitor-helper.h: ns3::Ptr ns3::FlowMonitorHelper::GetMonitor() [member function]
+ cls.add_method('GetMonitor',
+ 'ns3::Ptr< ns3::FlowMonitor >',
+ [])
+ ## flow-monitor-helper.h: ns3::Ptr ns3::FlowMonitorHelper::Install(ns3::NodeContainer nodes) [member function]
+ cls.add_method('Install',
+ 'ns3::Ptr< ns3::FlowMonitor >',
+ [param('ns3::NodeContainer', 'nodes')])
+ ## flow-monitor-helper.h: ns3::Ptr ns3::FlowMonitorHelper::Install(ns3::Ptr node) [member function]
+ cls.add_method('Install',
+ 'ns3::Ptr< ns3::FlowMonitor >',
+ [param('ns3::Ptr< ns3::Node >', 'node')])
+ ## flow-monitor-helper.h: ns3::Ptr ns3::FlowMonitorHelper::InstallAll() [member function]
+ cls.add_method('InstallAll',
+ 'ns3::Ptr< ns3::FlowMonitor >',
+ [])
+ ## flow-monitor-helper.h: void ns3::FlowMonitorHelper::SetMonitorAttribute(std::string n1, ns3::AttributeValue const & v1) [member function]
+ cls.add_method('SetMonitorAttribute',
+ 'void',
+ [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')])
+ return
+
def register_Ns3InternetStackHelper_methods(root_module, cls):
## internet-stack-helper.h: ns3::InternetStackHelper::InternetStackHelper(ns3::InternetStackHelper const & arg0) [copy constructor]
cls.add_constructor([param('ns3::InternetStackHelper const &', 'arg0')])
@@ -542,6 +613,8 @@ def register_Ns3Ipv4AddressHelper_methods(root_module, cls):
cls.add_constructor([param('ns3::Ipv4AddressHelper const &', 'arg0')])
## ipv4-address-helper.h: ns3::Ipv4AddressHelper::Ipv4AddressHelper() [constructor]
cls.add_constructor([])
+ ## ipv4-address-helper.h: ns3::Ipv4AddressHelper::Ipv4AddressHelper(ns3::Ipv4Address network, ns3::Ipv4Mask mask, ns3::Ipv4Address base="0.0.0.1") [constructor]
+ cls.add_constructor([param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'mask'), param('ns3::Ipv4Address', 'base', default_value='"0.0.0.1"')])
## ipv4-address-helper.h: ns3::Ipv4InterfaceContainer ns3::Ipv4AddressHelper::Assign(ns3::NetDeviceContainer const & c) [member function]
cls.add_method('Assign',
'ns3::Ipv4InterfaceContainer',
@@ -573,10 +646,19 @@ def register_Ns3Ipv4InterfaceContainer_methods(root_module, cls):
cls.add_method('Add',
'void',
[param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')])
+ ## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::Add(std::pair,unsigned int> arg0) [member function]
+ cls.add_method('Add',
+ 'void',
+ [param('std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int >', 'arg0')])
## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::Add(std::string ipv4Name, uint32_t interface) [member function]
cls.add_method('Add',
'void',
[param('std::string', 'ipv4Name'), param('uint32_t', 'interface')])
+ ## ipv4-interface-container.h: std::pair,unsigned int> ns3::Ipv4InterfaceContainer::Get(uint32_t arg0) const [member function]
+ cls.add_method('Get',
+ 'std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int >',
+ [param('uint32_t', 'arg0')],
+ is_const=True)
## ipv4-interface-container.h: ns3::Ipv4Address ns3::Ipv4InterfaceContainer::GetAddress(uint32_t i, uint32_t j=0) const [member function]
cls.add_method('GetAddress',
'ns3::Ipv4Address',
@@ -768,6 +850,55 @@ def register_Ns3Ipv6StaticRoutingHelper_methods(root_module, cls):
is_const=True)
return
+def register_Ns3MeshHelper_methods(root_module, cls):
+ ## mesh-helper.h: ns3::MeshHelper::MeshHelper(ns3::MeshHelper const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::MeshHelper const &', 'arg0')])
+ ## mesh-helper.h: ns3::MeshHelper::MeshHelper() [constructor]
+ cls.add_constructor([])
+ ## mesh-helper.h: static ns3::MeshHelper ns3::MeshHelper::Default() [member function]
+ cls.add_method('Default',
+ 'ns3::MeshHelper',
+ [],
+ is_static=True)
+ ## mesh-helper.h: ns3::NetDeviceContainer ns3::MeshHelper::Install(ns3::WifiPhyHelper const & phyHelper, ns3::NodeContainer c) const [member function]
+ cls.add_method('Install',
+ 'ns3::NetDeviceContainer',
+ [param('ns3::WifiPhyHelper const &', 'phyHelper'), param('ns3::NodeContainer', 'c')],
+ is_const=True)
+ ## mesh-helper.h: void ns3::MeshHelper::Report(ns3::Ptr const & arg0, std::ostream & arg1) [member function]
+ cls.add_method('Report',
+ 'void',
+ [param('ns3::Ptr< ns3::NetDevice > const &', 'arg0'), param('std::ostream &', 'arg1')])
+ ## mesh-helper.h: void ns3::MeshHelper::ResetStats(ns3::Ptr const & arg0) [member function]
+ cls.add_method('ResetStats',
+ 'void',
+ [param('ns3::Ptr< ns3::NetDevice > const &', 'arg0')])
+ ## mesh-helper.h: void ns3::MeshHelper::SetMacType(std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function]
+ cls.add_method('SetMacType',
+ 'void',
+ [param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')])
+ ## mesh-helper.h: void ns3::MeshHelper::SetNumberOfInterfaces(uint32_t nInterfaces) [member function]
+ cls.add_method('SetNumberOfInterfaces',
+ 'void',
+ [param('uint32_t', 'nInterfaces')])
+ ## mesh-helper.h: void ns3::MeshHelper::SetRemoteStationManager(std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function]
+ cls.add_method('SetRemoteStationManager',
+ 'void',
+ [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')])
+ ## mesh-helper.h: void ns3::MeshHelper::SetSpreadInterfaceChannels(ns3::MeshHelper::ChannelPolicy arg0) [member function]
+ cls.add_method('SetSpreadInterfaceChannels',
+ 'void',
+ [param('ns3::MeshHelper::ChannelPolicy', 'arg0')])
+ ## mesh-helper.h: void ns3::MeshHelper::SetStackInstaller(std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function]
+ cls.add_method('SetStackInstaller',
+ 'void',
+ [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')])
+ ## mesh-helper.h: void ns3::MeshHelper::SetStandard(ns3::WifiPhyStandard standard) [member function]
+ cls.add_method('SetStandard',
+ 'void',
+ [param('ns3::WifiPhyStandard', 'standard')])
+ return
+
def register_Ns3MobilityHelper_methods(root_module, cls):
## mobility-helper.h: ns3::MobilityHelper::MobilityHelper(ns3::MobilityHelper const & arg0) [copy constructor]
cls.add_constructor([param('ns3::MobilityHelper const &', 'arg0')])
@@ -1500,6 +1631,18 @@ def register_Ns3Ipv4ListRoutingHelper_methods(root_module, cls):
is_const=True, is_virtual=True)
return
+def register_Ns3Ipv4NixVectorHelper_methods(root_module, cls):
+ ## ipv4-nix-vector-helper.h: ns3::Ipv4NixVectorHelper::Ipv4NixVectorHelper(ns3::Ipv4NixVectorHelper const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::Ipv4NixVectorHelper const &', 'arg0')])
+ ## ipv4-nix-vector-helper.h: ns3::Ipv4NixVectorHelper::Ipv4NixVectorHelper() [constructor]
+ cls.add_constructor([])
+ ## ipv4-nix-vector-helper.h: ns3::Ptr ns3::Ipv4NixVectorHelper::Create(ns3::Ptr node) const [member function]
+ cls.add_method('Create',
+ 'ns3::Ptr< ns3::Ipv4RoutingProtocol >',
+ [param('ns3::Ptr< ns3::Node >', 'node')],
+ is_const=True, is_virtual=True)
+ return
+
def register_Ns3Ipv6ListRoutingHelper_methods(root_module, cls):
## ipv6-list-routing-helper.h: ns3::Ipv6ListRoutingHelper::Ipv6ListRoutingHelper(ns3::Ipv6ListRoutingHelper const & arg0) [copy constructor]
cls.add_constructor([param('ns3::Ipv6ListRoutingHelper const &', 'arg0')])
@@ -1618,11 +1761,99 @@ def register_Ns3AthstatsWifiTraceSink_methods(root_module, cls):
[param('std::string', 'context'), param('ns3::Mac48Address', 'address')])
return
+def register_Ns3MeshStack_methods(root_module, cls):
+ ## mesh-stack-installer.h: ns3::MeshStack::MeshStack() [constructor]
+ cls.add_constructor([])
+ ## mesh-stack-installer.h: ns3::MeshStack::MeshStack(ns3::MeshStack const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::MeshStack const &', 'arg0')])
+ ## mesh-stack-installer.h: bool ns3::MeshStack::InstallStack(ns3::Ptr mp) [member function]
+ cls.add_method('InstallStack',
+ 'bool',
+ [param('ns3::Ptr< ns3::MeshPointDevice >', 'mp')],
+ is_pure_virtual=True, is_virtual=True)
+ ## mesh-stack-installer.h: void ns3::MeshStack::Report(ns3::Ptr const mp, std::ostream & arg1) [member function]
+ cls.add_method('Report',
+ 'void',
+ [param('ns3::Ptr< ns3::MeshPointDevice > const', 'mp'), param('std::ostream &', 'arg1')],
+ is_pure_virtual=True, is_virtual=True)
+ ## mesh-stack-installer.h: void ns3::MeshStack::ResetStats(ns3::Ptr const mp) [member function]
+ cls.add_method('ResetStats',
+ 'void',
+ [param('ns3::Ptr< ns3::MeshPointDevice > const', 'mp')],
+ is_pure_virtual=True, is_virtual=True)
+ return
+
+def register_Ns3Dot11sStack_methods(root_module, cls):
+ ## dot11s-installer.h: ns3::Dot11sStack::Dot11sStack(ns3::Dot11sStack const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::Dot11sStack const &', 'arg0')])
+ ## dot11s-installer.h: ns3::Dot11sStack::Dot11sStack() [constructor]
+ cls.add_constructor([])
+ ## dot11s-installer.h: void ns3::Dot11sStack::DoDispose() [member function]
+ cls.add_method('DoDispose',
+ 'void',
+ [],
+ is_virtual=True)
+ ## dot11s-installer.h: static ns3::TypeId ns3::Dot11sStack::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## dot11s-installer.h: bool ns3::Dot11sStack::InstallStack(ns3::Ptr mp) [member function]
+ cls.add_method('InstallStack',
+ 'bool',
+ [param('ns3::Ptr< ns3::MeshPointDevice >', 'mp')],
+ is_virtual=True)
+ ## dot11s-installer.h: void ns3::Dot11sStack::Report(ns3::Ptr const mp, std::ostream & arg1) [member function]
+ cls.add_method('Report',
+ 'void',
+ [param('ns3::Ptr< ns3::MeshPointDevice > const', 'mp'), param('std::ostream &', 'arg1')],
+ is_virtual=True)
+ ## dot11s-installer.h: void ns3::Dot11sStack::ResetStats(ns3::Ptr const mp) [member function]
+ cls.add_method('ResetStats',
+ 'void',
+ [param('ns3::Ptr< ns3::MeshPointDevice > const', 'mp')],
+ is_virtual=True)
+ return
+
+def register_Ns3FlameStack_methods(root_module, cls):
+ ## flame-installer.h: ns3::FlameStack::FlameStack(ns3::FlameStack const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::FlameStack const &', 'arg0')])
+ ## flame-installer.h: ns3::FlameStack::FlameStack() [constructor]
+ cls.add_constructor([])
+ ## flame-installer.h: void ns3::FlameStack::DoDispose() [member function]
+ cls.add_method('DoDispose',
+ 'void',
+ [],
+ is_virtual=True)
+ ## flame-installer.h: static ns3::TypeId ns3::FlameStack::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## flame-installer.h: bool ns3::FlameStack::InstallStack(ns3::Ptr mp) [member function]
+ cls.add_method('InstallStack',
+ 'bool',
+ [param('ns3::Ptr< ns3::MeshPointDevice >', 'mp')],
+ is_virtual=True)
+ ## flame-installer.h: void ns3::FlameStack::Report(ns3::Ptr const mp, std::ostream & arg1) [member function]
+ cls.add_method('Report',
+ 'void',
+ [param('ns3::Ptr< ns3::MeshPointDevice > const', 'mp'), param('std::ostream &', 'arg1')],
+ is_virtual=True)
+ ## flame-installer.h: void ns3::FlameStack::ResetStats(ns3::Ptr const mp) [member function]
+ cls.add_method('ResetStats',
+ 'void',
+ [param('ns3::Ptr< ns3::MeshPointDevice > const', 'mp')],
+ is_virtual=True)
+ return
+
def register_functions(root_module):
module = root_module
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
+ register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
+ register_functions_ns3_flame(module.get_submodule('flame'), root_module)
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
return
@@ -1636,6 +1867,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
def register_functions_ns3_addressUtils(module, root_module):
return
+def register_functions_ns3_dot11s(module, root_module):
+ return
+
+def register_functions_ns3_flame(module, root_module):
+ return
+
def register_functions_ns3_internal(module, root_module):
return
diff --git a/bindings/python/ns3_module_internet_stack.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_internet_stack.py
similarity index 74%
rename from bindings/python/ns3_module_internet_stack.py
rename to bindings/python/apidefs/gcc-ILP32/ns3_module_internet_stack.py
index a1fad209b..c8eef2d76 100644
--- a/bindings/python/ns3_module_internet_stack.py
+++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_internet_stack.py
@@ -73,16 +73,32 @@ def register_types(module):
module.add_class('Icmpv6Echo', parent=root_module['ns3::Icmpv6Header'])
## ipv4-l3-protocol.h: ns3::Ipv4L3Protocol [class]
module.add_class('Ipv4L3Protocol', parent=root_module['ns3::Ipv4'])
+ ## ipv4-l3-protocol.h: ns3::Ipv4L3Protocol::DropReason [enumeration]
+ module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR'], outer_class=root_module['ns3::Ipv4L3Protocol'])
## ipv4-l4-protocol.h: ns3::Ipv4L4Protocol [class]
module.add_class('Ipv4L4Protocol', parent=root_module['ns3::Object'])
## ipv4-l4-protocol.h: ns3::Ipv4L4Protocol::RxStatus [enumeration]
module.add_enum('RxStatus', ['RX_OK', 'RX_CSUM_FAILED', 'RX_ENDPOINT_UNREACH'], outer_class=root_module['ns3::Ipv4L4Protocol'])
+ ## ipv6-l3-protocol.h: ns3::Ipv6L3Protocol [class]
+ module.add_class('Ipv6L3Protocol', parent=root_module['ns3::Ipv6'])
+ ## ipv6-l3-protocol.h: ns3::Ipv6L3Protocol::DropReason [enumeration]
+ module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR'], outer_class=root_module['ns3::Ipv6L3Protocol'])
+ ## ipv6-l4-protocol.h: ns3::Ipv6L4Protocol [class]
+ module.add_class('Ipv6L4Protocol', parent=root_module['ns3::Object'])
+ ## ipv6-l4-protocol.h: ns3::Ipv6L4Protocol::RxStatus_e [enumeration]
+ module.add_enum('RxStatus_e', ['RX_OK', 'RX_CSUM_FAILED', 'RX_ENDPOINT_UNREACH'], outer_class=root_module['ns3::Ipv6L4Protocol'])
+ ## ndisc-cache.h: ns3::NdiscCache [class]
+ module.add_class('NdiscCache', parent=root_module['ns3::Object'])
+ ## ndisc-cache.h: ns3::NdiscCache::Entry [class]
+ module.add_class('Entry', outer_class=root_module['ns3::NdiscCache'])
## tcp-l4-protocol.h: ns3::TcpL4Protocol [class]
module.add_class('TcpL4Protocol', parent=root_module['ns3::Ipv4L4Protocol'])
## udp-l4-protocol.h: ns3::UdpL4Protocol [class]
module.add_class('UdpL4Protocol', parent=root_module['ns3::Ipv4L4Protocol'])
## icmpv4-l4-protocol.h: ns3::Icmpv4L4Protocol [class]
module.add_class('Icmpv4L4Protocol', parent=root_module['ns3::Ipv4L4Protocol'])
+ ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol [class]
+ module.add_class('Icmpv6L4Protocol', parent=root_module['ns3::Ipv6L4Protocol'])
## Register a nested module for the namespace Config
@@ -102,6 +118,18 @@ def register_types(module):
register_types_ns3_addressUtils(nested_module)
+ ## Register a nested module for the namespace dot11s
+
+ nested_module = module.add_cpp_namespace('dot11s')
+ register_types_ns3_dot11s(nested_module)
+
+
+ ## Register a nested module for the namespace flame
+
+ nested_module = module.add_cpp_namespace('flame')
+ register_types_ns3_flame(nested_module)
+
+
## Register a nested module for the namespace internal
nested_module = module.add_cpp_namespace('internal')
@@ -126,6 +154,14 @@ def register_types_ns3_addressUtils(module):
root_module = module.get_root()
+def register_types_ns3_dot11s(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_flame(module):
+ root_module = module.get_root()
+
+
def register_types_ns3_internal(module):
root_module = module.get_root()
@@ -162,9 +198,14 @@ def register_methods(root_module):
register_Ns3Icmpv6Echo_methods(root_module, root_module['ns3::Icmpv6Echo'])
register_Ns3Ipv4L3Protocol_methods(root_module, root_module['ns3::Ipv4L3Protocol'])
register_Ns3Ipv4L4Protocol_methods(root_module, root_module['ns3::Ipv4L4Protocol'])
+ register_Ns3Ipv6L3Protocol_methods(root_module, root_module['ns3::Ipv6L3Protocol'])
+ register_Ns3Ipv6L4Protocol_methods(root_module, root_module['ns3::Ipv6L4Protocol'])
+ register_Ns3NdiscCache_methods(root_module, root_module['ns3::NdiscCache'])
+ register_Ns3NdiscCacheEntry_methods(root_module, root_module['ns3::NdiscCache::Entry'])
register_Ns3TcpL4Protocol_methods(root_module, root_module['ns3::TcpL4Protocol'])
register_Ns3UdpL4Protocol_methods(root_module, root_module['ns3::UdpL4Protocol'])
register_Ns3Icmpv4L4Protocol_methods(root_module, root_module['ns3::Icmpv4L4Protocol'])
+ register_Ns3Icmpv6L4Protocol_methods(root_module, root_module['ns3::Icmpv6L4Protocol'])
return
def register_Ns3Icmpv4DestinationUnreachable_methods(root_module, cls):
@@ -957,11 +998,11 @@ def register_Ns3Icmpv6ParameterError_methods(root_module, cls):
'ns3::TypeId',
[],
is_static=True)
- ## icmpv6-header.h: void ns3::Icmpv6ParameterError::Print(std::ostream & os) [member function]
+ ## icmpv6-header.h: void ns3::Icmpv6ParameterError::Print(std::ostream & os) const [member function]
cls.add_method('Print',
'void',
[param('std::ostream &', 'os')],
- is_virtual=True)
+ is_const=True, is_virtual=True)
## icmpv6-header.h: void ns3::Icmpv6ParameterError::Serialize(ns3::Buffer::Iterator start) const [member function]
cls.add_method('Serialize',
'void',
@@ -1116,11 +1157,11 @@ def register_Ns3Icmpv6RS_methods(root_module, cls):
'ns3::TypeId',
[],
is_static=True)
- ## icmpv6-header.h: void ns3::Icmpv6RS::Print(std::ostream & os) [member function]
+ ## icmpv6-header.h: void ns3::Icmpv6RS::Print(std::ostream & os) const [member function]
cls.add_method('Print',
'void',
[param('std::ostream &', 'os')],
- is_virtual=True)
+ is_const=True, is_virtual=True)
## icmpv6-header.h: void ns3::Icmpv6RS::Serialize(ns3::Buffer::Iterator start) const [member function]
cls.add_method('Serialize',
'void',
@@ -1172,11 +1213,11 @@ def register_Ns3Icmpv6Redirection_methods(root_module, cls):
'ns3::TypeId',
[],
is_static=True)
- ## icmpv6-header.h: void ns3::Icmpv6Redirection::Print(std::ostream & os) [member function]
+ ## icmpv6-header.h: void ns3::Icmpv6Redirection::Print(std::ostream & os) const [member function]
cls.add_method('Print',
'void',
[param('std::ostream &', 'os')],
- is_virtual=True)
+ is_const=True, is_virtual=True)
## icmpv6-header.h: void ns3::Icmpv6Redirection::Serialize(ns3::Buffer::Iterator start) const [member function]
cls.add_method('Serialize',
'void',
@@ -1226,11 +1267,11 @@ def register_Ns3Icmpv6TimeExceeded_methods(root_module, cls):
'ns3::TypeId',
[],
is_static=True)
- ## icmpv6-header.h: void ns3::Icmpv6TimeExceeded::Print(std::ostream & os) [member function]
+ ## icmpv6-header.h: void ns3::Icmpv6TimeExceeded::Print(std::ostream & os) const [member function]
cls.add_method('Print',
'void',
[param('std::ostream &', 'os')],
- is_virtual=True)
+ is_const=True, is_virtual=True)
## icmpv6-header.h: void ns3::Icmpv6TimeExceeded::Serialize(ns3::Buffer::Iterator start) const [member function]
cls.add_method('Serialize',
'void',
@@ -1277,11 +1318,11 @@ def register_Ns3Icmpv6TooBig_methods(root_module, cls):
'ns3::TypeId',
[],
is_static=True)
- ## icmpv6-header.h: void ns3::Icmpv6TooBig::Print(std::ostream & os) [member function]
+ ## icmpv6-header.h: void ns3::Icmpv6TooBig::Print(std::ostream & os) const [member function]
cls.add_method('Print',
'void',
[param('std::ostream &', 'os')],
- is_virtual=True)
+ is_const=True, is_virtual=True)
## icmpv6-header.h: void ns3::Icmpv6TooBig::Serialize(ns3::Buffer::Iterator start) const [member function]
cls.add_method('Serialize',
'void',
@@ -1702,11 +1743,11 @@ def register_Ns3Icmpv6DestinationUnreachable_methods(root_module, cls):
'ns3::TypeId',
[],
is_static=True)
- ## icmpv6-header.h: void ns3::Icmpv6DestinationUnreachable::Print(std::ostream & os) [member function]
+ ## icmpv6-header.h: void ns3::Icmpv6DestinationUnreachable::Print(std::ostream & os) const [member function]
cls.add_method('Print',
'void',
[param('std::ostream &', 'os')],
- is_virtual=True)
+ is_const=True, is_virtual=True)
## icmpv6-header.h: void ns3::Icmpv6DestinationUnreachable::Serialize(ns3::Buffer::Iterator start) const [member function]
cls.add_method('Serialize',
'void',
@@ -1976,6 +2017,435 @@ def register_Ns3Ipv4L4Protocol_methods(root_module, cls):
is_virtual=True)
return
+def register_Ns3Ipv6L3Protocol_methods(root_module, cls):
+ ## ipv6-l3-protocol.h: ns3::Ipv6L3Protocol::PROT_NUMBER [variable]
+ cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True)
+ ## ipv6-l3-protocol.h: static ns3::TypeId ns3::Ipv6L3Protocol::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## ipv6-l3-protocol.h: ns3::Ipv6L3Protocol::Ipv6L3Protocol() [constructor]
+ cls.add_constructor([])
+ ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::SetNode(ns3::Ptr node) [member function]
+ cls.add_method('SetNode',
+ 'void',
+ [param('ns3::Ptr< ns3::Node >', 'node')])
+ ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::Insert(ns3::Ptr protocol) [member function]
+ cls.add_method('Insert',
+ 'void',
+ [param('ns3::Ptr< ns3::Ipv6L4Protocol >', 'protocol')])
+ ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::Remove(ns3::Ptr protocol) [member function]
+ cls.add_method('Remove',
+ 'void',
+ [param('ns3::Ptr< ns3::Ipv6L4Protocol >', 'protocol')])
+ ## ipv6-l3-protocol.h: ns3::Ptr ns3::Ipv6L3Protocol::GetProtocol(int protocolNumber) const [member function]
+ cls.add_method('GetProtocol',
+ 'ns3::Ptr< ns3::Ipv6L4Protocol >',
+ [param('int', 'protocolNumber')],
+ is_const=True)
+ ## ipv6-l3-protocol.h: ns3::Ptr ns3::Ipv6L3Protocol::CreateRawSocket() [member function]
+ cls.add_method('CreateRawSocket',
+ 'ns3::Ptr< ns3::Socket >',
+ [])
+ ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::DeleteRawSocket(ns3::Ptr socket) [member function]
+ cls.add_method('DeleteRawSocket',
+ 'void',
+ [param('ns3::Ptr< ns3::Socket >', 'socket')])
+ ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::SetDefaultTtl(uint8_t ttl) [member function]
+ cls.add_method('SetDefaultTtl',
+ 'void',
+ [param('uint8_t', 'ttl')])
+ ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::Receive(ns3::Ptr device, ns3::Ptr p, uint16_t protocol, ns3::Address const & from, ns3::Address const & to, ns3::NetDevice::PacketType packetType) [member function]
+ cls.add_method('Receive',
+ 'void',
+ [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Packet const >', 'p'), param('uint16_t', 'protocol'), param('ns3::Address const &', 'from'), param('ns3::Address const &', 'to'), param('ns3::NetDevice::PacketType', 'packetType')])
+ ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::Send(ns3::Ptr packet, ns3::Ipv6Address source, ns3::Ipv6Address destination, uint8_t protocol, ns3::Ptr route) [member function]
+ cls.add_method('Send',
+ 'void',
+ [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv6Address', 'source'), param('ns3::Ipv6Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv6Route >', 'route')])
+ ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function]
+ cls.add_method('SetRoutingProtocol',
+ 'void',
+ [param('ns3::Ptr< ns3::Ipv6RoutingProtocol >', 'routingProtocol')],
+ is_virtual=True)
+ ## ipv6-l3-protocol.h: ns3::Ptr ns3::Ipv6L3Protocol::GetRoutingProtocol() const [member function]
+ cls.add_method('GetRoutingProtocol',
+ 'ns3::Ptr< ns3::Ipv6RoutingProtocol >',
+ [],
+ is_const=True, is_virtual=True)
+ ## ipv6-l3-protocol.h: uint32_t ns3::Ipv6L3Protocol::AddInterface(ns3::Ptr device) [member function]
+ cls.add_method('AddInterface',
+ 'uint32_t',
+ [param('ns3::Ptr< ns3::NetDevice >', 'device')],
+ is_virtual=True)
+ ## ipv6-l3-protocol.h: ns3::Ptr ns3::Ipv6L3Protocol::GetInterface(uint32_t i) const [member function]
+ cls.add_method('GetInterface',
+ 'ns3::Ptr< ns3::Ipv6Interface >',
+ [param('uint32_t', 'i')],
+ is_const=True)
+ ## ipv6-l3-protocol.h: uint32_t ns3::Ipv6L3Protocol::GetNInterfaces() const [member function]
+ cls.add_method('GetNInterfaces',
+ 'uint32_t',
+ [],
+ is_const=True, is_virtual=True)
+ ## ipv6-l3-protocol.h: int32_t ns3::Ipv6L3Protocol::GetInterfaceForAddress(ns3::Ipv6Address addr) const [member function]
+ cls.add_method('GetInterfaceForAddress',
+ 'int32_t',
+ [param('ns3::Ipv6Address', 'addr')],
+ is_const=True, is_virtual=True)
+ ## ipv6-l3-protocol.h: int32_t ns3::Ipv6L3Protocol::GetInterfaceForPrefix(ns3::Ipv6Address addr, ns3::Ipv6Prefix mask) const [member function]
+ cls.add_method('GetInterfaceForPrefix',
+ 'int32_t',
+ [param('ns3::Ipv6Address', 'addr'), param('ns3::Ipv6Prefix', 'mask')],
+ is_const=True, is_virtual=True)
+ ## ipv6-l3-protocol.h: int32_t ns3::Ipv6L3Protocol::GetInterfaceForDevice(ns3::Ptr device) const [member function]
+ cls.add_method('GetInterfaceForDevice',
+ 'int32_t',
+ [param('ns3::Ptr< ns3::NetDevice const >', 'device')],
+ is_const=True, is_virtual=True)
+ ## ipv6-l3-protocol.h: bool ns3::Ipv6L3Protocol::AddAddress(uint32_t i, ns3::Ipv6InterfaceAddress address) [member function]
+ cls.add_method('AddAddress',
+ 'bool',
+ [param('uint32_t', 'i'), param('ns3::Ipv6InterfaceAddress', 'address')],
+ is_virtual=True)
+ ## ipv6-l3-protocol.h: ns3::Ipv6InterfaceAddress ns3::Ipv6L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function]
+ cls.add_method('GetAddress',
+ 'ns3::Ipv6InterfaceAddress',
+ [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')],
+ is_const=True, is_virtual=True)
+ ## ipv6-l3-protocol.h: uint32_t ns3::Ipv6L3Protocol::GetNAddresses(uint32_t interface) const [member function]
+ cls.add_method('GetNAddresses',
+ 'uint32_t',
+ [param('uint32_t', 'interface')],
+ is_const=True, is_virtual=True)
+ ## ipv6-l3-protocol.h: bool ns3::Ipv6L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function]
+ cls.add_method('RemoveAddress',
+ 'bool',
+ [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')],
+ is_virtual=True)
+ ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function]
+ cls.add_method('SetMetric',
+ 'void',
+ [param('uint32_t', 'i'), param('uint16_t', 'metric')],
+ is_virtual=True)
+ ## ipv6-l3-protocol.h: uint16_t ns3::Ipv6L3Protocol::GetMetric(uint32_t i) const [member function]
+ cls.add_method('GetMetric',
+ 'uint16_t',
+ [param('uint32_t', 'i')],
+ is_const=True, is_virtual=True)
+ ## ipv6-l3-protocol.h: uint16_t ns3::Ipv6L3Protocol::GetMtu(uint32_t i) const [member function]
+ cls.add_method('GetMtu',
+ 'uint16_t',
+ [param('uint32_t', 'i')],
+ is_const=True, is_virtual=True)
+ ## ipv6-l3-protocol.h: bool ns3::Ipv6L3Protocol::IsUp(uint32_t i) const [member function]
+ cls.add_method('IsUp',
+ 'bool',
+ [param('uint32_t', 'i')],
+ is_const=True, is_virtual=True)
+ ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::SetUp(uint32_t i) [member function]
+ cls.add_method('SetUp',
+ 'void',
+ [param('uint32_t', 'i')],
+ is_virtual=True)
+ ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::SetDown(uint32_t i) [member function]
+ cls.add_method('SetDown',
+ 'void',
+ [param('uint32_t', 'i')],
+ is_virtual=True)
+ ## ipv6-l3-protocol.h: bool ns3::Ipv6L3Protocol::IsForwarding(uint32_t i) const [member function]
+ cls.add_method('IsForwarding',
+ 'bool',
+ [param('uint32_t', 'i')],
+ is_const=True, is_virtual=True)
+ ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::SetForwarding(uint32_t i, bool val) [member function]
+ cls.add_method('SetForwarding',
+ 'void',
+ [param('uint32_t', 'i'), param('bool', 'val')],
+ is_virtual=True)
+ ## ipv6-l3-protocol.h: ns3::Ptr ns3::Ipv6L3Protocol::GetNetDevice(uint32_t i) [member function]
+ cls.add_method('GetNetDevice',
+ 'ns3::Ptr< ns3::NetDevice >',
+ [param('uint32_t', 'i')],
+ is_virtual=True)
+ ## ipv6-l3-protocol.h: ns3::Ptr ns3::Ipv6L3Protocol::GetIcmpv6() const [member function]
+ cls.add_method('GetIcmpv6',
+ 'ns3::Ptr< ns3::Icmpv6L4Protocol >',
+ [],
+ is_const=True)
+ ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::AddAutoconfiguredAddress(uint32_t interface, ns3::Ipv6Address network, ns3::Ipv6Prefix mask, uint8_t flags, uint32_t validTime, uint32_t preferredTime, ns3::Ipv6Address defaultRouter=ns3::Ipv6Address::GetZero( )) [member function]
+ cls.add_method('AddAutoconfiguredAddress',
+ 'void',
+ [param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'mask'), param('uint8_t', 'flags'), param('uint32_t', 'validTime'), param('uint32_t', 'preferredTime'), param('ns3::Ipv6Address', 'defaultRouter', default_value='ns3::Ipv6Address::GetZero( )')])
+ ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::RemoveAutoconfiguredAddress(uint32_t interface, ns3::Ipv6Address network, ns3::Ipv6Prefix mask, ns3::Ipv6Address defaultRouter) [member function]
+ cls.add_method('RemoveAutoconfiguredAddress',
+ 'void',
+ [param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'mask'), param('ns3::Ipv6Address', 'defaultRouter')])
+ ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::DoDispose() [member function]
+ cls.add_method('DoDispose',
+ 'void',
+ [],
+ visibility='protected', is_virtual=True)
+ ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::NotifyNewAggregate() [member function]
+ cls.add_method('NotifyNewAggregate',
+ 'void',
+ [],
+ visibility='protected', is_virtual=True)
+ ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::SetIpForward(bool forward) [member function]
+ cls.add_method('SetIpForward',
+ 'void',
+ [param('bool', 'forward')],
+ visibility='private', is_virtual=True)
+ ## ipv6-l3-protocol.h: bool ns3::Ipv6L3Protocol::GetIpForward() const [member function]
+ cls.add_method('GetIpForward',
+ 'bool',
+ [],
+ is_const=True, visibility='private', is_virtual=True)
+ return
+
+def register_Ns3Ipv6L4Protocol_methods(root_module, cls):
+ ## ipv6-l4-protocol.h: ns3::Ipv6L4Protocol::Ipv6L4Protocol() [constructor]
+ cls.add_constructor([])
+ ## ipv6-l4-protocol.h: ns3::Ipv6L4Protocol::Ipv6L4Protocol(ns3::Ipv6L4Protocol const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::Ipv6L4Protocol const &', 'arg0')])
+ ## ipv6-l4-protocol.h: int ns3::Ipv6L4Protocol::GetProtocolNumber() const [member function]
+ cls.add_method('GetProtocolNumber',
+ 'int',
+ [],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ ## ipv6-l4-protocol.h: static ns3::TypeId ns3::Ipv6L4Protocol::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## ipv6-l4-protocol.h: ns3::Ipv6L4Protocol::RxStatus_e ns3::Ipv6L4Protocol::Receive(ns3::Ptr p, ns3::Ipv6Address const & src, ns3::Ipv6Address const & dst, ns3::Ptr incomingInterface) [member function]
+ cls.add_method('Receive',
+ 'ns3::Ipv6L4Protocol::RxStatus_e',
+ [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv6Address const &', 'src'), param('ns3::Ipv6Address const &', 'dst'), param('ns3::Ptr< ns3::Ipv6Interface >', 'incomingInterface')],
+ is_pure_virtual=True, is_virtual=True)
+ ## ipv6-l4-protocol.h: void ns3::Ipv6L4Protocol::ReceiveIcmp(ns3::Ipv6Address icmpSource, uint8_t icmpTtl, uint8_t icmpType, uint8_t icmpCode, uint32_t icmpInfo, ns3::Ipv6Address payloadSource, ns3::Ipv6Address payloadDestination, uint8_t const * payload) [member function]
+ cls.add_method('ReceiveIcmp',
+ 'void',
+ [param('ns3::Ipv6Address', 'icmpSource'), param('uint8_t', 'icmpTtl'), param('uint8_t', 'icmpType'), param('uint8_t', 'icmpCode'), param('uint32_t', 'icmpInfo'), param('ns3::Ipv6Address', 'payloadSource'), param('ns3::Ipv6Address', 'payloadDestination'), param('uint8_t const *', 'payload')],
+ is_virtual=True)
+ return
+
+def register_Ns3NdiscCache_methods(root_module, cls):
+ ## ndisc-cache.h: ns3::NdiscCache::NdiscCache() [constructor]
+ cls.add_constructor([])
+ ## ndisc-cache.h: ns3::NdiscCache::Entry * ns3::NdiscCache::Add(ns3::Ipv6Address to) [member function]
+ cls.add_method('Add',
+ 'ns3::NdiscCache::Entry *',
+ [param('ns3::Ipv6Address', 'to')])
+ ## ndisc-cache.h: void ns3::NdiscCache::Flush() [member function]
+ cls.add_method('Flush',
+ 'void',
+ [])
+ ## ndisc-cache.h: ns3::Ptr ns3::NdiscCache::GetDevice() const [member function]
+ cls.add_method('GetDevice',
+ 'ns3::Ptr< ns3::NetDevice >',
+ [],
+ is_const=True)
+ ## ndisc-cache.h: ns3::Ptr ns3::NdiscCache::GetInterface() const [member function]
+ cls.add_method('GetInterface',
+ 'ns3::Ptr< ns3::Ipv6Interface >',
+ [],
+ is_const=True)
+ ## ndisc-cache.h: static ns3::TypeId ns3::NdiscCache::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## ndisc-cache.h: uint32_t ns3::NdiscCache::GetUnresQlen() [member function]
+ cls.add_method('GetUnresQlen',
+ 'uint32_t',
+ [])
+ ## ndisc-cache.h: ns3::NdiscCache::Entry * ns3::NdiscCache::Lookup(ns3::Ipv6Address dst) [member function]
+ cls.add_method('Lookup',
+ 'ns3::NdiscCache::Entry *',
+ [param('ns3::Ipv6Address', 'dst')])
+ ## ndisc-cache.h: void ns3::NdiscCache::Remove(ns3::NdiscCache::Entry * entry) [member function]
+ cls.add_method('Remove',
+ 'void',
+ [param('ns3::NdiscCache::Entry *', 'entry')])
+ ## ndisc-cache.h: void ns3::NdiscCache::SetDevice(ns3::Ptr device, ns3::Ptr interface) [member function]
+ cls.add_method('SetDevice',
+ 'void',
+ [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Ipv6Interface >', 'interface')])
+ ## ndisc-cache.h: void ns3::NdiscCache::SetUnresQlen(uint32_t unresQlen) [member function]
+ cls.add_method('SetUnresQlen',
+ 'void',
+ [param('uint32_t', 'unresQlen')])
+ ## ndisc-cache.h: ns3::NdiscCache::DEFAULT_UNRES_QLEN [variable]
+ cls.add_static_attribute('DEFAULT_UNRES_QLEN', 'uint32_t const', is_const=True)
+ ## ndisc-cache.h: void ns3::NdiscCache::DoDispose() [member function]
+ cls.add_method('DoDispose',
+ 'void',
+ [],
+ visibility='private', is_virtual=True)
+ return
+
+def register_Ns3NdiscCacheEntry_methods(root_module, cls):
+ ## ndisc-cache.h: ns3::NdiscCache::Entry::Entry(ns3::NdiscCache::Entry const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::NdiscCache::Entry const &', 'arg0')])
+ ## ndisc-cache.h: ns3::NdiscCache::Entry::Entry(ns3::NdiscCache * nd) [constructor]
+ cls.add_constructor([param('ns3::NdiscCache *', 'nd')])
+ ## ndisc-cache.h: void ns3::NdiscCache::Entry::AddWaitingPacket(ns3::Ptr p) [member function]
+ cls.add_method('AddWaitingPacket',
+ 'void',
+ [param('ns3::Ptr< ns3::Packet >', 'p')])
+ ## ndisc-cache.h: void ns3::NdiscCache::Entry::ClearWaitingPacket() [member function]
+ cls.add_method('ClearWaitingPacket',
+ 'void',
+ [])
+ ## ndisc-cache.h: void ns3::NdiscCache::Entry::FunctionDelayTimeout() [member function]
+ cls.add_method('FunctionDelayTimeout',
+ 'void',
+ [])
+ ## ndisc-cache.h: void ns3::NdiscCache::Entry::FunctionProbeTimeout() [member function]
+ cls.add_method('FunctionProbeTimeout',
+ 'void',
+ [])
+ ## ndisc-cache.h: void ns3::NdiscCache::Entry::FunctionReachableTimeout() [member function]
+ cls.add_method('FunctionReachableTimeout',
+ 'void',
+ [])
+ ## ndisc-cache.h: void ns3::NdiscCache::Entry::FunctionRetransmitTimeout() [member function]
+ cls.add_method('FunctionRetransmitTimeout',
+ 'void',
+ [])
+ ## ndisc-cache.h: ns3::Time ns3::NdiscCache::Entry::GetLastReachabilityConfirmation() const [member function]
+ cls.add_method('GetLastReachabilityConfirmation',
+ 'ns3::Time',
+ [],
+ is_const=True)
+ ## ndisc-cache.h: ns3::Address ns3::NdiscCache::Entry::GetMacAddress() const [member function]
+ cls.add_method('GetMacAddress',
+ 'ns3::Address',
+ [],
+ is_const=True)
+ ## ndisc-cache.h: uint8_t ns3::NdiscCache::Entry::GetNSRetransmit() const [member function]
+ cls.add_method('GetNSRetransmit',
+ 'uint8_t',
+ [],
+ is_const=True)
+ ## ndisc-cache.h: void ns3::NdiscCache::Entry::IncNSRetransmit() [member function]
+ cls.add_method('IncNSRetransmit',
+ 'void',
+ [])
+ ## ndisc-cache.h: bool ns3::NdiscCache::Entry::IsDelay() const [member function]
+ cls.add_method('IsDelay',
+ 'bool',
+ [],
+ is_const=True)
+ ## ndisc-cache.h: bool ns3::NdiscCache::Entry::IsIncomplete() const [member function]
+ cls.add_method('IsIncomplete',
+ 'bool',
+ [],
+ is_const=True)
+ ## ndisc-cache.h: bool ns3::NdiscCache::Entry::IsProbe() const [member function]
+ cls.add_method('IsProbe',
+ 'bool',
+ [],
+ is_const=True)
+ ## ndisc-cache.h: bool ns3::NdiscCache::Entry::IsReachable() const [member function]
+ cls.add_method('IsReachable',
+ 'bool',
+ [],
+ is_const=True)
+ ## ndisc-cache.h: bool ns3::NdiscCache::Entry::IsRouter() const [member function]
+ cls.add_method('IsRouter',
+ 'bool',
+ [],
+ is_const=True)
+ ## ndisc-cache.h: bool ns3::NdiscCache::Entry::IsStale() const [member function]
+ cls.add_method('IsStale',
+ 'bool',
+ [],
+ is_const=True)
+ ## ndisc-cache.h: void ns3::NdiscCache::Entry::MarkDelay() [member function]
+ cls.add_method('MarkDelay',
+ 'void',
+ [])
+ ## ndisc-cache.h: void ns3::NdiscCache::Entry::MarkIncomplete(ns3::Ptr p) [member function]
+ cls.add_method('MarkIncomplete',
+ 'void',
+ [param('ns3::Ptr< ns3::Packet >', 'p')])
+ ## ndisc-cache.h: void ns3::NdiscCache::Entry::MarkProbe() [member function]
+ cls.add_method('MarkProbe',
+ 'void',
+ [])
+ ## ndisc-cache.h: std::list, std::allocator > > ns3::NdiscCache::Entry::MarkReachable(ns3::Address mac) [member function]
+ cls.add_method('MarkReachable',
+ 'std::list< ns3::Ptr< ns3::Packet > >',
+ [param('ns3::Address', 'mac')])
+ ## ndisc-cache.h: void ns3::NdiscCache::Entry::MarkReachable() [member function]
+ cls.add_method('MarkReachable',
+ 'void',
+ [])
+ ## ndisc-cache.h: std::list, std::allocator > > ns3::NdiscCache::Entry::MarkStale(ns3::Address mac) [member function]
+ cls.add_method('MarkStale',
+ 'std::list< ns3::Ptr< ns3::Packet > >',
+ [param('ns3::Address', 'mac')])
+ ## ndisc-cache.h: void ns3::NdiscCache::Entry::MarkStale() [member function]
+ cls.add_method('MarkStale',
+ 'void',
+ [])
+ ## ndisc-cache.h: void ns3::NdiscCache::Entry::ResetNSRetransmit() [member function]
+ cls.add_method('ResetNSRetransmit',
+ 'void',
+ [])
+ ## ndisc-cache.h: void ns3::NdiscCache::Entry::SetIpv6Address(ns3::Ipv6Address ipv6Address) [member function]
+ cls.add_method('SetIpv6Address',
+ 'void',
+ [param('ns3::Ipv6Address', 'ipv6Address')])
+ ## ndisc-cache.h: void ns3::NdiscCache::Entry::SetMacAddress(ns3::Address mac) [member function]
+ cls.add_method('SetMacAddress',
+ 'void',
+ [param('ns3::Address', 'mac')])
+ ## ndisc-cache.h: void ns3::NdiscCache::Entry::SetRouter(bool router) [member function]
+ cls.add_method('SetRouter',
+ 'void',
+ [param('bool', 'router')])
+ ## ndisc-cache.h: void ns3::NdiscCache::Entry::StartDelayTimer() [member function]
+ cls.add_method('StartDelayTimer',
+ 'void',
+ [])
+ ## ndisc-cache.h: void ns3::NdiscCache::Entry::StartProbeTimer() [member function]
+ cls.add_method('StartProbeTimer',
+ 'void',
+ [])
+ ## ndisc-cache.h: void ns3::NdiscCache::Entry::StartReachableTimer() [member function]
+ cls.add_method('StartReachableTimer',
+ 'void',
+ [])
+ ## ndisc-cache.h: void ns3::NdiscCache::Entry::StartRetransmitTimer() [member function]
+ cls.add_method('StartRetransmitTimer',
+ 'void',
+ [])
+ ## ndisc-cache.h: void ns3::NdiscCache::Entry::StopDelayTimer() [member function]
+ cls.add_method('StopDelayTimer',
+ 'void',
+ [])
+ ## ndisc-cache.h: void ns3::NdiscCache::Entry::StopProbeTimer() [member function]
+ cls.add_method('StopProbeTimer',
+ 'void',
+ [])
+ ## ndisc-cache.h: void ns3::NdiscCache::Entry::StopReachableTimer() [member function]
+ cls.add_method('StopReachableTimer',
+ 'void',
+ [])
+ ## ndisc-cache.h: void ns3::NdiscCache::Entry::StopRetransmitTimer() [member function]
+ cls.add_method('StopRetransmitTimer',
+ 'void',
+ [])
+ ## ndisc-cache.h: void ns3::NdiscCache::Entry::UpdateLastReachabilityconfirmation() [member function]
+ cls.add_method('UpdateLastReachabilityconfirmation',
+ 'void',
+ [])
+ return
+
def register_Ns3TcpL4Protocol_methods(root_module, cls):
## tcp-l4-protocol.h: ns3::TcpL4Protocol::PROT_NUMBER [variable]
cls.add_static_attribute('PROT_NUMBER', 'uint8_t const', is_const=True)
@@ -2178,11 +2648,185 @@ def register_Ns3Icmpv4L4Protocol_methods(root_module, cls):
visibility='private', is_virtual=True)
return
+def register_Ns3Icmpv6L4Protocol_methods(root_module, cls):
+ ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::Icmpv6L4Protocol(ns3::Icmpv6L4Protocol const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::Icmpv6L4Protocol const &', 'arg0')])
+ ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::Icmpv6L4Protocol() [constructor]
+ cls.add_constructor([])
+ ## icmpv6-l4-protocol.h: ns3::Ptr ns3::Icmpv6L4Protocol::CreateCache(ns3::Ptr device, ns3::Ptr interface) [member function]
+ cls.add_method('CreateCache',
+ 'ns3::Ptr< ns3::NdiscCache >',
+ [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Ipv6Interface >', 'interface')])
+ ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::DoDAD(ns3::Ipv6Address target, ns3::Ptr interface) [member function]
+ cls.add_method('DoDAD',
+ 'void',
+ [param('ns3::Ipv6Address', 'target'), param('ns3::Ptr< ns3::Ipv6Interface >', 'interface')])
+ ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::DoDad(ns3::Ipv6Address addr, ns3::Ptr interface) [member function]
+ cls.add_method('DoDad',
+ 'void',
+ [param('ns3::Ipv6Address', 'addr'), param('ns3::Ptr< ns3::Ipv6Interface >', 'interface')])
+ ## icmpv6-l4-protocol.h: ns3::Ptr ns3::Icmpv6L4Protocol::ForgeEchoRequest(ns3::Ipv6Address src, ns3::Ipv6Address dst, uint16_t id, uint16_t seq, ns3::Ptr data) [member function]
+ cls.add_method('ForgeEchoRequest',
+ 'ns3::Ptr< ns3::Packet >',
+ [param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('uint16_t', 'id'), param('uint16_t', 'seq'), param('ns3::Ptr< ns3::Packet >', 'data')])
+ ## icmpv6-l4-protocol.h: ns3::Ptr ns3::Icmpv6L4Protocol::ForgeNA(ns3::Ipv6Address src, ns3::Ipv6Address dst, ns3::Address * hardwareAddress, uint8_t flags) [member function]
+ cls.add_method('ForgeNA',
+ 'ns3::Ptr< ns3::Packet >',
+ [param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('ns3::Address *', 'hardwareAddress'), param('uint8_t', 'flags')])
+ ## icmpv6-l4-protocol.h: ns3::Ptr ns3::Icmpv6L4Protocol::ForgeNS(ns3::Ipv6Address src, ns3::Ipv6Address dst, ns3::Ipv6Address target, ns3::Address hardwareAddress) [member function]
+ cls.add_method('ForgeNS',
+ 'ns3::Ptr< ns3::Packet >',
+ [param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('ns3::Ipv6Address', 'target'), param('ns3::Address', 'hardwareAddress')])
+ ## icmpv6-l4-protocol.h: ns3::Ptr ns3::Icmpv6L4Protocol::ForgeRS(ns3::Ipv6Address src, ns3::Ipv6Address dst, ns3::Address hardwareAddress) [member function]
+ cls.add_method('ForgeRS',
+ 'ns3::Ptr< ns3::Packet >',
+ [param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('ns3::Address', 'hardwareAddress')])
+ ## icmpv6-l4-protocol.h: static void ns3::Icmpv6L4Protocol::FunctionDadTimeout(ns3::Ptr icmpv6, ns3::Ipv6Interface * interface, ns3::Ipv6Address addr) [member function]
+ cls.add_method('FunctionDadTimeout',
+ 'void',
+ [param('ns3::Ptr< ns3::Icmpv6L4Protocol >', 'icmpv6'), param('ns3::Ipv6Interface *', 'interface'), param('ns3::Ipv6Address', 'addr')],
+ is_static=True)
+ ## icmpv6-l4-protocol.h: int ns3::Icmpv6L4Protocol::GetProtocolNumber() const [member function]
+ cls.add_method('GetProtocolNumber',
+ 'int',
+ [],
+ is_const=True, is_virtual=True)
+ ## icmpv6-l4-protocol.h: static uint16_t ns3::Icmpv6L4Protocol::GetStaticProtocolNumber() [member function]
+ cls.add_method('GetStaticProtocolNumber',
+ 'uint16_t',
+ [],
+ is_static=True)
+ ## icmpv6-l4-protocol.h: static ns3::TypeId ns3::Icmpv6L4Protocol::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## icmpv6-l4-protocol.h: int ns3::Icmpv6L4Protocol::GetVersion() const [member function]
+ cls.add_method('GetVersion',
+ 'int',
+ [],
+ is_const=True, is_virtual=True)
+ ## icmpv6-l4-protocol.h: bool ns3::Icmpv6L4Protocol::IsAlwaysDad() const [member function]
+ cls.add_method('IsAlwaysDad',
+ 'bool',
+ [],
+ is_const=True)
+ ## icmpv6-l4-protocol.h: bool ns3::Icmpv6L4Protocol::Lookup(ns3::Ipv6Address dst, ns3::Ptr device, ns3::Ptr cache, ns3::Address * hardwareDestination) [member function]
+ cls.add_method('Lookup',
+ 'bool',
+ [param('ns3::Ipv6Address', 'dst'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::NdiscCache >', 'cache'), param('ns3::Address *', 'hardwareDestination')])
+ ## icmpv6-l4-protocol.h: bool ns3::Icmpv6L4Protocol::Lookup(ns3::Ptr p, ns3::Ipv6Address dst, ns3::Ptr device, ns3::Ptr cache, ns3::Address * hardwareDestination) [member function]
+ cls.add_method('Lookup',
+ 'bool',
+ [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv6Address', 'dst'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::NdiscCache >', 'cache'), param('ns3::Address *', 'hardwareDestination')])
+ ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::NotifyNewAggregate() [member function]
+ cls.add_method('NotifyNewAggregate',
+ 'void',
+ [],
+ is_virtual=True)
+ ## icmpv6-l4-protocol.h: ns3::Ipv6L4Protocol::RxStatus_e ns3::Icmpv6L4Protocol::Receive(ns3::Ptr p, ns3::Ipv6Address const & src, ns3::Ipv6Address const & dst, ns3::Ptr interface) [member function]
+ cls.add_method('Receive',
+ 'ns3::Ipv6L4Protocol::RxStatus_e',
+ [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv6Address const &', 'src'), param('ns3::Ipv6Address const &', 'dst'), param('ns3::Ptr< ns3::Ipv6Interface >', 'interface')],
+ is_virtual=True)
+ ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendEchoReply(ns3::Ipv6Address src, ns3::Ipv6Address dst, uint16_t id, uint16_t seq, ns3::Ptr data) [member function]
+ cls.add_method('SendEchoReply',
+ 'void',
+ [param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('uint16_t', 'id'), param('uint16_t', 'seq'), param('ns3::Ptr< ns3::Packet >', 'data')])
+ ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendErrorDestinationUnreachable(ns3::Ptr malformedPacket, ns3::Ipv6Address dst, uint8_t code) [member function]
+ cls.add_method('SendErrorDestinationUnreachable',
+ 'void',
+ [param('ns3::Ptr< ns3::Packet >', 'malformedPacket'), param('ns3::Ipv6Address', 'dst'), param('uint8_t', 'code')])
+ ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendErrorParameterError(ns3::Ptr malformedPacket, ns3::Ipv6Address dst, uint8_t code, uint32_t ptr) [member function]
+ cls.add_method('SendErrorParameterError',
+ 'void',
+ [param('ns3::Ptr< ns3::Packet >', 'malformedPacket'), param('ns3::Ipv6Address', 'dst'), param('uint8_t', 'code'), param('uint32_t', 'ptr')])
+ ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendErrorTimeExceeded(ns3::Ptr malformedPacket, ns3::Ipv6Address dst, uint8_t code) [member function]
+ cls.add_method('SendErrorTimeExceeded',
+ 'void',
+ [param('ns3::Ptr< ns3::Packet >', 'malformedPacket'), param('ns3::Ipv6Address', 'dst'), param('uint8_t', 'code')])
+ ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendErrorTooBig(ns3::Ptr malformedPacket, ns3::Ipv6Address dst, uint32_t mtu) [member function]
+ cls.add_method('SendErrorTooBig',
+ 'void',
+ [param('ns3::Ptr< ns3::Packet >', 'malformedPacket'), param('ns3::Ipv6Address', 'dst'), param('uint32_t', 'mtu')])
+ ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendMessage(ns3::Ptr packet, ns3::Ipv6Address src, ns3::Ipv6Address dst, uint8_t ttl) [member function]
+ cls.add_method('SendMessage',
+ 'void',
+ [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('uint8_t', 'ttl')])
+ ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendMessage(ns3::Ptr packet, ns3::Ipv6Address dst, ns3::Icmpv6Header & icmpv6Hdr, uint8_t ttl) [member function]
+ cls.add_method('SendMessage',
+ 'void',
+ [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv6Address', 'dst'), param('ns3::Icmpv6Header &', 'icmpv6Hdr'), param('uint8_t', 'ttl')])
+ ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendNA(ns3::Ipv6Address src, ns3::Ipv6Address dst, ns3::Address * hardwareAddress, uint8_t flags) [member function]
+ cls.add_method('SendNA',
+ 'void',
+ [param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('ns3::Address *', 'hardwareAddress'), param('uint8_t', 'flags')])
+ ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendNS(ns3::Ipv6Address src, ns3::Ipv6Address dst, ns3::Ipv6Address target, ns3::Address hardwareAddress) [member function]
+ cls.add_method('SendNS',
+ 'void',
+ [param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('ns3::Ipv6Address', 'target'), param('ns3::Address', 'hardwareAddress')])
+ ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendRS(ns3::Ipv6Address src, ns3::Ipv6Address dst, ns3::Address hardwareAddress) [member function]
+ cls.add_method('SendRS',
+ 'void',
+ [param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('ns3::Address', 'hardwareAddress')])
+ ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendRedirection(ns3::Ptr redirectedPacket, ns3::Ipv6Address dst, ns3::Ipv6Address redirTarget, ns3::Ipv6Address redirDestination, ns3::Address redirHardwareTarget) [member function]
+ cls.add_method('SendRedirection',
+ 'void',
+ [param('ns3::Ptr< ns3::Packet >', 'redirectedPacket'), param('ns3::Ipv6Address', 'dst'), param('ns3::Ipv6Address', 'redirTarget'), param('ns3::Ipv6Address', 'redirDestination'), param('ns3::Address', 'redirHardwareTarget')])
+ ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SetNode(ns3::Ptr node) [member function]
+ cls.add_method('SetNode',
+ 'void',
+ [param('ns3::Ptr< ns3::Node >', 'node')])
+ ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::DELAY_FIRST_PROBE_TIME [variable]
+ cls.add_static_attribute('DELAY_FIRST_PROBE_TIME', 'uint8_t const', is_const=True)
+ ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_ANYCAST_DELAY_TIME [variable]
+ cls.add_static_attribute('MAX_ANYCAST_DELAY_TIME', 'uint8_t const', is_const=True)
+ ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_FINAL_RTR_ADVERTISEMENTS [variable]
+ cls.add_static_attribute('MAX_FINAL_RTR_ADVERTISEMENTS', 'uint8_t const', is_const=True)
+ ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_INITIAL_RTR_ADVERTISEMENTS [variable]
+ cls.add_static_attribute('MAX_INITIAL_RTR_ADVERTISEMENTS', 'uint8_t const', is_const=True)
+ ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_INITIAL_RTR_ADVERT_INTERVAL [variable]
+ cls.add_static_attribute('MAX_INITIAL_RTR_ADVERT_INTERVAL', 'uint8_t const', is_const=True)
+ ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_MULTICAST_SOLICIT [variable]
+ cls.add_static_attribute('MAX_MULTICAST_SOLICIT', 'uint8_t const', is_const=True)
+ ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_NEIGHBOR_ADVERTISEMENT [variable]
+ cls.add_static_attribute('MAX_NEIGHBOR_ADVERTISEMENT', 'uint8_t const', is_const=True)
+ ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_RANDOM_FACTOR [variable]
+ cls.add_static_attribute('MAX_RANDOM_FACTOR', 'double const', is_const=True)
+ ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_RA_DELAY_TIME [variable]
+ cls.add_static_attribute('MAX_RA_DELAY_TIME', 'uint32_t const', is_const=True)
+ ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_RTR_SOLICITATIONS [variable]
+ cls.add_static_attribute('MAX_RTR_SOLICITATIONS', 'uint8_t const', is_const=True)
+ ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_RTR_SOLICITATION_DELAY [variable]
+ cls.add_static_attribute('MAX_RTR_SOLICITATION_DELAY', 'uint8_t const', is_const=True)
+ ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_UNICAST_SOLICIT [variable]
+ cls.add_static_attribute('MAX_UNICAST_SOLICIT', 'uint8_t const', is_const=True)
+ ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MIN_DELAY_BETWEEN_RAS [variable]
+ cls.add_static_attribute('MIN_DELAY_BETWEEN_RAS', 'uint8_t const', is_const=True)
+ ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MIN_RANDOM_FACTOR [variable]
+ cls.add_static_attribute('MIN_RANDOM_FACTOR', 'double const', is_const=True)
+ ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::PROT_NUMBER [variable]
+ cls.add_static_attribute('PROT_NUMBER', 'uint8_t const', is_const=True)
+ ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::REACHABLE_TIME [variable]
+ cls.add_static_attribute('REACHABLE_TIME', 'uint32_t const', is_const=True)
+ ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::RETRANS_TIMER [variable]
+ cls.add_static_attribute('RETRANS_TIMER', 'uint32_t const', is_const=True)
+ ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::RTR_SOLICITATION_INTERVAL [variable]
+ cls.add_static_attribute('RTR_SOLICITATION_INTERVAL', 'uint8_t const', is_const=True)
+ ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::DoDispose() [member function]
+ cls.add_method('DoDispose',
+ 'void',
+ [],
+ visibility='protected', is_virtual=True)
+ return
+
def register_functions(root_module):
module = root_module
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
+ register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
+ register_functions_ns3_flame(module.get_submodule('flame'), root_module)
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
return
@@ -2196,6 +2840,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
def register_functions_ns3_addressUtils(module, root_module):
return
+def register_functions_ns3_dot11s(module, root_module):
+ return
+
+def register_functions_ns3_flame(module, root_module):
+ return
+
def register_functions_ns3_internal(module, root_module):
return
diff --git a/bindings/python/ns3_module_list_routing.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_list_routing.py
similarity index 95%
rename from bindings/python/ns3_module_list_routing.py
rename to bindings/python/apidefs/gcc-ILP32/ns3_module_list_routing.py
index 83a246a33..36415514e 100644
--- a/bindings/python/ns3_module_list_routing.py
+++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_list_routing.py
@@ -26,6 +26,18 @@ def register_types(module):
register_types_ns3_addressUtils(nested_module)
+ ## Register a nested module for the namespace dot11s
+
+ nested_module = module.add_cpp_namespace('dot11s')
+ register_types_ns3_dot11s(nested_module)
+
+
+ ## Register a nested module for the namespace flame
+
+ nested_module = module.add_cpp_namespace('flame')
+ register_types_ns3_flame(nested_module)
+
+
## Register a nested module for the namespace internal
nested_module = module.add_cpp_namespace('internal')
@@ -50,6 +62,14 @@ def register_types_ns3_addressUtils(module):
root_module = module.get_root()
+def register_types_ns3_dot11s(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_flame(module):
+ root_module = module.get_root()
+
+
def register_types_ns3_internal(module):
root_module = module.get_root()
@@ -212,6 +232,8 @@ def register_functions(root_module):
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
+ register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
+ register_functions_ns3_flame(module.get_submodule('flame'), root_module)
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
return
@@ -225,6 +247,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
def register_functions_ns3_addressUtils(module, root_module):
return
+def register_functions_ns3_dot11s(module, root_module):
+ return
+
+def register_functions_ns3_flame(module, root_module):
+ return
+
def register_functions_ns3_internal(module, root_module):
return
diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_mesh.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_mesh.py
new file mode 100644
index 000000000..e4e3ce76d
--- /dev/null
+++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_mesh.py
@@ -0,0 +1,727 @@
+from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
+
+def register_types(module):
+ root_module = module.get_root()
+
+ ## wifi-information-element-vector.h: ns3::WifiElementId [enumeration]
+ module.add_enum('WifiElementId', ['IE11S_MESH_CONFIGURATION', 'IE11S_MESH_ID', 'IE11S_LINK_METRIC_REPORT', 'IE11S_CONGESTION_NOTIFICATION', 'IE11S_PEERING_MANAGEMENT', 'IE11S_SUPP_MBSS_REG_CLASSES_CHANNELS', 'IE11S_MESH_CHANNEL_SWITCH_ANNOUNCEMENT', 'IE11S_MESH_TIM', 'IE11S_AWAKE_WINDOW', 'IE11S_BEACON_TIMING', 'IE11S_MCCAOP_SETUP_REQUEST', 'IE11S_MCCAOP_SETUP_REPLY', 'IE11S_MCCAOP_ADVERTISEMENT', 'IE11S_MCCAOP_RESERVATION_TEARDOWN', 'IE11S_PORTAL_ANNOUNCEMENT', 'IE11S_RANN', 'IE11S_PREQ', 'IE11S_PREP', 'IE11S_PERR', 'IE11S_PROXY_UPDATE', 'IE11S_PROXY_UPDATE_CONFIRMATION', 'IE11S_ABBREVIATED_HANDSHAKE', 'IE11S_MESH_PEERING_PROTOCOL_VERSION'])
+ ## mesh-wifi-beacon.h: ns3::MeshWifiBeacon [class]
+ module.add_class('MeshWifiBeacon')
+ ## wifi-information-element-vector.h: ns3::WifiInformationElement [class]
+ module.add_class('WifiInformationElement', parent=root_module['ns3::RefCountBase'])
+ ## mesh-wifi-interface-mac-plugin.h: ns3::MeshWifiInterfaceMacPlugin [class]
+ module.add_class('MeshWifiInterfaceMacPlugin', parent=root_module['ns3::RefCountBase'])
+ ## wifi-information-element-vector.h: ns3::WifiInformationElementVector [class]
+ module.add_class('WifiInformationElementVector', parent=root_module['ns3::Header'])
+ ## mesh-l2-routing-protocol.h: ns3::MeshL2RoutingProtocol [class]
+ module.add_class('MeshL2RoutingProtocol', parent=root_module['ns3::Object'])
+ ## mesh-wifi-interface-mac.h: ns3::MeshWifiInterfaceMac [class]
+ module.add_class('MeshWifiInterfaceMac', parent=root_module['ns3::WifiMac'])
+ ## mesh-point-device.h: ns3::MeshPointDevice [class]
+ module.add_class('MeshPointDevice', parent=root_module['ns3::NetDevice'])
+
+ ## Register a nested module for the namespace Config
+
+ nested_module = module.add_cpp_namespace('Config')
+ register_types_ns3_Config(nested_module)
+
+
+ ## Register a nested module for the namespace TimeStepPrecision
+
+ nested_module = module.add_cpp_namespace('TimeStepPrecision')
+ register_types_ns3_TimeStepPrecision(nested_module)
+
+
+ ## Register a nested module for the namespace addressUtils
+
+ nested_module = module.add_cpp_namespace('addressUtils')
+ register_types_ns3_addressUtils(nested_module)
+
+
+ ## Register a nested module for the namespace dot11s
+
+ nested_module = module.add_cpp_namespace('dot11s')
+ register_types_ns3_dot11s(nested_module)
+
+
+ ## Register a nested module for the namespace flame
+
+ nested_module = module.add_cpp_namespace('flame')
+ register_types_ns3_flame(nested_module)
+
+
+ ## Register a nested module for the namespace internal
+
+ nested_module = module.add_cpp_namespace('internal')
+ register_types_ns3_internal(nested_module)
+
+
+ ## Register a nested module for the namespace olsr
+
+ nested_module = module.add_cpp_namespace('olsr')
+ register_types_ns3_olsr(nested_module)
+
+
+def register_types_ns3_Config(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_TimeStepPrecision(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_addressUtils(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_dot11s(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_flame(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_internal(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_olsr(module):
+ root_module = module.get_root()
+
+
+def register_methods(root_module):
+ register_Ns3MeshWifiBeacon_methods(root_module, root_module['ns3::MeshWifiBeacon'])
+ register_Ns3WifiInformationElement_methods(root_module, root_module['ns3::WifiInformationElement'])
+ register_Ns3MeshWifiInterfaceMacPlugin_methods(root_module, root_module['ns3::MeshWifiInterfaceMacPlugin'])
+ register_Ns3WifiInformationElementVector_methods(root_module, root_module['ns3::WifiInformationElementVector'])
+ register_Ns3MeshL2RoutingProtocol_methods(root_module, root_module['ns3::MeshL2RoutingProtocol'])
+ register_Ns3MeshWifiInterfaceMac_methods(root_module, root_module['ns3::MeshWifiInterfaceMac'])
+ register_Ns3MeshPointDevice_methods(root_module, root_module['ns3::MeshPointDevice'])
+ return
+
+def register_Ns3MeshWifiBeacon_methods(root_module, cls):
+ ## mesh-wifi-beacon.h: ns3::MeshWifiBeacon::MeshWifiBeacon(ns3::MeshWifiBeacon const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::MeshWifiBeacon const &', 'arg0')])
+ ## mesh-wifi-beacon.h: ns3::MeshWifiBeacon::MeshWifiBeacon(ns3::Ssid ssid, ns3::SupportedRates rates, uint64_t us) [constructor]
+ cls.add_constructor([param('ns3::Ssid', 'ssid'), param('ns3::SupportedRates', 'rates'), param('uint64_t', 'us')])
+ ## mesh-wifi-beacon.h: void ns3::MeshWifiBeacon::AddInformationElement(ns3::Ptr ie) [member function]
+ cls.add_method('AddInformationElement',
+ 'void',
+ [param('ns3::Ptr< ns3::WifiInformationElement >', 'ie')])
+ ## mesh-wifi-beacon.h: ns3::MgtBeaconHeader ns3::MeshWifiBeacon::BeaconHeader() const [member function]
+ cls.add_method('BeaconHeader',
+ 'ns3::MgtBeaconHeader',
+ [],
+ is_const=True)
+ ## mesh-wifi-beacon.h: ns3::WifiMacHeader ns3::MeshWifiBeacon::CreateHeader(ns3::Mac48Address address, ns3::Mac48Address mpAddress) [member function]
+ cls.add_method('CreateHeader',
+ 'ns3::WifiMacHeader',
+ [param('ns3::Mac48Address', 'address'), param('ns3::Mac48Address', 'mpAddress')])
+ ## mesh-wifi-beacon.h: ns3::Ptr ns3::MeshWifiBeacon::CreatePacket() [member function]
+ cls.add_method('CreatePacket',
+ 'ns3::Ptr< ns3::Packet >',
+ [])
+ return
+
+def register_Ns3WifiInformationElement_methods(root_module, cls):
+ cls.add_binary_comparison_operator('<')
+ cls.add_binary_comparison_operator('==')
+ ## wifi-information-element-vector.h: ns3::WifiInformationElement::WifiInformationElement() [constructor]
+ cls.add_constructor([])
+ ## wifi-information-element-vector.h: ns3::WifiInformationElement::WifiInformationElement(ns3::WifiInformationElement const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::WifiInformationElement const &', 'arg0')])
+ ## wifi-information-element-vector.h: uint8_t ns3::WifiInformationElement::DeserializeInformation(ns3::Buffer::Iterator start, uint8_t length) [member function]
+ cls.add_method('DeserializeInformation',
+ 'uint8_t',
+ [param('ns3::Buffer::Iterator', 'start'), param('uint8_t', 'length')],
+ is_pure_virtual=True, is_virtual=True)
+ ## wifi-information-element-vector.h: ns3::WifiElementId ns3::WifiInformationElement::ElementId() const [member function]
+ cls.add_method('ElementId',
+ 'ns3::WifiElementId',
+ [],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ ## wifi-information-element-vector.h: uint8_t ns3::WifiInformationElement::GetInformationSize() const [member function]
+ cls.add_method('GetInformationSize',
+ 'uint8_t',
+ [],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ ## wifi-information-element-vector.h: void ns3::WifiInformationElement::Print(std::ostream & os) const [member function]
+ cls.add_method('Print',
+ 'void',
+ [param('std::ostream &', 'os')],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ ## wifi-information-element-vector.h: void ns3::WifiInformationElement::SerializeInformation(ns3::Buffer::Iterator start) const [member function]
+ cls.add_method('SerializeInformation',
+ 'void',
+ [param('ns3::Buffer::Iterator', 'start')],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ return
+
+def register_Ns3MeshWifiInterfaceMacPlugin_methods(root_module, cls):
+ ## mesh-wifi-interface-mac-plugin.h: ns3::MeshWifiInterfaceMacPlugin::MeshWifiInterfaceMacPlugin() [constructor]
+ cls.add_constructor([])
+ ## mesh-wifi-interface-mac-plugin.h: ns3::MeshWifiInterfaceMacPlugin::MeshWifiInterfaceMacPlugin(ns3::MeshWifiInterfaceMacPlugin const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::MeshWifiInterfaceMacPlugin const &', 'arg0')])
+ ## mesh-wifi-interface-mac-plugin.h: bool ns3::MeshWifiInterfaceMacPlugin::Receive(ns3::Ptr packet, ns3::WifiMacHeader const & header) [member function]
+ cls.add_method('Receive',
+ 'bool',
+ [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader const &', 'header')],
+ is_pure_virtual=True, is_virtual=True)
+ ## mesh-wifi-interface-mac-plugin.h: void ns3::MeshWifiInterfaceMacPlugin::SetParent(ns3::Ptr parent) [member function]
+ cls.add_method('SetParent',
+ 'void',
+ [param('ns3::Ptr< ns3::MeshWifiInterfaceMac >', 'parent')],
+ is_pure_virtual=True, is_virtual=True)
+ ## mesh-wifi-interface-mac-plugin.h: void ns3::MeshWifiInterfaceMacPlugin::UpdateBeacon(ns3::MeshWifiBeacon & beacon) const [member function]
+ cls.add_method('UpdateBeacon',
+ 'void',
+ [param('ns3::MeshWifiBeacon &', 'beacon')],
+ is_pure_virtual=True, is_const=True, is_virtual=True)
+ ## mesh-wifi-interface-mac-plugin.h: bool ns3::MeshWifiInterfaceMacPlugin::UpdateOutcomingFrame(ns3::Ptr packet, ns3::WifiMacHeader & header, ns3::Mac48Address from, ns3::Mac48Address to) [member function]
+ cls.add_method('UpdateOutcomingFrame',
+ 'bool',
+ [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader &', 'header'), param('ns3::Mac48Address', 'from'), param('ns3::Mac48Address', 'to')],
+ is_pure_virtual=True, is_virtual=True)
+ return
+
+def register_Ns3WifiInformationElementVector_methods(root_module, cls):
+ cls.add_binary_comparison_operator('==')
+ ## wifi-information-element-vector.h: ns3::WifiInformationElementVector::WifiInformationElementVector(ns3::WifiInformationElementVector const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::WifiInformationElementVector const &', 'arg0')])
+ ## wifi-information-element-vector.h: ns3::WifiInformationElementVector::WifiInformationElementVector() [constructor]
+ cls.add_constructor([])
+ ## wifi-information-element-vector.h: bool ns3::WifiInformationElementVector::AddInformationElement(ns3::Ptr element) [member function]
+ cls.add_method('AddInformationElement',
+ 'bool',
+ [param('ns3::Ptr< ns3::WifiInformationElement >', 'element')])
+ ## wifi-information-element-vector.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::WifiInformationElementVector::Begin() [member function]
+ cls.add_method('Begin',
+ '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::WifiInformationElement >, std::vector< ns3::Ptr< ns3::WifiInformationElement > > >',
+ [])
+ ## wifi-information-element-vector.h: uint32_t ns3::WifiInformationElementVector::Deserialize(ns3::Buffer::Iterator start) [member function]
+ cls.add_method('Deserialize',
+ 'uint32_t',
+ [param('ns3::Buffer::Iterator', 'start')],
+ is_virtual=True)
+ ## wifi-information-element-vector.h: uint32_t ns3::WifiInformationElementVector::DeserializeSingleIe(ns3::Buffer::Iterator start) [member function]
+ cls.add_method('DeserializeSingleIe',
+ 'uint32_t',
+ [param('ns3::Buffer::Iterator', 'start')],
+ is_virtual=True)
+ ## wifi-information-element-vector.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::WifiInformationElementVector::End() [member function]
+ cls.add_method('End',
+ '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::WifiInformationElement >, std::vector< ns3::Ptr< ns3::WifiInformationElement > > >',
+ [])
+ ## wifi-information-element-vector.h: ns3::Ptr ns3::WifiInformationElementVector::FindFirst(ns3::WifiElementId id) const [member function]
+ cls.add_method('FindFirst',
+ 'ns3::Ptr< ns3::WifiInformationElement >',
+ [param('ns3::WifiElementId', 'id')],
+ is_const=True)
+ ## wifi-information-element-vector.h: ns3::TypeId ns3::WifiInformationElementVector::GetInstanceTypeId() const [member function]
+ cls.add_method('GetInstanceTypeId',
+ 'ns3::TypeId',
+ [],
+ is_const=True, is_virtual=True)
+ ## wifi-information-element-vector.h: uint32_t ns3::WifiInformationElementVector::GetSerializedSize() const [member function]
+ cls.add_method('GetSerializedSize',
+ 'uint32_t',
+ [],
+ is_const=True, is_virtual=True)
+ ## wifi-information-element-vector.h: static ns3::TypeId ns3::WifiInformationElementVector::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## wifi-information-element-vector.h: void ns3::WifiInformationElementVector::Print(std::ostream & os) const [member function]
+ cls.add_method('Print',
+ 'void',
+ [param('std::ostream &', 'os')],
+ is_const=True, is_virtual=True)
+ ## wifi-information-element-vector.h: void ns3::WifiInformationElementVector::Serialize(ns3::Buffer::Iterator start) const [member function]
+ cls.add_method('Serialize',
+ 'void',
+ [param('ns3::Buffer::Iterator', 'start')],
+ is_const=True, is_virtual=True)
+ ## wifi-information-element-vector.h: void ns3::WifiInformationElementVector::SetMaxSize(uint16_t size) [member function]
+ cls.add_method('SetMaxSize',
+ 'void',
+ [param('uint16_t', 'size')])
+ return
+
+def register_Ns3MeshL2RoutingProtocol_methods(root_module, cls):
+ ## mesh-l2-routing-protocol.h: ns3::MeshL2RoutingProtocol::MeshL2RoutingProtocol() [constructor]
+ cls.add_constructor([])
+ ## mesh-l2-routing-protocol.h: ns3::MeshL2RoutingProtocol::MeshL2RoutingProtocol(ns3::MeshL2RoutingProtocol const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::MeshL2RoutingProtocol const &', 'arg0')])
+ ## mesh-l2-routing-protocol.h: ns3::Ptr ns3::MeshL2RoutingProtocol::GetMeshPoint() const [member function]
+ cls.add_method('GetMeshPoint',
+ 'ns3::Ptr< ns3::MeshPointDevice >',
+ [],
+ is_const=True)
+ ## mesh-l2-routing-protocol.h: static ns3::TypeId ns3::MeshL2RoutingProtocol::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## mesh-l2-routing-protocol.h: bool ns3::MeshL2RoutingProtocol::RemoveRoutingStuff(uint32_t fromIface, ns3::Mac48Address const source, ns3::Mac48Address const destination, ns3::Ptr packet, uint16_t & protocolType) [member function]
+ cls.add_method('RemoveRoutingStuff',
+ 'bool',
+ [param('uint32_t', 'fromIface'), param('ns3::Mac48Address const', 'source'), param('ns3::Mac48Address const', 'destination'), param('ns3::Ptr< ns3::Packet >', 'packet'), param('uint16_t &', 'protocolType')],
+ is_pure_virtual=True, is_virtual=True)
+ ## mesh-l2-routing-protocol.h: bool ns3::MeshL2RoutingProtocol::RequestRoute(uint32_t sourceIface, ns3::Mac48Address const source, ns3::Mac48Address const destination, ns3::Ptr packet, uint16_t protocolType, ns3::Callback, ns3::Mac48Address, ns3::Mac48Address, unsigned short, unsigned int, ns3::empty, ns3::empty, ns3::empty> routeReply) [member function]
+ cls.add_method('RequestRoute',
+ 'bool',
+ [param('uint32_t', 'sourceIface'), param('ns3::Mac48Address const', 'source'), param('ns3::Mac48Address const', 'destination'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocolType'), param('ns3::Callback< void, bool, ns3::Ptr< ns3::Packet >, ns3::Mac48Address, ns3::Mac48Address, unsigned short, unsigned int, ns3::empty, ns3::empty, ns3::empty >', 'routeReply')],
+ is_pure_virtual=True, is_virtual=True)
+ ## mesh-l2-routing-protocol.h: void ns3::MeshL2RoutingProtocol::SetMeshPoint(ns3::Ptr mp) [member function]
+ cls.add_method('SetMeshPoint',
+ 'void',
+ [param('ns3::Ptr< ns3::MeshPointDevice >', 'mp')])
+ return
+
+def register_Ns3MeshWifiInterfaceMac_methods(root_module, cls):
+ ## mesh-wifi-interface-mac.h: ns3::MeshWifiInterfaceMac::MeshWifiInterfaceMac(ns3::MeshWifiInterfaceMac const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::MeshWifiInterfaceMac const &', 'arg0')])
+ ## mesh-wifi-interface-mac.h: ns3::MeshWifiInterfaceMac::MeshWifiInterfaceMac() [constructor]
+ cls.add_constructor([])
+ ## mesh-wifi-interface-mac.h: bool ns3::MeshWifiInterfaceMac::CheckSupportedRates(ns3::SupportedRates rates) const [member function]
+ cls.add_method('CheckSupportedRates',
+ 'bool',
+ [param('ns3::SupportedRates', 'rates')],
+ is_const=True)
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::Enqueue(ns3::Ptr packet, ns3::Mac48Address to, ns3::Mac48Address from) [member function]
+ cls.add_method('Enqueue',
+ 'void',
+ [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'to'), param('ns3::Mac48Address', 'from')],
+ is_virtual=True)
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::Enqueue(ns3::Ptr packet, ns3::Mac48Address to) [member function]
+ cls.add_method('Enqueue',
+ 'void',
+ [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'to')],
+ is_virtual=True)
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::FinishConfigureStandard(ns3::WifiPhyStandard standard) [member function]
+ cls.add_method('FinishConfigureStandard',
+ 'void',
+ [param('ns3::WifiPhyStandard', 'standard')],
+ is_virtual=True)
+ ## mesh-wifi-interface-mac.h: ns3::Time ns3::MeshWifiInterfaceMac::GetAckTimeout() const [member function]
+ cls.add_method('GetAckTimeout',
+ 'ns3::Time',
+ [],
+ is_const=True, is_virtual=True)
+ ## mesh-wifi-interface-mac.h: ns3::Mac48Address ns3::MeshWifiInterfaceMac::GetAddress() const [member function]
+ cls.add_method('GetAddress',
+ 'ns3::Mac48Address',
+ [],
+ is_const=True, is_virtual=True)
+ ## mesh-wifi-interface-mac.h: ns3::Time ns3::MeshWifiInterfaceMac::GetBeaconInterval() const [member function]
+ cls.add_method('GetBeaconInterval',
+ 'ns3::Time',
+ [],
+ is_const=True)
+ ## mesh-wifi-interface-mac.h: ns3::Mac48Address ns3::MeshWifiInterfaceMac::GetBssid() const [member function]
+ cls.add_method('GetBssid',
+ 'ns3::Mac48Address',
+ [],
+ is_const=True, is_virtual=True)
+ ## mesh-wifi-interface-mac.h: ns3::Time ns3::MeshWifiInterfaceMac::GetCtsTimeout() const [member function]
+ cls.add_method('GetCtsTimeout',
+ 'ns3::Time',
+ [],
+ is_const=True, is_virtual=True)
+ ## mesh-wifi-interface-mac.h: ns3::Time ns3::MeshWifiInterfaceMac::GetEifsNoDifs() const [member function]
+ cls.add_method('GetEifsNoDifs',
+ 'ns3::Time',
+ [],
+ is_const=True, is_virtual=True)
+ ## mesh-wifi-interface-mac.h: uint16_t ns3::MeshWifiInterfaceMac::GetFrequencyChannel() const [member function]
+ cls.add_method('GetFrequencyChannel',
+ 'uint16_t',
+ [],
+ is_const=True)
+ ## mesh-wifi-interface-mac.h: uint32_t ns3::MeshWifiInterfaceMac::GetLinkMetric(ns3::Mac48Address peerAddress) [member function]
+ cls.add_method('GetLinkMetric',
+ 'uint32_t',
+ [param('ns3::Mac48Address', 'peerAddress')])
+ ## mesh-wifi-interface-mac.h: ns3::Mac48Address ns3::MeshWifiInterfaceMac::GetMeshPointAddress() const [member function]
+ cls.add_method('GetMeshPointAddress',
+ 'ns3::Mac48Address',
+ [],
+ is_const=True)
+ ## mesh-wifi-interface-mac.h: ns3::Time ns3::MeshWifiInterfaceMac::GetPifs() const [member function]
+ cls.add_method('GetPifs',
+ 'ns3::Time',
+ [],
+ is_const=True, is_virtual=True)
+ ## mesh-wifi-interface-mac.h: ns3::Time ns3::MeshWifiInterfaceMac::GetSifs() const [member function]
+ cls.add_method('GetSifs',
+ 'ns3::Time',
+ [],
+ is_const=True, is_virtual=True)
+ ## mesh-wifi-interface-mac.h: ns3::Time ns3::MeshWifiInterfaceMac::GetSlot() const [member function]
+ cls.add_method('GetSlot',
+ 'ns3::Time',
+ [],
+ is_const=True, is_virtual=True)
+ ## mesh-wifi-interface-mac.h: ns3::Ssid ns3::MeshWifiInterfaceMac::GetSsid() const [member function]
+ cls.add_method('GetSsid',
+ 'ns3::Ssid',
+ [],
+ is_const=True, is_virtual=True)
+ ## mesh-wifi-interface-mac.h: ns3::Ptr ns3::MeshWifiInterfaceMac::GetStationManager() [member function]
+ cls.add_method('GetStationManager',
+ 'ns3::Ptr< ns3::WifiRemoteStationManager >',
+ [])
+ ## mesh-wifi-interface-mac.h: ns3::SupportedRates ns3::MeshWifiInterfaceMac::GetSupportedRates() const [member function]
+ cls.add_method('GetSupportedRates',
+ 'ns3::SupportedRates',
+ [],
+ is_const=True)
+ ## mesh-wifi-interface-mac.h: ns3::Time ns3::MeshWifiInterfaceMac::GetTbtt() const [member function]
+ cls.add_method('GetTbtt',
+ 'ns3::Time',
+ [],
+ is_const=True)
+ ## mesh-wifi-interface-mac.h: static ns3::TypeId ns3::MeshWifiInterfaceMac::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::InstallPlugin(ns3::Ptr plugin) [member function]
+ cls.add_method('InstallPlugin',
+ 'void',
+ [param('ns3::Ptr< ns3::MeshWifiInterfaceMacPlugin >', 'plugin')])
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::Report(std::ostream & arg0) const [member function]
+ cls.add_method('Report',
+ 'void',
+ [param('std::ostream &', 'arg0')],
+ is_const=True)
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::ResetStats() [member function]
+ cls.add_method('ResetStats',
+ 'void',
+ [])
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SendManagementFrame(ns3::Ptr frame, ns3::WifiMacHeader const & hdr) [member function]
+ cls.add_method('SendManagementFrame',
+ 'void',
+ [param('ns3::Ptr< ns3::Packet >', 'frame'), param('ns3::WifiMacHeader const &', 'hdr')])
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetAckTimeout(ns3::Time ackTimeout) [member function]
+ cls.add_method('SetAckTimeout',
+ 'void',
+ [param('ns3::Time', 'ackTimeout')],
+ is_virtual=True)
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetAddress(ns3::Mac48Address address) [member function]
+ cls.add_method('SetAddress',
+ 'void',
+ [param('ns3::Mac48Address', 'address')],
+ is_virtual=True)
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetBeaconGeneration(bool enable) [member function]
+ cls.add_method('SetBeaconGeneration',
+ 'void',
+ [param('bool', 'enable')])
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetBeaconInterval(ns3::Time interval) [member function]
+ cls.add_method('SetBeaconInterval',
+ 'void',
+ [param('ns3::Time', 'interval')])
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetCtsTimeout(ns3::Time ctsTimeout) [member function]
+ cls.add_method('SetCtsTimeout',
+ 'void',
+ [param('ns3::Time', 'ctsTimeout')],
+ is_virtual=True)
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetEifsNoDifs(ns3::Time eifsNoDifs) [member function]
+ cls.add_method('SetEifsNoDifs',
+ 'void',
+ [param('ns3::Time', 'eifsNoDifs')],
+ is_virtual=True)
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetForwardUpCallback(ns3::Callback, ns3::Mac48Address, ns3::Mac48Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> upCallback) [member function]
+ cls.add_method('SetForwardUpCallback',
+ 'void',
+ [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Mac48Address, ns3::Mac48Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'upCallback')],
+ is_virtual=True)
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetLinkDownCallback(ns3::Callback linkDown) [member function]
+ cls.add_method('SetLinkDownCallback',
+ 'void',
+ [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'linkDown')],
+ is_virtual=True)
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetLinkMetricCallback(ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
+ cls.add_method('SetLinkMetricCallback',
+ 'void',
+ [param('ns3::Callback< unsigned int, ns3::Mac48Address, ns3::Ptr< ns3::MeshWifiInterfaceMac >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')])
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetLinkUpCallback(ns3::Callback linkUp) [member function]
+ cls.add_method('SetLinkUpCallback',
+ 'void',
+ [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'linkUp')],
+ is_virtual=True)
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetMeshPointAddress(ns3::Mac48Address arg0) [member function]
+ cls.add_method('SetMeshPointAddress',
+ 'void',
+ [param('ns3::Mac48Address', 'arg0')])
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetPifs(ns3::Time pifs) [member function]
+ cls.add_method('SetPifs',
+ 'void',
+ [param('ns3::Time', 'pifs')],
+ is_virtual=True)
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetQueue(ns3::AccessClass ac) [member function]
+ cls.add_method('SetQueue',
+ 'void',
+ [param('ns3::AccessClass', 'ac')])
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetRandomStartDelay(ns3::Time interval) [member function]
+ cls.add_method('SetRandomStartDelay',
+ 'void',
+ [param('ns3::Time', 'interval')])
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetSifs(ns3::Time sifs) [member function]
+ cls.add_method('SetSifs',
+ 'void',
+ [param('ns3::Time', 'sifs')],
+ is_virtual=True)
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetSlot(ns3::Time slotTime) [member function]
+ cls.add_method('SetSlot',
+ 'void',
+ [param('ns3::Time', 'slotTime')],
+ is_virtual=True)
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetSsid(ns3::Ssid ssid) [member function]
+ cls.add_method('SetSsid',
+ 'void',
+ [param('ns3::Ssid', 'ssid')],
+ is_virtual=True)
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetWifiPhy(ns3::Ptr phy) [member function]
+ cls.add_method('SetWifiPhy',
+ 'void',
+ [param('ns3::Ptr< ns3::WifiPhy >', 'phy')],
+ is_virtual=True)
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetWifiRemoteStationManager(ns3::Ptr stationManager) [member function]
+ cls.add_method('SetWifiRemoteStationManager',
+ 'void',
+ [param('ns3::Ptr< ns3::WifiRemoteStationManager >', 'stationManager')],
+ is_virtual=True)
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::ShiftTbtt(ns3::Time shift) [member function]
+ cls.add_method('ShiftTbtt',
+ 'void',
+ [param('ns3::Time', 'shift')])
+ ## mesh-wifi-interface-mac.h: bool ns3::MeshWifiInterfaceMac::SupportsSendFrom() const [member function]
+ cls.add_method('SupportsSendFrom',
+ 'bool',
+ [],
+ is_const=True, is_virtual=True)
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SwitchFrequencyChannel(uint16_t new_id) [member function]
+ cls.add_method('SwitchFrequencyChannel',
+ 'void',
+ [param('uint16_t', 'new_id')])
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::DoDispose() [member function]
+ cls.add_method('DoDispose',
+ 'void',
+ [],
+ visibility='private', is_virtual=True)
+ ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::ForwardUp(ns3::Ptr packet, ns3::Mac48Address src, ns3::Mac48Address dst) [member function]
+ cls.add_method('ForwardUp',
+ 'void',
+ [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Mac48Address', 'src'), param('ns3::Mac48Address', 'dst')],
+ visibility='private', is_virtual=True)
+ return
+
+def register_Ns3MeshPointDevice_methods(root_module, cls):
+ ## mesh-point-device.h: ns3::MeshPointDevice::MeshPointDevice(ns3::MeshPointDevice const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::MeshPointDevice const &', 'arg0')])
+ ## mesh-point-device.h: ns3::MeshPointDevice::MeshPointDevice() [constructor]
+ cls.add_constructor([])
+ ## mesh-point-device.h: void ns3::MeshPointDevice::AddInterface(ns3::Ptr port) [member function]
+ cls.add_method('AddInterface',
+ 'void',
+ [param('ns3::Ptr< ns3::NetDevice >', 'port')])
+ ## mesh-point-device.h: void ns3::MeshPointDevice::AddLinkChangeCallback(ns3::Callback callback) [member function]
+ cls.add_method('AddLinkChangeCallback',
+ 'void',
+ [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')],
+ is_virtual=True)
+ ## mesh-point-device.h: void ns3::MeshPointDevice::DoDispose() [member function]
+ cls.add_method('DoDispose',
+ 'void',
+ [],
+ is_virtual=True)
+ ## mesh-point-device.h: ns3::Address ns3::MeshPointDevice::GetAddress() const [member function]
+ cls.add_method('GetAddress',
+ 'ns3::Address',
+ [],
+ is_const=True, is_virtual=True)
+ ## mesh-point-device.h: ns3::Address ns3::MeshPointDevice::GetBroadcast() const [member function]
+ cls.add_method('GetBroadcast',
+ 'ns3::Address',
+ [],
+ is_const=True, is_virtual=True)
+ ## mesh-point-device.h: ns3::Ptr ns3::MeshPointDevice::GetChannel() const [member function]
+ cls.add_method('GetChannel',
+ 'ns3::Ptr< ns3::Channel >',
+ [],
+ is_const=True, is_virtual=True)
+ ## mesh-point-device.h: uint32_t ns3::MeshPointDevice::GetIfIndex() const [member function]
+ cls.add_method('GetIfIndex',
+ 'uint32_t',
+ [],
+ is_const=True, is_virtual=True)
+ ## mesh-point-device.h: ns3::Ptr ns3::MeshPointDevice::GetInterface(uint32_t id) const [member function]
+ cls.add_method('GetInterface',
+ 'ns3::Ptr< ns3::NetDevice >',
+ [param('uint32_t', 'id')],
+ is_const=True)
+ ## mesh-point-device.h: std::vector, std::allocator > > ns3::MeshPointDevice::GetInterfaces() const [member function]
+ cls.add_method('GetInterfaces',
+ 'std::vector< ns3::Ptr< ns3::NetDevice > >',
+ [],
+ is_const=True)
+ ## mesh-point-device.h: uint16_t ns3::MeshPointDevice::GetMtu() const [member function]
+ cls.add_method('GetMtu',
+ 'uint16_t',
+ [],
+ is_const=True, is_virtual=True)
+ ## mesh-point-device.h: ns3::Address ns3::MeshPointDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function]
+ cls.add_method('GetMulticast',
+ 'ns3::Address',
+ [param('ns3::Ipv4Address', 'multicastGroup')],
+ is_const=True, is_virtual=True)
+ ## mesh-point-device.h: ns3::Address ns3::MeshPointDevice::GetMulticast(ns3::Ipv6Address addr) const [member function]
+ cls.add_method('GetMulticast',
+ 'ns3::Address',
+ [param('ns3::Ipv6Address', 'addr')],
+ is_const=True, is_virtual=True)
+ ## mesh-point-device.h: uint32_t ns3::MeshPointDevice::GetNInterfaces() const [member function]
+ cls.add_method('GetNInterfaces',
+ 'uint32_t',
+ [],
+ is_const=True)
+ ## mesh-point-device.h: ns3::Ptr ns3::MeshPointDevice::GetNode() const [member function]
+ cls.add_method('GetNode',
+ 'ns3::Ptr< ns3::Node >',
+ [],
+ is_const=True, is_virtual=True)
+ ## mesh-point-device.h: ns3::Ptr ns3::MeshPointDevice::GetRoutingProtocol() const [member function]
+ cls.add_method('GetRoutingProtocol',
+ 'ns3::Ptr< ns3::MeshL2RoutingProtocol >',
+ [],
+ is_const=True)
+ ## mesh-point-device.h: static ns3::TypeId ns3::MeshPointDevice::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## mesh-point-device.h: bool ns3::MeshPointDevice::IsBridge() const [member function]
+ cls.add_method('IsBridge',
+ 'bool',
+ [],
+ is_const=True, is_virtual=True)
+ ## mesh-point-device.h: bool ns3::MeshPointDevice::IsBroadcast() const [member function]
+ cls.add_method('IsBroadcast',
+ 'bool',
+ [],
+ is_const=True, is_virtual=True)
+ ## mesh-point-device.h: bool ns3::MeshPointDevice::IsLinkUp() const [member function]
+ cls.add_method('IsLinkUp',
+ 'bool',
+ [],
+ is_const=True, is_virtual=True)
+ ## mesh-point-device.h: bool ns3::MeshPointDevice::IsMulticast() const [member function]
+ cls.add_method('IsMulticast',
+ 'bool',
+ [],
+ is_const=True, is_virtual=True)
+ ## mesh-point-device.h: bool ns3::MeshPointDevice::IsPointToPoint() const [member function]
+ cls.add_method('IsPointToPoint',
+ 'bool',
+ [],
+ is_const=True, is_virtual=True)
+ ## mesh-point-device.h: bool ns3::MeshPointDevice::NeedsArp() const [member function]
+ cls.add_method('NeedsArp',
+ 'bool',
+ [],
+ is_const=True, is_virtual=True)
+ ## mesh-point-device.h: void ns3::MeshPointDevice::Report(std::ostream & os) const [member function]
+ cls.add_method('Report',
+ 'void',
+ [param('std::ostream &', 'os')],
+ is_const=True)
+ ## mesh-point-device.h: void ns3::MeshPointDevice::ResetStats() [member function]
+ cls.add_method('ResetStats',
+ 'void',
+ [])
+ ## mesh-point-device.h: bool ns3::MeshPointDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function]
+ cls.add_method('Send',
+ 'bool',
+ [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
+ is_virtual=True)
+ ## mesh-point-device.h: bool ns3::MeshPointDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function]
+ cls.add_method('SendFrom',
+ 'bool',
+ [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
+ is_virtual=True)
+ ## mesh-point-device.h: void ns3::MeshPointDevice::SetAddress(ns3::Address a) [member function]
+ cls.add_method('SetAddress',
+ 'void',
+ [param('ns3::Address', 'a')],
+ is_virtual=True)
+ ## mesh-point-device.h: void ns3::MeshPointDevice::SetIfIndex(uint32_t const index) [member function]
+ cls.add_method('SetIfIndex',
+ 'void',
+ [param('uint32_t const', 'index')],
+ is_virtual=True)
+ ## mesh-point-device.h: bool ns3::MeshPointDevice::SetMtu(uint16_t const mtu) [member function]
+ cls.add_method('SetMtu',
+ 'bool',
+ [param('uint16_t const', 'mtu')],
+ is_virtual=True)
+ ## mesh-point-device.h: void ns3::MeshPointDevice::SetNode(ns3::Ptr node) [member function]
+ cls.add_method('SetNode',
+ 'void',
+ [param('ns3::Ptr< ns3::Node >', 'node')],
+ is_virtual=True)
+ ## mesh-point-device.h: void ns3::MeshPointDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
+ cls.add_method('SetPromiscReceiveCallback',
+ 'void',
+ [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')],
+ is_virtual=True)
+ ## mesh-point-device.h: void ns3::MeshPointDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
+ cls.add_method('SetReceiveCallback',
+ 'void',
+ [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')],
+ is_virtual=True)
+ ## mesh-point-device.h: void ns3::MeshPointDevice::SetRoutingProtocol(ns3::Ptr protocol) [member function]
+ cls.add_method('SetRoutingProtocol',
+ 'void',
+ [param('ns3::Ptr< ns3::MeshL2RoutingProtocol >', 'protocol')])
+ ## mesh-point-device.h: bool ns3::MeshPointDevice::SupportsSendFrom() const [member function]
+ cls.add_method('SupportsSendFrom',
+ 'bool',
+ [],
+ is_const=True, is_virtual=True)
+ return
+
+def register_functions(root_module):
+ module = root_module
+ register_functions_ns3_Config(module.get_submodule('Config'), root_module)
+ register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
+ register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
+ register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
+ register_functions_ns3_flame(module.get_submodule('flame'), root_module)
+ register_functions_ns3_internal(module.get_submodule('internal'), root_module)
+ register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
+ return
+
+def register_functions_ns3_Config(module, root_module):
+ return
+
+def register_functions_ns3_TimeStepPrecision(module, root_module):
+ return
+
+def register_functions_ns3_addressUtils(module, root_module):
+ return
+
+def register_functions_ns3_dot11s(module, root_module):
+ return
+
+def register_functions_ns3_flame(module, root_module):
+ return
+
+def register_functions_ns3_internal(module, root_module):
+ return
+
+def register_functions_ns3_olsr(module, root_module):
+ return
+
diff --git a/bindings/python/ns3_module_mobility.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_mobility.py
similarity index 98%
rename from bindings/python/ns3_module_mobility.py
rename to bindings/python/apidefs/gcc-ILP32/ns3_module_mobility.py
index ceb42c25f..b7556135d 100644
--- a/bindings/python/ns3_module_mobility.py
+++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_mobility.py
@@ -62,6 +62,18 @@ def register_types(module):
register_types_ns3_addressUtils(nested_module)
+ ## Register a nested module for the namespace dot11s
+
+ nested_module = module.add_cpp_namespace('dot11s')
+ register_types_ns3_dot11s(nested_module)
+
+
+ ## Register a nested module for the namespace flame
+
+ nested_module = module.add_cpp_namespace('flame')
+ register_types_ns3_flame(nested_module)
+
+
## Register a nested module for the namespace internal
nested_module = module.add_cpp_namespace('internal')
@@ -86,6 +98,14 @@ def register_types_ns3_addressUtils(module):
root_module = module.get_root()
+def register_types_ns3_dot11s(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_flame(module):
+ root_module = module.get_root()
+
+
def register_types_ns3_internal(module):
root_module = module.get_root()
@@ -686,6 +706,8 @@ def register_functions(root_module):
register_functions_ns3_Config(module.get_submodule('Config'), root_module)
register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
+ register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
+ register_functions_ns3_flame(module.get_submodule('flame'), root_module)
register_functions_ns3_internal(module.get_submodule('internal'), root_module)
register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
return
@@ -699,6 +721,12 @@ def register_functions_ns3_TimeStepPrecision(module, root_module):
def register_functions_ns3_addressUtils(module, root_module):
return
+def register_functions_ns3_dot11s(module, root_module):
+ return
+
+def register_functions_ns3_flame(module, root_module):
+ return
+
def register_functions_ns3_internal(module, root_module):
return
diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_nix_vector_routing.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_nix_vector_routing.py
new file mode 100644
index 000000000..f027a698f
--- /dev/null
+++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_nix_vector_routing.py
@@ -0,0 +1,180 @@
+from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
+
+def register_types(module):
+ root_module = module.get_root()
+
+ ## ipv4-nix-vector-routing.h: ns3::Ipv4NixVectorRouting [class]
+ module.add_class('Ipv4NixVectorRouting', parent=root_module['ns3::Ipv4RoutingProtocol'])
+ typehandlers.add_type_alias('std::map< ns3::Ipv4Address, ns3::Ptr< ns3::NixVector >, std::less< ns3::Ipv4Address >, std::allocator< std::pair< ns3::Ipv4Address const, ns3::Ptr< ns3::NixVector > > > >', 'ns3::NixMap_t')
+ typehandlers.add_type_alias('std::map< ns3::Ipv4Address, ns3::Ptr< ns3::NixVector >, std::less< ns3::Ipv4Address >, std::allocator< std::pair< ns3::Ipv4Address const, ns3::Ptr< ns3::NixVector > > > >*', 'ns3::NixMap_t*')
+ typehandlers.add_type_alias('std::map< ns3::Ipv4Address, ns3::Ptr< ns3::NixVector >, std::less< ns3::Ipv4Address >, std::allocator< std::pair< ns3::Ipv4Address const, ns3::Ptr< ns3::NixVector > > > >&', 'ns3::NixMap_t&')
+ typehandlers.add_type_alias('std::map< ns3::Ipv4Address, ns3::Ptr< ns3::Ipv4Route >, std::less< ns3::Ipv4Address >, std::allocator< std::pair< ns3::Ipv4Address const, ns3::Ptr< ns3::Ipv4Route > > > >', 'ns3::Ipv4RouteMap_t')
+ typehandlers.add_type_alias('std::map< ns3::Ipv4Address, ns3::Ptr< ns3::Ipv4Route >, std::less< ns3::Ipv4Address >, std::allocator< std::pair< ns3::Ipv4Address const, ns3::Ptr< ns3::Ipv4Route > > > >*', 'ns3::Ipv4RouteMap_t*')
+ typehandlers.add_type_alias('std::map< ns3::Ipv4Address, ns3::Ptr< ns3::Ipv4Route >, std::less< ns3::Ipv4Address >, std::allocator< std::pair< ns3::Ipv4Address const, ns3::Ptr< ns3::Ipv4Route > > > >&', 'ns3::Ipv4RouteMap_t&')
+
+ ## Register a nested module for the namespace Config
+
+ nested_module = module.add_cpp_namespace('Config')
+ register_types_ns3_Config(nested_module)
+
+
+ ## Register a nested module for the namespace TimeStepPrecision
+
+ nested_module = module.add_cpp_namespace('TimeStepPrecision')
+ register_types_ns3_TimeStepPrecision(nested_module)
+
+
+ ## Register a nested module for the namespace addressUtils
+
+ nested_module = module.add_cpp_namespace('addressUtils')
+ register_types_ns3_addressUtils(nested_module)
+
+
+ ## Register a nested module for the namespace dot11s
+
+ nested_module = module.add_cpp_namespace('dot11s')
+ register_types_ns3_dot11s(nested_module)
+
+
+ ## Register a nested module for the namespace flame
+
+ nested_module = module.add_cpp_namespace('flame')
+ register_types_ns3_flame(nested_module)
+
+
+ ## Register a nested module for the namespace internal
+
+ nested_module = module.add_cpp_namespace('internal')
+ register_types_ns3_internal(nested_module)
+
+
+ ## Register a nested module for the namespace olsr
+
+ nested_module = module.add_cpp_namespace('olsr')
+ register_types_ns3_olsr(nested_module)
+
+
+def register_types_ns3_Config(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_TimeStepPrecision(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_addressUtils(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_dot11s(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_flame(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_internal(module):
+ root_module = module.get_root()
+
+
+def register_types_ns3_olsr(module):
+ root_module = module.get_root()
+
+
+def register_methods(root_module):
+ register_Ns3Ipv4NixVectorRouting_methods(root_module, root_module['ns3::Ipv4NixVectorRouting'])
+ return
+
+def register_Ns3Ipv4NixVectorRouting_methods(root_module, cls):
+ ## ipv4-nix-vector-routing.h: ns3::Ipv4NixVectorRouting::Ipv4NixVectorRouting(ns3::Ipv4NixVectorRouting const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::Ipv4NixVectorRouting const &', 'arg0')])
+ ## ipv4-nix-vector-routing.h: ns3::Ipv4NixVectorRouting::Ipv4NixVectorRouting() [constructor]
+ cls.add_constructor([])
+ ## ipv4-nix-vector-routing.h: void ns3::Ipv4NixVectorRouting::FlushGlobalNixRoutingCache() [member function]
+ cls.add_method('FlushGlobalNixRoutingCache',
+ 'void',
+ [])
+ ## ipv4-nix-vector-routing.h: static ns3::TypeId ns3::Ipv4NixVectorRouting::GetTypeId() [member function]
+ cls.add_method('GetTypeId',
+ 'ns3::TypeId',
+ [],
+ is_static=True)
+ ## ipv4-nix-vector-routing.h: void ns3::Ipv4NixVectorRouting::SetNode(ns3::Ptr arg0) [member function]
+ cls.add_method('SetNode',
+ 'void',
+ [param('ns3::Ptr< ns3::Node >', 'arg0')])
+ ## ipv4-nix-vector-routing.h: void ns3::Ipv4NixVectorRouting::DoDispose() [member function]
+ cls.add_method('DoDispose',
+ 'void',
+ [],
+ visibility='private', is_virtual=True)
+ ## ipv4-nix-vector-routing.h: void ns3::Ipv4NixVectorRouting::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
+ cls.add_method('NotifyAddAddress',
+ 'void',
+ [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')],
+ visibility='private', is_virtual=True)
+ ## ipv4-nix-vector-routing.h: void ns3::Ipv4NixVectorRouting::NotifyInterfaceDown(uint32_t interface) [member function]
+ cls.add_method('NotifyInterfaceDown',
+ 'void',
+ [param('uint32_t', 'interface')],
+ visibility='private', is_virtual=True)
+ ## ipv4-nix-vector-routing.h: void ns3::Ipv4NixVectorRouting::NotifyInterfaceUp(uint32_t interface) [member function]
+ cls.add_method('NotifyInterfaceUp',
+ 'void',
+ [param('uint32_t', 'interface')],
+ visibility='private', is_virtual=True)
+ ## ipv4-nix-vector-routing.h: void ns3::Ipv4NixVectorRouting::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
+ cls.add_method('NotifyRemoveAddress',
+ 'void',
+ [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')],
+ visibility='private', is_virtual=True)
+ ## ipv4-nix-vector-routing.h: bool ns3::Ipv4NixVectorRouting::RouteInput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback,const ns3::Ipv4Header&,ns3::Socket::SocketErrno,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ecb) [member function]
+ cls.add_method('RouteInput',
+ 'bool',
+ [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')],
+ visibility='private', is_virtual=True)
+ ## ipv4-nix-vector-routing.h: ns3::Ptr ns3::Ipv4NixVectorRouting::RouteOutput(ns3::Ptr p, ns3::Ipv4Header const & header, uint32_t oif, ns3::Socket::SocketErrno & sockerr) [member function]
+ cls.add_method('RouteOutput',
+ 'ns3::Ptr< ns3::Ipv4Route >',
+ [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('uint32_t', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')],
+ visibility='private', is_virtual=True)
+ ## ipv4-nix-vector-routing.h: void ns3::Ipv4NixVectorRouting::SetIpv4(ns3::Ptr ipv4) [member function]
+ cls.add_method('SetIpv4',
+ 'void',
+ [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')],
+ visibility='private', is_virtual=True)
+ return
+
+def register_functions(root_module):
+ module = root_module
+ register_functions_ns3_Config(module.get_submodule('Config'), root_module)
+ register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
+ register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
+ register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
+ register_functions_ns3_flame(module.get_submodule('flame'), root_module)
+ register_functions_ns3_internal(module.get_submodule('internal'), root_module)
+ register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
+ return
+
+def register_functions_ns3_Config(module, root_module):
+ return
+
+def register_functions_ns3_TimeStepPrecision(module, root_module):
+ return
+
+def register_functions_ns3_addressUtils(module, root_module):
+ return
+
+def register_functions_ns3_dot11s(module, root_module):
+ return
+
+def register_functions_ns3_flame(module, root_module):
+ return
+
+def register_functions_ns3_internal(module, root_module):
+ return
+
+def register_functions_ns3_olsr(module, root_module):
+ return
+
diff --git a/bindings/python/ns3_module_node.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_node.py
similarity index 73%
rename from bindings/python/ns3_module_node.py
rename to bindings/python/apidefs/gcc-ILP32/ns3_module_node.py
index cfa70586f..9c9c6855d 100644
--- a/bindings/python/ns3_module_node.py
+++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_node.py
@@ -3,6 +3,8 @@ from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandler
def register_types(module):
root_module = module.get_root()
+ ## packetbb.h: ns3::PbbAddressLength [enumeration]
+ module.add_enum('PbbAddressLength', ['IPV4', 'IPV6'])
## ethernet-header.h: ns3::ethernet_header_t [enumeration]
module.add_enum('ethernet_header_t', ['LENGTH', 'VLAN', 'QINQ'])
## address.h: ns3::Address [class]
@@ -55,6 +57,24 @@ def register_types(module):
module.add_class('PacketSocketAddress')
## packet-socket-address.h: ns3::PacketSocketAddress [class]
root_module['ns3::PacketSocketAddress'].implicitly_converts_to(root_module['ns3::Address'])
+ ## packetbb.h: ns3::PbbAddressBlock [class]
+ module.add_class('PbbAddressBlock', allow_subclassing=True)
+ ## packetbb.h: ns3::PbbAddressBlockIpv4 [class]
+ module.add_class('PbbAddressBlockIpv4', parent=root_module['ns3::PbbAddressBlock'])
+ ## packetbb.h: ns3::PbbAddressBlockIpv6 [class]
+ module.add_class('PbbAddressBlockIpv6', parent=root_module['ns3::PbbAddressBlock'])
+ ## packetbb.h: ns3::PbbAddressTlvBlock [class]
+ module.add_class('PbbAddressTlvBlock')
+ ## packetbb.h: ns3::PbbMessage [class]
+ module.add_class('PbbMessage', allow_subclassing=True)
+ ## packetbb.h: ns3::PbbMessageIpv4 [class]
+ module.add_class('PbbMessageIpv4', parent=root_module['ns3::PbbMessage'])
+ ## packetbb.h: ns3::PbbMessageIpv6 [class]
+ module.add_class('PbbMessageIpv6', parent=root_module['ns3::PbbMessage'])
+ ## packetbb.h: ns3::PbbTlv [class]
+ module.add_class('PbbTlv')
+ ## packetbb.h: ns3::PbbTlvBlock [class]
+ module.add_class('PbbTlvBlock')
## ipv4-address.h: ns3::Ipv4AddressChecker [class]
module.add_class('Ipv4AddressChecker', parent=root_module['ns3::AttributeChecker'])
## ipv4-address.h: ns3::Ipv4AddressValue [class]
@@ -91,6 +111,10 @@ def register_types(module):
module.add_class('Mac48AddressChecker', parent=root_module['ns3::AttributeChecker'])
## mac48-address.h: ns3::Mac48AddressValue [class]
module.add_class('Mac48AddressValue', parent=root_module['ns3::AttributeValue'])
+ ## packetbb.h: ns3::PbbAddressTlv [class]
+ module.add_class('PbbAddressTlv', parent=root_module['ns3::PbbTlv'])
+ ## packetbb.h: ns3::PbbPacket [class]
+ module.add_class('PbbPacket', parent=root_module['ns3::Header'])
## queue.h: ns3::Queue [class]
module.add_class('Queue', parent=root_module['ns3::Object'])
## socket.h: ns3::Socket [class]
@@ -174,6 +198,18 @@ def register_types(module):
register_types_ns3_addressUtils(nested_module)
+ ## Register a nested module for the namespace dot11s
+
+ nested_module = module.add_cpp_namespace('dot11s')
+ register_types_ns3_dot11s(nested_module)
+
+
+ ## Register a nested module for the namespace flame
+
+ nested_module = module.add_cpp_namespace('flame')
+ register_types_ns3_flame(nested_module)
+
+
## Register a nested module for the namespace internal
nested_module = module.add_cpp_namespace('internal')
@@ -198,6 +234,15 @@ def register_types_ns3_addressUtils(module):
root_module = module.get_root()
+def register_types_ns3_dot11s(module):
+ root_module = module.get_root()
+
+ module.add_container('std::vector< ns3::Mac48Address >', 'ns3::Mac48Address', container_type='vector')
+
+def register_types_ns3_flame(module):
+ root_module = module.get_root()
+
+
def register_types_ns3_internal(module):
root_module = module.get_root()
@@ -221,6 +266,15 @@ def register_methods(root_module):
register_Ns3Mac64Address_methods(root_module, root_module['ns3::Mac64Address'])
register_Ns3NodeList_methods(root_module, root_module['ns3::NodeList'])
register_Ns3PacketSocketAddress_methods(root_module, root_module['ns3::PacketSocketAddress'])
+ register_Ns3PbbAddressBlock_methods(root_module, root_module['ns3::PbbAddressBlock'])
+ register_Ns3PbbAddressBlockIpv4_methods(root_module, root_module['ns3::PbbAddressBlockIpv4'])
+ register_Ns3PbbAddressBlockIpv6_methods(root_module, root_module['ns3::PbbAddressBlockIpv6'])
+ register_Ns3PbbAddressTlvBlock_methods(root_module, root_module['ns3::PbbAddressTlvBlock'])
+ register_Ns3PbbMessage_methods(root_module, root_module['ns3::PbbMessage'])
+ register_Ns3PbbMessageIpv4_methods(root_module, root_module['ns3::PbbMessageIpv4'])
+ register_Ns3PbbMessageIpv6_methods(root_module, root_module['ns3::PbbMessageIpv6'])
+ register_Ns3PbbTlv_methods(root_module, root_module['ns3::PbbTlv'])
+ register_Ns3PbbTlvBlock_methods(root_module, root_module['ns3::PbbTlvBlock'])
register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
register_Ns3Ipv4Header_methods(root_module, root_module['ns3::Ipv4Header'])
@@ -238,6 +292,8 @@ def register_methods(root_module):
register_Ns3LlcSnapHeader_methods(root_module, root_module['ns3::LlcSnapHeader'])
register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker'])
register_Ns3Mac48AddressValue_methods(root_module, root_module['ns3::Mac48AddressValue'])
+ register_Ns3PbbAddressTlv_methods(root_module, root_module['ns3::PbbAddressTlv'])
+ register_Ns3PbbPacket_methods(root_module, root_module['ns3::PbbPacket'])
register_Ns3Queue_methods(root_module, root_module['ns3::Queue'])
register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
@@ -1163,6 +1219,1021 @@ def register_Ns3PacketSocketAddress_methods(root_module, cls):
[param('uint32_t', 'device')])
return
+def register_Ns3PbbAddressBlock_methods(root_module, cls):
+ cls.add_binary_comparison_operator('==')
+ cls.add_binary_comparison_operator('!=')
+ ## packetbb.h: ns3::PbbAddressBlock::PbbAddressBlock(ns3::PbbAddressBlock const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::PbbAddressBlock const &', 'arg0')])
+ ## packetbb.h: ns3::PbbAddressBlock::PbbAddressBlock() [constructor]
+ cls.add_constructor([])
+ ## packetbb.h: ns3::Address ns3::PbbAddressBlock::AddressBack() const [member function]
+ cls.add_method('AddressBack',
+ 'ns3::Address',
+ [],
+ is_const=True)
+ ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressBegin() [member function]
+ cls.add_method('AddressBegin',
+ 'std::_List_iterator< ns3::Address >',
+ [])
+ ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::AddressBegin() const [member function]
+ cls.add_method('AddressBegin',
+ 'std::_List_const_iterator< ns3::Address >',
+ [],
+ is_const=True)
+ ## packetbb.h: void ns3::PbbAddressBlock::AddressClear() [member function]
+ cls.add_method('AddressClear',
+ 'void',
+ [])
+ ## packetbb.h: bool ns3::PbbAddressBlock::AddressEmpty() const [member function]
+ cls.add_method('AddressEmpty',
+ 'bool',
+ [],
+ is_const=True)
+ ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressEnd() [member function]
+ cls.add_method('AddressEnd',
+ 'std::_List_iterator< ns3::Address >',
+ [])
+ ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::AddressEnd() const [member function]
+ cls.add_method('AddressEnd',
+ 'std::_List_const_iterator< ns3::Address >',
+ [],
+ is_const=True)
+ ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressErase(std::_List_iterator position) [member function]
+ cls.add_method('AddressErase',
+ 'std::_List_iterator< ns3::Address >',
+ [param('std::_List_iterator< ns3::Address >', 'position')])
+ ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressErase(std::_List_iterator first, std::_List_iterator last) [member function]
+ cls.add_method('AddressErase',
+ 'std::_List_iterator< ns3::Address >',
+ [param('std::_List_iterator< ns3::Address >', 'first'), param('std::_List_iterator< ns3::Address >', 'last')])
+ ## packetbb.h: ns3::Address ns3::PbbAddressBlock::AddressFront() const [member function]
+ cls.add_method('AddressFront',
+ 'ns3::Address',
+ [],
+ is_const=True)
+ ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressInsert(std::_List_iterator position, ns3::Address const value) [member function]
+ cls.add_method('AddressInsert',
+ 'std::_List_iterator< ns3::Address >',
+ [param('std::_List_iterator< ns3::Address >', 'position'), param('ns3::Address const', 'value')])
+ ## packetbb.h: void ns3::PbbAddressBlock::AddressPopBack() [member function]
+ cls.add_method('AddressPopBack',
+ 'void',
+ [])
+ ## packetbb.h: void ns3::PbbAddressBlock::AddressPopFront() [member function]
+ cls.add_method('AddressPopFront',
+ 'void',
+ [])
+ ## packetbb.h: void ns3::PbbAddressBlock::AddressPushBack(ns3::Address address) [member function]
+ cls.add_method('AddressPushBack',
+ 'void',
+ [param('ns3::Address', 'address')])
+ ## packetbb.h: void ns3::PbbAddressBlock::AddressPushFront(ns3::Address address) [member function]
+ cls.add_method('AddressPushFront',
+ 'void',
+ [param('ns3::Address', 'address')])
+ ## packetbb.h: int ns3::PbbAddressBlock::AddressSize() const [member function]
+ cls.add_method('AddressSize',
+ 'int',
+ [],
+ is_const=True)
+ ## packetbb.h: void ns3::PbbAddressBlock::Deserialize(ns3::Buffer::Iterator & start) [member function]
+ cls.add_method('Deserialize',
+ 'void',
+ [param('ns3::Buffer::Iterator &', 'start')])
+ ## packetbb.h: uint32_t ns3::PbbAddressBlock::GetSerializedSize() const [member function]
+ cls.add_method('GetSerializedSize',
+ 'uint32_t',
+ [],
+ is_const=True)
+ ## packetbb.h: uint8_t ns3::PbbAddressBlock::PrefixBack() const [member function]
+ cls.add_method('PrefixBack',
+ 'uint8_t',
+ [],
+ is_const=True)
+ ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixBegin() [member function]
+ cls.add_method('PrefixBegin',
+ 'std::_List_iterator< unsigned char >',
+ [])
+ ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::PrefixBegin() const [member function]
+ cls.add_method('PrefixBegin',
+ 'std::_List_const_iterator< unsigned char >',
+ [],
+ is_const=True)
+ ## packetbb.h: void ns3::PbbAddressBlock::PrefixClear() [member function]
+ cls.add_method('PrefixClear',
+ 'void',
+ [])
+ ## packetbb.h: bool ns3::PbbAddressBlock::PrefixEmpty() const [member function]
+ cls.add_method('PrefixEmpty',
+ 'bool',
+ [],
+ is_const=True)
+ ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixEnd() [member function]
+ cls.add_method('PrefixEnd',
+ 'std::_List_iterator< unsigned char >',
+ [])
+ ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::PrefixEnd() const [member function]
+ cls.add_method('PrefixEnd',
+ 'std::_List_const_iterator< unsigned char >',
+ [],
+ is_const=True)
+ ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixErase(std::_List_iterator position) [member function]
+ cls.add_method('PrefixErase',
+ 'std::_List_iterator< unsigned char >',
+ [param('std::_List_iterator< unsigned char >', 'position')])
+ ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixErase(std::_List_iterator first, std::_List_iterator last) [member function]
+ cls.add_method('PrefixErase',
+ 'std::_List_iterator< unsigned char >',
+ [param('std::_List_iterator< unsigned char >', 'first'), param('std::_List_iterator< unsigned char >', 'last')])
+ ## packetbb.h: uint8_t ns3::PbbAddressBlock::PrefixFront() const [member function]
+ cls.add_method('PrefixFront',
+ 'uint8_t',
+ [],
+ is_const=True)
+ ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixInsert(std::_List_iterator position, uint8_t const value) [member function]
+ cls.add_method('PrefixInsert',
+ 'std::_List_iterator< unsigned char >',
+ [param('std::_List_iterator< unsigned char >', 'position'), param('uint8_t const', 'value')])
+ ## packetbb.h: void ns3::PbbAddressBlock::PrefixPopBack() [member function]
+ cls.add_method('PrefixPopBack',
+ 'void',
+ [])
+ ## packetbb.h: void ns3::PbbAddressBlock::PrefixPopFront() [member function]
+ cls.add_method('PrefixPopFront',
+ 'void',
+ [])
+ ## packetbb.h: void ns3::PbbAddressBlock::PrefixPushBack(uint8_t prefix) [member function]
+ cls.add_method('PrefixPushBack',
+ 'void',
+ [param('uint8_t', 'prefix')])
+ ## packetbb.h: void ns3::PbbAddressBlock::PrefixPushFront(uint8_t prefix) [member function]
+ cls.add_method('PrefixPushFront',
+ 'void',
+ [param('uint8_t', 'prefix')])
+ ## packetbb.h: int ns3::PbbAddressBlock::PrefixSize() const [member function]
+ cls.add_method('PrefixSize',
+ 'int',
+ [],
+ is_const=True)
+ ## packetbb.h: void ns3::PbbAddressBlock::Print(std::ostream & os) const [member function]
+ cls.add_method('Print',
+ 'void',
+ [param('std::ostream &', 'os')],
+ is_const=True)
+ ## packetbb.h: void ns3::PbbAddressBlock::Print(std::ostream & os, int level) const [member function]
+ cls.add_method('Print',
+ 'void',
+ [param('std::ostream &', 'os'), param('int', 'level')],
+ is_const=True)
+ ## packetbb.h: void ns3::PbbAddressBlock::Ref() const [member function]
+ cls.add_method('Ref',
+ 'void',
+ [],
+ is_const=True)
+ ## packetbb.h: void ns3::PbbAddressBlock::Serialize(ns3::Buffer::Iterator & start) const [member function]
+ cls.add_method('Serialize',
+ 'void',
+ [param('ns3::Buffer::Iterator &', 'start')],
+ is_const=True)
+ ## packetbb.h: ns3::Ptr ns3::PbbAddressBlock::TlvBack() [member function]
+ cls.add_method('TlvBack',
+ 'ns3::Ptr< ns3::PbbAddressTlv >',
+ [])
+ ## packetbb.h: ns3::Ptr const ns3::PbbAddressBlock::TlvBack() const [member function]
+ cls.add_method('TlvBack',
+ 'ns3::Ptr< ns3::PbbAddressTlv > const',
+ [],
+ is_const=True)
+ ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvBegin() [member function]
+ cls.add_method('TlvBegin',
+ 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >',
+ [])
+ ## packetbb.h: std::_List_const_iterator > ns3::PbbAddressBlock::TlvBegin() const [member function]
+ cls.add_method('TlvBegin',
+ 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressTlv > >',
+ [],
+ is_const=True)
+ ## packetbb.h: void ns3::PbbAddressBlock::TlvClear() [member function]
+ cls.add_method('TlvClear',
+ 'void',
+ [])
+ ## packetbb.h: bool ns3::PbbAddressBlock::TlvEmpty() const [member function]
+ cls.add_method('TlvEmpty',
+ 'bool',
+ [],
+ is_const=True)
+ ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvEnd() [member function]
+ cls.add_method('TlvEnd',
+ 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >',
+ [])
+ ## packetbb.h: std::_List_const_iterator > ns3::PbbAddressBlock::TlvEnd() const [member function]
+ cls.add_method('TlvEnd',
+ 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressTlv > >',
+ [],
+ is_const=True)
+ ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvErase(std::_List_iterator > position) [member function]
+ cls.add_method('TlvErase',
+ 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >',
+ [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'position')])
+ ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvErase(std::_List_iterator > first, std::_List_iterator > last) [member function]
+ cls.add_method('TlvErase',
+ 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >',
+ [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'last')])
+ ## packetbb.h: ns3::Ptr ns3::PbbAddressBlock::TlvFront() [member function]
+ cls.add_method('TlvFront',
+ 'ns3::Ptr< ns3::PbbAddressTlv >',
+ [])
+ ## packetbb.h: ns3::Ptr const ns3::PbbAddressBlock::TlvFront() const [member function]
+ cls.add_method('TlvFront',
+ 'ns3::Ptr< ns3::PbbAddressTlv > const',
+ [],
+ is_const=True)
+ ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvInsert(std::_List_iterator > position, ns3::Ptr const value) [member function]
+ cls.add_method('TlvInsert',
+ 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >',
+ [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'position'), param('ns3::Ptr< ns3::PbbTlv > const', 'value')])
+ ## packetbb.h: void ns3::PbbAddressBlock::TlvPopBack() [member function]
+ cls.add_method('TlvPopBack',
+ 'void',
+ [])
+ ## packetbb.h: void ns3::PbbAddressBlock::TlvPopFront() [member function]
+ cls.add_method('TlvPopFront',
+ 'void',
+ [])
+ ## packetbb.h: void ns3::PbbAddressBlock::TlvPushBack(ns3::Ptr address) [member function]
+ cls.add_method('TlvPushBack',
+ 'void',
+ [param('ns3::Ptr< ns3::PbbAddressTlv >', 'address')])
+ ## packetbb.h: void ns3::PbbAddressBlock::TlvPushFront(ns3::Ptr address) [member function]
+ cls.add_method('TlvPushFront',
+ 'void',
+ [param('ns3::Ptr< ns3::PbbAddressTlv >', 'address')])
+ ## packetbb.h: int ns3::PbbAddressBlock::TlvSize() const [member function]
+ cls.add_method('TlvSize',
+ 'int',
+ [],
+ is_const=True)
+ ## packetbb.h: void ns3::PbbAddressBlock::Unref() const [member function]
+ cls.add_method('Unref',
+ 'void',
+ [],
+ is_const=True)
+ ## packetbb.h: ns3::Address ns3::PbbAddressBlock::DeserializeAddress(uint8_t * buffer) const [member function]
+ cls.add_method('DeserializeAddress',
+ 'ns3::Address',
+ [param('uint8_t *', 'buffer')],
+ is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True)
+ ## packetbb.h: uint8_t ns3::PbbAddressBlock::GetAddressLength() const [member function]
+ cls.add_method('GetAddressLength',
+ 'uint8_t',
+ [],
+ is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True)
+ ## packetbb.h: void ns3::PbbAddressBlock::PrintAddress(std::ostream & os, std::_List_const_iterator iter) const [member function]
+ cls.add_method('PrintAddress',
+ 'void',
+ [param('std::ostream &', 'os'), param('std::_List_const_iterator< ns3::Address >', 'iter')],
+ is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True)
+ ## packetbb.h: void ns3::PbbAddressBlock::SerializeAddress(uint8_t * buffer, std::_List_const_iterator iter) const [member function]
+ cls.add_method('SerializeAddress',
+ 'void',
+ [param('uint8_t *', 'buffer'), param('std::_List_const_iterator< ns3::Address >', 'iter')],
+ is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True)
+ return
+
+def register_Ns3PbbAddressBlockIpv4_methods(root_module, cls):
+ ## packetbb.h: ns3::PbbAddressBlockIpv4::PbbAddressBlockIpv4(ns3::PbbAddressBlockIpv4 const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::PbbAddressBlockIpv4 const &', 'arg0')])
+ ## packetbb.h: ns3::PbbAddressBlockIpv4::PbbAddressBlockIpv4() [constructor]
+ cls.add_constructor([])
+ ## packetbb.h: ns3::Address ns3::PbbAddressBlockIpv4::DeserializeAddress(uint8_t * buffer) const [member function]
+ cls.add_method('DeserializeAddress',
+ 'ns3::Address',
+ [param('uint8_t *', 'buffer')],
+ is_const=True, visibility='protected', is_virtual=True)
+ ## packetbb.h: uint8_t ns3::PbbAddressBlockIpv4::GetAddressLength() const [member function]
+ cls.add_method('GetAddressLength',
+ 'uint8_t',
+ [],
+ is_const=True, visibility='protected', is_virtual=True)
+ ## packetbb.h: void ns3::PbbAddressBlockIpv4::PrintAddress(std::ostream & os, std::_List_const_iterator iter) const [member function]
+ cls.add_method('PrintAddress',
+ 'void',
+ [param('std::ostream &', 'os'), param('std::_List_const_iterator< ns3::Address >', 'iter')],
+ is_const=True, visibility='protected', is_virtual=True)
+ ## packetbb.h: void ns3::PbbAddressBlockIpv4::SerializeAddress(uint8_t * buffer, std::_List_const_iterator iter) const [member function]
+ cls.add_method('SerializeAddress',
+ 'void',
+ [param('uint8_t *', 'buffer'), param('std::_List_const_iterator< ns3::Address >', 'iter')],
+ is_const=True, visibility='protected', is_virtual=True)
+ return
+
+def register_Ns3PbbAddressBlockIpv6_methods(root_module, cls):
+ ## packetbb.h: ns3::PbbAddressBlockIpv6::PbbAddressBlockIpv6(ns3::PbbAddressBlockIpv6 const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::PbbAddressBlockIpv6 const &', 'arg0')])
+ ## packetbb.h: ns3::PbbAddressBlockIpv6::PbbAddressBlockIpv6() [constructor]
+ cls.add_constructor([])
+ ## packetbb.h: ns3::Address ns3::PbbAddressBlockIpv6::DeserializeAddress(uint8_t * buffer) const [member function]
+ cls.add_method('DeserializeAddress',
+ 'ns3::Address',
+ [param('uint8_t *', 'buffer')],
+ is_const=True, visibility='protected', is_virtual=True)
+ ## packetbb.h: uint8_t ns3::PbbAddressBlockIpv6::GetAddressLength() const [member function]
+ cls.add_method('GetAddressLength',
+ 'uint8_t',
+ [],
+ is_const=True, visibility='protected', is_virtual=True)
+ ## packetbb.h: void ns3::PbbAddressBlockIpv6::PrintAddress(std::ostream & os, std::_List_const_iterator iter) const [member function]
+ cls.add_method('PrintAddress',
+ 'void',
+ [param('std::ostream &', 'os'), param('std::_List_const_iterator< ns3::Address >', 'iter')],
+ is_const=True, visibility='protected', is_virtual=True)
+ ## packetbb.h: void ns3::PbbAddressBlockIpv6::SerializeAddress(uint8_t * buffer, std::_List_const_iterator iter) const [member function]
+ cls.add_method('SerializeAddress',
+ 'void',
+ [param('uint8_t *', 'buffer'), param('std::_List_const_iterator< ns3::Address >', 'iter')],
+ is_const=True, visibility='protected', is_virtual=True)
+ return
+
+def register_Ns3PbbAddressTlvBlock_methods(root_module, cls):
+ cls.add_binary_comparison_operator('==')
+ cls.add_binary_comparison_operator('!=')
+ ## packetbb.h: ns3::PbbAddressTlvBlock::PbbAddressTlvBlock() [constructor]
+ cls.add_constructor([])
+ ## packetbb.h: ns3::PbbAddressTlvBlock::PbbAddressTlvBlock(ns3::PbbAddressTlvBlock const & arg0) [copy constructor]
+ cls.add_constructor([param('ns3::PbbAddressTlvBlock const &', 'arg0')])
+ ## packetbb.h: ns3::Ptr ns3::PbbAddressTlvBlock::Back() const [member function]
+ cls.add_method('Back',
+ 'ns3::Ptr< ns3::PbbAddressTlv >',
+ [],
+ is_const=True)
+ ## packetbb.h: std::_List_iterator > ns3::PbbAddressTlvBlock::Begin() [member function]
+ cls.add_method('Begin',
+ 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >',
+ [])
+ ## packetbb.h: std::_List_const_iterator > ns3::PbbAddressTlvBlock::Begin() const [member function]
+ cls.add_method('Begin',
+ 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressTlv > >',
+ [],
+ is_const=True)
+ ## packetbb.h: void ns3::PbbAddressTlvBlock::Clear() [member function]
+ cls.add_method('Clear',
+ 'void',
+ [])
+ ## packetbb.h: void ns3::PbbAddressTlvBlock::Deserialize(ns3::Buffer::Iterator & start) [member function]
+ cls.add_method('Deserialize',
+ 'void',
+ [param('ns3::Buffer::Iterator &', 'start')])
+ ## packetbb.h: bool ns3::PbbAddressTlvBlock::Empty() const [member function]
+ cls.add_method('Empty',
+ 'bool',
+ [],
+ is_const=True)
+ ## packetbb.h: std::_List_iterator