bindings/python/ns3_module_static_routing.py
author Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
Sat, 04 Jul 2009 08:15:48 +0200
changeset 4654 2eaebe77d66b
parent 4604 98cb594222af
permissions -rw-r--r--
Added tag ns-3.5 for changeset c975274c9707
tomh@4574
     1
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
tomh@4574
     2
tomh@4574
     3
def register_types(module):
tomh@4574
     4
    root_module = module.get_root()
tomh@4574
     5
    
tomh@4574
     6
    ## ipv4-routing-table-entry.h: ns3::Ipv4MulticastRoutingTableEntry [class]
tomh@4574
     7
    module.add_class('Ipv4MulticastRoutingTableEntry')
tomh@4574
     8
    ## ipv4-routing-table-entry.h: ns3::Ipv4RoutingTableEntry [class]
tomh@4574
     9
    module.add_class('Ipv4RoutingTableEntry')
tomh@4574
    10
    ## ipv4-static-routing.h: ns3::Ipv4StaticRouting [class]
tomh@4574
    11
    module.add_class('Ipv4StaticRouting', parent=root_module['ns3::Ipv4RoutingProtocol'])
tomh@4574
    12
    
tomh@4574
    13
    ## Register a nested module for the namespace Config
tomh@4574
    14
    
tomh@4574
    15
    nested_module = module.add_cpp_namespace('Config')
tomh@4574
    16
    register_types_ns3_Config(nested_module)
tomh@4574
    17
    
tomh@4574
    18
    
tomh@4574
    19
    ## Register a nested module for the namespace TimeStepPrecision
tomh@4574
    20
    
tomh@4574
    21
    nested_module = module.add_cpp_namespace('TimeStepPrecision')
tomh@4574
    22
    register_types_ns3_TimeStepPrecision(nested_module)
tomh@4574
    23
    
tomh@4574
    24
    
tomh@4574
    25
    ## Register a nested module for the namespace addressUtils
tomh@4574
    26
    
tomh@4574
    27
    nested_module = module.add_cpp_namespace('addressUtils')
tomh@4574
    28
    register_types_ns3_addressUtils(nested_module)
tomh@4574
    29
    
tomh@4574
    30
    
tomh@4574
    31
    ## Register a nested module for the namespace internal
tomh@4574
    32
    
tomh@4574
    33
    nested_module = module.add_cpp_namespace('internal')
tomh@4574
    34
    register_types_ns3_internal(nested_module)
tomh@4574
    35
    
tomh@4574
    36
    
tomh@4574
    37
    ## Register a nested module for the namespace olsr
tomh@4574
    38
    
tomh@4574
    39
    nested_module = module.add_cpp_namespace('olsr')
tomh@4574
    40
    register_types_ns3_olsr(nested_module)
tomh@4574
    41
    
tomh@4574
    42
tomh@4574
    43
def register_types_ns3_Config(module):
tomh@4574
    44
    root_module = module.get_root()
tomh@4574
    45
    
tomh@4574
    46
tomh@4574
    47
def register_types_ns3_TimeStepPrecision(module):
tomh@4574
    48
    root_module = module.get_root()
tomh@4574
    49
    
tomh@4574
    50
tomh@4574
    51
def register_types_ns3_addressUtils(module):
tomh@4574
    52
    root_module = module.get_root()
tomh@4574
    53
    
tomh@4574
    54
tomh@4574
    55
def register_types_ns3_internal(module):
tomh@4574
    56
    root_module = module.get_root()
tomh@4574
    57
    
tomh@4574
    58
tomh@4574
    59
def register_types_ns3_olsr(module):
tomh@4574
    60
    root_module = module.get_root()
tomh@4574
    61
    
tomh@4574
    62
tomh@4574
    63
def register_methods(root_module):
tomh@4574
    64
    register_Ns3Ipv4MulticastRoutingTableEntry_methods(root_module, root_module['ns3::Ipv4MulticastRoutingTableEntry'])
tomh@4574
    65
    register_Ns3Ipv4RoutingTableEntry_methods(root_module, root_module['ns3::Ipv4RoutingTableEntry'])
tomh@4574
    66
    register_Ns3Ipv4StaticRouting_methods(root_module, root_module['ns3::Ipv4StaticRouting'])
tomh@4574
    67
    return
tomh@4574
    68
tomh@4574
    69
def register_Ns3Ipv4MulticastRoutingTableEntry_methods(root_module, cls):
tomh@4574
    70
    cls.add_output_stream_operator()
tomh@4574
    71
    ## ipv4-routing-table-entry.h: ns3::Ipv4MulticastRoutingTableEntry::Ipv4MulticastRoutingTableEntry() [constructor]
tomh@4574
    72
    cls.add_constructor([])
tomh@4574
    73
    ## ipv4-routing-table-entry.h: ns3::Ipv4MulticastRoutingTableEntry::Ipv4MulticastRoutingTableEntry(ns3::Ipv4MulticastRoutingTableEntry const & route) [copy constructor]
tomh@4574
    74
    cls.add_constructor([param('ns3::Ipv4MulticastRoutingTableEntry const &', 'route')])
tomh@4574
    75
    ## ipv4-routing-table-entry.h: ns3::Ipv4MulticastRoutingTableEntry::Ipv4MulticastRoutingTableEntry(ns3::Ipv4MulticastRoutingTableEntry const * route) [constructor]
tomh@4574
    76
    cls.add_constructor([param('ns3::Ipv4MulticastRoutingTableEntry const *', 'route')])
tomh@4574
    77
    ## ipv4-routing-table-entry.h: static ns3::Ipv4MulticastRoutingTableEntry ns3::Ipv4MulticastRoutingTableEntry::CreateMulticastRoute(ns3::Ipv4Address origin, ns3::Ipv4Address group, uint32_t inputInterface, std::vector<unsigned int, std::allocator<unsigned int> > outputInterfaces) [member function]
tomh@4574
    78
    cls.add_method('CreateMulticastRoute', 
tomh@4574
    79
                   'ns3::Ipv4MulticastRoutingTableEntry', 
tomh@4574
    80
                   [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface'), param('std::vector< unsigned int >', 'outputInterfaces')], 
tomh@4574
    81
                   is_static=True)
tomh@4574
    82
    ## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4MulticastRoutingTableEntry::GetGroup() const [member function]
tomh@4574
    83
    cls.add_method('GetGroup', 
tomh@4574
    84
                   'ns3::Ipv4Address', 
tomh@4574
    85
                   [], 
tomh@4574
    86
                   is_const=True)
tomh@4574
    87
    ## ipv4-routing-table-entry.h: uint32_t ns3::Ipv4MulticastRoutingTableEntry::GetInputInterface() const [member function]
tomh@4574
    88
    cls.add_method('GetInputInterface', 
tomh@4574
    89
                   'uint32_t', 
tomh@4574
    90
                   [], 
tomh@4574
    91
                   is_const=True)
tomh@4574
    92
    ## ipv4-routing-table-entry.h: uint32_t ns3::Ipv4MulticastRoutingTableEntry::GetNOutputInterfaces() const [member function]
tomh@4574
    93
    cls.add_method('GetNOutputInterfaces', 
tomh@4574
    94
                   'uint32_t', 
tomh@4574
    95
                   [], 
tomh@4574
    96
                   is_const=True)
tomh@4574
    97
    ## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4MulticastRoutingTableEntry::GetOrigin() const [member function]
tomh@4574
    98
    cls.add_method('GetOrigin', 
tomh@4574
    99
                   'ns3::Ipv4Address', 
tomh@4574
   100
                   [], 
tomh@4574
   101
                   is_const=True)
tomh@4574
   102
    ## ipv4-routing-table-entry.h: uint32_t ns3::Ipv4MulticastRoutingTableEntry::GetOutputInterface(uint32_t n) const [member function]
tomh@4574
   103
    cls.add_method('GetOutputInterface', 
tomh@4574
   104
                   'uint32_t', 
tomh@4574
   105
                   [param('uint32_t', 'n')], 
tomh@4574
   106
                   is_const=True)
tomh@4574
   107
    ## ipv4-routing-table-entry.h: std::vector<unsigned int, std::allocator<unsigned int> > ns3::Ipv4MulticastRoutingTableEntry::GetOutputInterfaces() const [member function]
tomh@4574
   108
    cls.add_method('GetOutputInterfaces', 
tomh@4574
   109
                   'std::vector< unsigned int >', 
tomh@4574
   110
                   [], 
tomh@4574
   111
                   is_const=True)
tomh@4574
   112
    return
tomh@4574
   113
tomh@4574
   114
def register_Ns3Ipv4RoutingTableEntry_methods(root_module, cls):
tomh@4574
   115
    cls.add_output_stream_operator()
tomh@4574
   116
    ## ipv4-routing-table-entry.h: ns3::Ipv4RoutingTableEntry::Ipv4RoutingTableEntry() [constructor]
tomh@4574
   117
    cls.add_constructor([])
tomh@4574
   118
    ## ipv4-routing-table-entry.h: ns3::Ipv4RoutingTableEntry::Ipv4RoutingTableEntry(ns3::Ipv4RoutingTableEntry const & route) [copy constructor]
tomh@4574
   119
    cls.add_constructor([param('ns3::Ipv4RoutingTableEntry const &', 'route')])
tomh@4574
   120
    ## ipv4-routing-table-entry.h: ns3::Ipv4RoutingTableEntry::Ipv4RoutingTableEntry(ns3::Ipv4RoutingTableEntry const * route) [constructor]
tomh@4574
   121
    cls.add_constructor([param('ns3::Ipv4RoutingTableEntry const *', 'route')])
tomh@4574
   122
    ## ipv4-routing-table-entry.h: static ns3::Ipv4RoutingTableEntry ns3::Ipv4RoutingTableEntry::CreateDefaultRoute(ns3::Ipv4Address nextHop, uint32_t interface) [member function]
tomh@4574
   123
    cls.add_method('CreateDefaultRoute', 
tomh@4574
   124
                   'ns3::Ipv4RoutingTableEntry', 
tomh@4574
   125
                   [param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], 
tomh@4574
   126
                   is_static=True)
tomh@4574
   127
    ## ipv4-routing-table-entry.h: static ns3::Ipv4RoutingTableEntry ns3::Ipv4RoutingTableEntry::CreateHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
tomh@4574
   128
    cls.add_method('CreateHostRouteTo', 
tomh@4574
   129
                   'ns3::Ipv4RoutingTableEntry', 
tomh@4574
   130
                   [param('ns3::Ipv4Address', 'dest'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], 
tomh@4574
   131
                   is_static=True)
tomh@4574
   132
    ## ipv4-routing-table-entry.h: static ns3::Ipv4RoutingTableEntry ns3::Ipv4RoutingTableEntry::CreateHostRouteTo(ns3::Ipv4Address dest, uint32_t interface) [member function]
tomh@4574
   133
    cls.add_method('CreateHostRouteTo', 
tomh@4574
   134
                   'ns3::Ipv4RoutingTableEntry', 
tomh@4574
   135
                   [param('ns3::Ipv4Address', 'dest'), param('uint32_t', 'interface')], 
tomh@4574
   136
                   is_static=True)
tomh@4574
   137
    ## ipv4-routing-table-entry.h: static ns3::Ipv4RoutingTableEntry ns3::Ipv4RoutingTableEntry::CreateNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
tomh@4574
   138
    cls.add_method('CreateNetworkRouteTo', 
tomh@4574
   139
                   'ns3::Ipv4RoutingTableEntry', 
tomh@4574
   140
                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], 
tomh@4574
   141
                   is_static=True)
tomh@4574
   142
    ## ipv4-routing-table-entry.h: static ns3::Ipv4RoutingTableEntry ns3::Ipv4RoutingTableEntry::CreateNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface) [member function]
tomh@4574
   143
    cls.add_method('CreateNetworkRouteTo', 
tomh@4574
   144
                   'ns3::Ipv4RoutingTableEntry', 
tomh@4574
   145
                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('uint32_t', 'interface')], 
tomh@4574
   146
                   is_static=True)
tomh@4574
   147
    ## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4RoutingTableEntry::GetDest() const [member function]
tomh@4574
   148
    cls.add_method('GetDest', 
tomh@4574
   149
                   'ns3::Ipv4Address', 
tomh@4574
   150
                   [], 
tomh@4574
   151
                   is_const=True)
tomh@4574
   152
    ## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4RoutingTableEntry::GetDestNetwork() const [member function]
tomh@4574
   153
    cls.add_method('GetDestNetwork', 
tomh@4574
   154
                   'ns3::Ipv4Address', 
tomh@4574
   155
                   [], 
tomh@4574
   156
                   is_const=True)
tomh@4574
   157
    ## ipv4-routing-table-entry.h: ns3::Ipv4Mask ns3::Ipv4RoutingTableEntry::GetDestNetworkMask() const [member function]
tomh@4574
   158
    cls.add_method('GetDestNetworkMask', 
tomh@4574
   159
                   'ns3::Ipv4Mask', 
tomh@4574
   160
                   [], 
tomh@4574
   161
                   is_const=True)
tomh@4574
   162
    ## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4RoutingTableEntry::GetGateway() const [member function]
tomh@4574
   163
    cls.add_method('GetGateway', 
tomh@4574
   164
                   'ns3::Ipv4Address', 
tomh@4574
   165
                   [], 
tomh@4574
   166
                   is_const=True)
tomh@4574
   167
    ## ipv4-routing-table-entry.h: uint32_t ns3::Ipv4RoutingTableEntry::GetInterface() const [member function]
tomh@4574
   168
    cls.add_method('GetInterface', 
tomh@4574
   169
                   'uint32_t', 
tomh@4574
   170
                   [], 
tomh@4574
   171
                   is_const=True)
tomh@4574
   172
    ## ipv4-routing-table-entry.h: bool ns3::Ipv4RoutingTableEntry::IsDefault() const [member function]
tomh@4574
   173
    cls.add_method('IsDefault', 
tomh@4574
   174
                   'bool', 
tomh@4574
   175
                   [], 
tomh@4574
   176
                   is_const=True)
tomh@4574
   177
    ## ipv4-routing-table-entry.h: bool ns3::Ipv4RoutingTableEntry::IsGateway() const [member function]
tomh@4574
   178
    cls.add_method('IsGateway', 
tomh@4574
   179
                   'bool', 
tomh@4574
   180
                   [], 
tomh@4574
   181
                   is_const=True)
tomh@4574
   182
    ## ipv4-routing-table-entry.h: bool ns3::Ipv4RoutingTableEntry::IsHost() const [member function]
tomh@4574
   183
    cls.add_method('IsHost', 
tomh@4574
   184
                   'bool', 
tomh@4574
   185
                   [], 
tomh@4574
   186
                   is_const=True)
tomh@4574
   187
    ## ipv4-routing-table-entry.h: bool ns3::Ipv4RoutingTableEntry::IsNetwork() const [member function]
tomh@4574
   188
    cls.add_method('IsNetwork', 
tomh@4574
   189
                   'bool', 
tomh@4574
   190
                   [], 
tomh@4574
   191
                   is_const=True)
tomh@4574
   192
    return
tomh@4574
   193
tomh@4574
   194
def register_Ns3Ipv4StaticRouting_methods(root_module, cls):
tomh@4574
   195
    ## ipv4-static-routing.h: ns3::Ipv4StaticRouting::Ipv4StaticRouting(ns3::Ipv4StaticRouting const & arg0) [copy constructor]
tomh@4574
   196
    cls.add_constructor([param('ns3::Ipv4StaticRouting const &', 'arg0')])
tomh@4574
   197
    ## ipv4-static-routing.h: static ns3::TypeId ns3::Ipv4StaticRouting::GetTypeId() [member function]
tomh@4574
   198
    cls.add_method('GetTypeId', 
tomh@4574
   199
                   'ns3::TypeId', 
tomh@4574
   200
                   [], 
tomh@4574
   201
                   is_static=True)
tomh@4574
   202
    ## ipv4-static-routing.h: ns3::Ipv4StaticRouting::Ipv4StaticRouting() [constructor]
tomh@4574
   203
    cls.add_constructor([])
mathieu@4604
   204
    ## ipv4-static-routing.h: ns3::Ptr<ns3::Ipv4Route> ns3::Ipv4StaticRouting::RouteOutput(ns3::Ptr<ns3::Packet> p, ns3::Ipv4Header const & header, uint32_t oif, ns3::Socket::SocketErrno & sockerr) [member function]
tomh@4574
   205
    cls.add_method('RouteOutput', 
tomh@4574
   206
                   'ns3::Ptr< ns3::Ipv4Route >', 
mathieu@4604
   207
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('uint32_t', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], 
tomh@4574
   208
                   is_virtual=True)
mathieu@4608
   209
    ## ipv4-static-routing.h: bool ns3::Ipv4StaticRouting::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]
tomh@4574
   210
    cls.add_method('RouteInput', 
tomh@4574
   211
                   'bool', 
mathieu@4608
   212
                   [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')], 
tomh@4574
   213
                   is_virtual=True)
tomh@4574
   214
    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::NotifyInterfaceUp(uint32_t interface) [member function]
tomh@4574
   215
    cls.add_method('NotifyInterfaceUp', 
tomh@4574
   216
                   'void', 
tomh@4574
   217
                   [param('uint32_t', 'interface')], 
tomh@4574
   218
                   is_virtual=True)
tomh@4574
   219
    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::NotifyInterfaceDown(uint32_t interface) [member function]
tomh@4574
   220
    cls.add_method('NotifyInterfaceDown', 
tomh@4574
   221
                   'void', 
tomh@4574
   222
                   [param('uint32_t', 'interface')], 
tomh@4574
   223
                   is_virtual=True)
tomh@4574
   224
    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
tomh@4574
   225
    cls.add_method('NotifyAddAddress', 
tomh@4574
   226
                   'void', 
tomh@4574
   227
                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
tomh@4574
   228
                   is_virtual=True)
tomh@4574
   229
    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
tomh@4574
   230
    cls.add_method('NotifyRemoveAddress', 
tomh@4574
   231
                   'void', 
tomh@4574
   232
                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
tomh@4574
   233
                   is_virtual=True)
tomh@4574
   234
    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::SetIpv4(ns3::Ptr<ns3::Ipv4> ipv4) [member function]
tomh@4574
   235
    cls.add_method('SetIpv4', 
tomh@4574
   236
                   'void', 
tomh@4574
   237
                   [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], 
tomh@4574
   238
                   is_virtual=True)
tomh@4574
   239
    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::AddHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
tomh@4574
   240
    cls.add_method('AddHostRouteTo', 
tomh@4574
   241
                   'void', 
tomh@4574
   242
                   [param('ns3::Ipv4Address', 'dest'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')])
tomh@4574
   243
    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::AddHostRouteTo(ns3::Ipv4Address dest, uint32_t interface) [member function]
tomh@4574
   244
    cls.add_method('AddHostRouteTo', 
tomh@4574
   245
                   'void', 
tomh@4574
   246
                   [param('ns3::Ipv4Address', 'dest'), param('uint32_t', 'interface')])
tomh@4574
   247
    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
tomh@4574
   248
    cls.add_method('AddNetworkRouteTo', 
tomh@4574
   249
                   'void', 
tomh@4574
   250
                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')])
tomh@4574
   251
    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface) [member function]
tomh@4574
   252
    cls.add_method('AddNetworkRouteTo', 
tomh@4574
   253
                   'void', 
tomh@4574
   254
                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('uint32_t', 'interface')])
tomh@4574
   255
    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::SetDefaultRoute(ns3::Ipv4Address nextHop, uint32_t interface) [member function]
tomh@4574
   256
    cls.add_method('SetDefaultRoute', 
tomh@4574
   257
                   'void', 
tomh@4574
   258
                   [param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')])
tomh@4574
   259
    ## ipv4-static-routing.h: uint32_t ns3::Ipv4StaticRouting::GetNRoutes() [member function]
tomh@4574
   260
    cls.add_method('GetNRoutes', 
tomh@4574
   261
                   'uint32_t', 
tomh@4574
   262
                   [])
tomh@4574
   263
    ## ipv4-static-routing.h: ns3::Ipv4RoutingTableEntry ns3::Ipv4StaticRouting::GetDefaultRoute() [member function]
tomh@4574
   264
    cls.add_method('GetDefaultRoute', 
tomh@4574
   265
                   'ns3::Ipv4RoutingTableEntry', 
tomh@4574
   266
                   [])
tomh@4574
   267
    ## ipv4-static-routing.h: ns3::Ipv4RoutingTableEntry ns3::Ipv4StaticRouting::GetRoute(uint32_t i) [member function]
tomh@4574
   268
    cls.add_method('GetRoute', 
tomh@4574
   269
                   'ns3::Ipv4RoutingTableEntry', 
tomh@4574
   270
                   [param('uint32_t', 'i')])
tomh@4574
   271
    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::RemoveRoute(uint32_t i) [member function]
tomh@4574
   272
    cls.add_method('RemoveRoute', 
tomh@4574
   273
                   'void', 
tomh@4574
   274
                   [param('uint32_t', 'i')])
tomh@4574
   275
    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::AddMulticastRoute(ns3::Ipv4Address origin, ns3::Ipv4Address group, uint32_t inputInterface, std::vector<unsigned int, std::allocator<unsigned int> > outputInterfaces) [member function]
tomh@4574
   276
    cls.add_method('AddMulticastRoute', 
tomh@4574
   277
                   'void', 
tomh@4574
   278
                   [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface'), param('std::vector< unsigned int >', 'outputInterfaces')])
tomh@4574
   279
    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::SetDefaultMulticastRoute(uint32_t outputInterface) [member function]
tomh@4574
   280
    cls.add_method('SetDefaultMulticastRoute', 
tomh@4574
   281
                   'void', 
tomh@4574
   282
                   [param('uint32_t', 'outputInterface')])
tomh@4574
   283
    ## ipv4-static-routing.h: uint32_t ns3::Ipv4StaticRouting::GetNMulticastRoutes() const [member function]
tomh@4574
   284
    cls.add_method('GetNMulticastRoutes', 
tomh@4574
   285
                   'uint32_t', 
tomh@4574
   286
                   [], 
tomh@4574
   287
                   is_const=True)
tomh@4574
   288
    ## ipv4-static-routing.h: ns3::Ipv4MulticastRoutingTableEntry ns3::Ipv4StaticRouting::GetMulticastRoute(uint32_t i) const [member function]
tomh@4574
   289
    cls.add_method('GetMulticastRoute', 
tomh@4574
   290
                   'ns3::Ipv4MulticastRoutingTableEntry', 
tomh@4574
   291
                   [param('uint32_t', 'i')], 
tomh@4574
   292
                   is_const=True)
tomh@4574
   293
    ## ipv4-static-routing.h: bool ns3::Ipv4StaticRouting::RemoveMulticastRoute(ns3::Ipv4Address origin, ns3::Ipv4Address group, uint32_t inputInterface) [member function]
tomh@4574
   294
    cls.add_method('RemoveMulticastRoute', 
tomh@4574
   295
                   'bool', 
tomh@4574
   296
                   [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface')])
tomh@4574
   297
    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::RemoveMulticastRoute(uint32_t index) [member function]
tomh@4574
   298
    cls.add_method('RemoveMulticastRoute', 
tomh@4574
   299
                   'void', 
tomh@4574
   300
                   [param('uint32_t', 'index')])
tomh@4574
   301
    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::DoDispose() [member function]
tomh@4574
   302
    cls.add_method('DoDispose', 
tomh@4574
   303
                   'void', 
tomh@4574
   304
                   [], 
tomh@4574
   305
                   visibility='protected', is_virtual=True)
tomh@4574
   306
    return
tomh@4574
   307
tomh@4574
   308
def register_functions(root_module):
tomh@4574
   309
    module = root_module
tomh@4574
   310
    register_functions_ns3_Config(module.get_submodule('Config'), root_module)
tomh@4574
   311
    register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
tomh@4574
   312
    register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
tomh@4574
   313
    register_functions_ns3_internal(module.get_submodule('internal'), root_module)
tomh@4574
   314
    register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
tomh@4574
   315
    return
tomh@4574
   316
tomh@4574
   317
def register_functions_ns3_Config(module, root_module):
tomh@4574
   318
    return
tomh@4574
   319
tomh@4574
   320
def register_functions_ns3_TimeStepPrecision(module, root_module):
tomh@4574
   321
    return
tomh@4574
   322
tomh@4574
   323
def register_functions_ns3_addressUtils(module, root_module):
tomh@4574
   324
    return
tomh@4574
   325
tomh@4574
   326
def register_functions_ns3_internal(module, root_module):
tomh@4574
   327
    return
tomh@4574
   328
tomh@4574
   329
def register_functions_ns3_olsr(module, root_module):
tomh@4574
   330
    return
tomh@4574
   331