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