rescan bindings
authorTom Henderson <tomh@tomh.org>
Sun, 21 Jun 2009 23:38:40 -0700
changeset 45748c0ff401237e
parent 4573 01e876191f2e
child 4575 ee3191a0b560
rescan bindings
bindings/python/ns3_module_internet_stack.py
bindings/python/ns3_module_list_routing.py
bindings/python/ns3_module_node.py
bindings/python/ns3_module_static_routing.py
bindings/python/ns3modulegen_generated.py
     1.1 --- a/bindings/python/ns3_module_internet_stack.py	Sun Jun 21 23:32:23 2009 -0700
     1.2 +++ b/bindings/python/ns3_module_internet_stack.py	Sun Jun 21 23:38:40 2009 -0700
     1.3 @@ -23,10 +23,6 @@
     1.4      module.add_enum('Flags_t', ['NONE', 'FIN', 'SYN', 'RST', 'PSH', 'ACK', 'URG'], outer_class=root_module['ns3::TcpHeader'])
     1.5      ## udp-header.h: ns3::UdpHeader [class]
     1.6      module.add_class('UdpHeader', parent=root_module['ns3::Header'])
     1.7 -    ## ipv4-static-routing-impl.h: ns3::Ipv4StaticRoutingImpl [class]
     1.8 -    module.add_class('Ipv4StaticRoutingImpl', parent=root_module['ns3::Ipv4StaticRouting'])
     1.9 -    ## ipv4-list-routing.h: ns3::Ipv4ListRouting [class]
    1.10 -    module.add_class('Ipv4ListRouting', parent=root_module['ns3::Ipv4RoutingProtocol'])
    1.11      
    1.12      ## Register a nested module for the namespace Config
    1.13      
    1.14 @@ -85,8 +81,6 @@
    1.15      register_Ns3Icmpv4TimeExceeded_methods(root_module, root_module['ns3::Icmpv4TimeExceeded'])
    1.16      register_Ns3TcpHeader_methods(root_module, root_module['ns3::TcpHeader'])
    1.17      register_Ns3UdpHeader_methods(root_module, root_module['ns3::UdpHeader'])
    1.18 -    register_Ns3Ipv4StaticRoutingImpl_methods(root_module, root_module['ns3::Ipv4StaticRoutingImpl'])
    1.19 -    register_Ns3Ipv4ListRouting_methods(root_module, root_module['ns3::Ipv4ListRouting'])
    1.20      return
    1.21  
    1.22  def register_Ns3Icmpv4DestinationUnreachable_methods(root_module, cls):
    1.23 @@ -521,205 +515,6 @@
    1.24                     is_const=True)
    1.25      return
    1.26  
    1.27 -def register_Ns3Ipv4StaticRoutingImpl_methods(root_module, cls):
    1.28 -    ## ipv4-static-routing-impl.h: ns3::Ipv4StaticRoutingImpl::Ipv4StaticRoutingImpl(ns3::Ipv4StaticRoutingImpl const & arg0) [copy constructor]
    1.29 -    cls.add_constructor([param('ns3::Ipv4StaticRoutingImpl const &', 'arg0')])
    1.30 -    ## ipv4-static-routing-impl.h: static ns3::TypeId ns3::Ipv4StaticRoutingImpl::GetTypeId() [member function]
    1.31 -    cls.add_method('GetTypeId', 
    1.32 -                   'ns3::TypeId', 
    1.33 -                   [], 
    1.34 -                   is_static=True)
    1.35 -    ## ipv4-static-routing-impl.h: ns3::Ipv4StaticRoutingImpl::Ipv4StaticRoutingImpl() [constructor]
    1.36 -    cls.add_constructor([])
    1.37 -    ## ipv4-static-routing-impl.h: ns3::Ptr<ns3::Ipv4Route> ns3::Ipv4StaticRoutingImpl::RouteOutput(ns3::Ipv4Header const & header, uint32_t oif, ns3::Socket::SocketErrno & sockerr) [member function]
    1.38 -    cls.add_method('RouteOutput', 
    1.39 -                   'ns3::Ptr< ns3::Ipv4Route >', 
    1.40 -                   [param('ns3::Ipv4Header const &', 'header'), param('uint32_t', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], 
    1.41 -                   is_virtual=True)
    1.42 -    ## ipv4-static-routing-impl.h: bool ns3::Ipv4StaticRoutingImpl::RouteInput(ns3::Ptr<ns3::Packet const> p, ns3::Ipv4Header const & header, ns3::Ptr<const ns3::NetDevice> idev, ns3::Callback<void,ns3::Ptr<ns3::Ipv4Route>,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback<void,ns3::Ptr<ns3::Ipv4MulticastRoute>,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback<void,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback<void,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ecb) [member function]
    1.43 -    cls.add_method('RouteInput', 
    1.44 -                   'bool', 
    1.45 -                   [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], 
    1.46 -                   is_virtual=True)
    1.47 -    ## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::NotifyInterfaceUp(uint32_t interface) [member function]
    1.48 -    cls.add_method('NotifyInterfaceUp', 
    1.49 -                   'void', 
    1.50 -                   [param('uint32_t', 'interface')], 
    1.51 -                   is_virtual=True)
    1.52 -    ## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::NotifyInterfaceDown(uint32_t interface) [member function]
    1.53 -    cls.add_method('NotifyInterfaceDown', 
    1.54 -                   'void', 
    1.55 -                   [param('uint32_t', 'interface')], 
    1.56 -                   is_virtual=True)
    1.57 -    ## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
    1.58 -    cls.add_method('NotifyAddAddress', 
    1.59 -                   'void', 
    1.60 -                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
    1.61 -                   is_virtual=True)
    1.62 -    ## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
    1.63 -    cls.add_method('NotifyRemoveAddress', 
    1.64 -                   'void', 
    1.65 -                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
    1.66 -                   is_virtual=True)
    1.67 -    ## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::SetIpv4(ns3::Ptr<ns3::Ipv4> ipv4) [member function]
    1.68 -    cls.add_method('SetIpv4', 
    1.69 -                   'void', 
    1.70 -                   [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], 
    1.71 -                   is_virtual=True)
    1.72 -    ## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::AddHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
    1.73 -    cls.add_method('AddHostRouteTo', 
    1.74 -                   'void', 
    1.75 -                   [param('ns3::Ipv4Address', 'dest'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], 
    1.76 -                   is_virtual=True)
    1.77 -    ## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::AddHostRouteTo(ns3::Ipv4Address dest, uint32_t interface) [member function]
    1.78 -    cls.add_method('AddHostRouteTo', 
    1.79 -                   'void', 
    1.80 -                   [param('ns3::Ipv4Address', 'dest'), param('uint32_t', 'interface')], 
    1.81 -                   is_virtual=True)
    1.82 -    ## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
    1.83 -    cls.add_method('AddNetworkRouteTo', 
    1.84 -                   'void', 
    1.85 -                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], 
    1.86 -                   is_virtual=True)
    1.87 -    ## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface) [member function]
    1.88 -    cls.add_method('AddNetworkRouteTo', 
    1.89 -                   'void', 
    1.90 -                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('uint32_t', 'interface')], 
    1.91 -                   is_virtual=True)
    1.92 -    ## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::SetDefaultRoute(ns3::Ipv4Address nextHop, uint32_t interface) [member function]
    1.93 -    cls.add_method('SetDefaultRoute', 
    1.94 -                   'void', 
    1.95 -                   [param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], 
    1.96 -                   is_virtual=True)
    1.97 -    ## ipv4-static-routing-impl.h: uint32_t ns3::Ipv4StaticRoutingImpl::GetNRoutes() [member function]
    1.98 -    cls.add_method('GetNRoutes', 
    1.99 -                   'uint32_t', 
   1.100 -                   [], 
   1.101 -                   is_virtual=True)
   1.102 -    ## ipv4-static-routing-impl.h: ns3::Ipv4RoutingTableEntry ns3::Ipv4StaticRoutingImpl::GetDefaultRoute() [member function]
   1.103 -    cls.add_method('GetDefaultRoute', 
   1.104 -                   'ns3::Ipv4RoutingTableEntry', 
   1.105 -                   [], 
   1.106 -                   is_virtual=True)
   1.107 -    ## ipv4-static-routing-impl.h: ns3::Ipv4RoutingTableEntry ns3::Ipv4StaticRoutingImpl::GetRoute(uint32_t i) [member function]
   1.108 -    cls.add_method('GetRoute', 
   1.109 -                   'ns3::Ipv4RoutingTableEntry', 
   1.110 -                   [param('uint32_t', 'i')], 
   1.111 -                   is_virtual=True)
   1.112 -    ## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::RemoveRoute(uint32_t i) [member function]
   1.113 -    cls.add_method('RemoveRoute', 
   1.114 -                   'void', 
   1.115 -                   [param('uint32_t', 'i')], 
   1.116 -                   is_virtual=True)
   1.117 -    ## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::AddMulticastRoute(ns3::Ipv4Address origin, ns3::Ipv4Address group, uint32_t inputInterface, std::vector<unsigned int, std::allocator<unsigned int> > outputInterfaces) [member function]
   1.118 -    cls.add_method('AddMulticastRoute', 
   1.119 -                   'void', 
   1.120 -                   [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface'), param('std::vector< unsigned int >', 'outputInterfaces')], 
   1.121 -                   is_virtual=True)
   1.122 -    ## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::SetDefaultMulticastRoute(uint32_t outputInterface) [member function]
   1.123 -    cls.add_method('SetDefaultMulticastRoute', 
   1.124 -                   'void', 
   1.125 -                   [param('uint32_t', 'outputInterface')], 
   1.126 -                   is_virtual=True)
   1.127 -    ## ipv4-static-routing-impl.h: uint32_t ns3::Ipv4StaticRoutingImpl::GetNMulticastRoutes() const [member function]
   1.128 -    cls.add_method('GetNMulticastRoutes', 
   1.129 -                   'uint32_t', 
   1.130 -                   [], 
   1.131 -                   is_const=True, is_virtual=True)
   1.132 -    ## ipv4-static-routing-impl.h: ns3::Ipv4MulticastRoutingTableEntry ns3::Ipv4StaticRoutingImpl::GetMulticastRoute(uint32_t i) const [member function]
   1.133 -    cls.add_method('GetMulticastRoute', 
   1.134 -                   'ns3::Ipv4MulticastRoutingTableEntry', 
   1.135 -                   [param('uint32_t', 'i')], 
   1.136 -                   is_const=True, is_virtual=True)
   1.137 -    ## ipv4-static-routing-impl.h: bool ns3::Ipv4StaticRoutingImpl::RemoveMulticastRoute(ns3::Ipv4Address origin, ns3::Ipv4Address group, uint32_t inputInterface) [member function]
   1.138 -    cls.add_method('RemoveMulticastRoute', 
   1.139 -                   'bool', 
   1.140 -                   [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface')], 
   1.141 -                   is_virtual=True)
   1.142 -    ## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::RemoveMulticastRoute(uint32_t index) [member function]
   1.143 -    cls.add_method('RemoveMulticastRoute', 
   1.144 -                   'void', 
   1.145 -                   [param('uint32_t', 'index')], 
   1.146 -                   is_virtual=True)
   1.147 -    ## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::DoDispose() [member function]
   1.148 -    cls.add_method('DoDispose', 
   1.149 -                   'void', 
   1.150 -                   [], 
   1.151 -                   visibility='protected', is_virtual=True)
   1.152 -    return
   1.153 -
   1.154 -def register_Ns3Ipv4ListRouting_methods(root_module, cls):
   1.155 -    ## ipv4-list-routing.h: ns3::Ipv4ListRouting::Ipv4ListRouting(ns3::Ipv4ListRouting const & arg0) [copy constructor]
   1.156 -    cls.add_constructor([param('ns3::Ipv4ListRouting const &', 'arg0')])
   1.157 -    ## ipv4-list-routing.h: static ns3::TypeId ns3::Ipv4ListRouting::GetTypeId() [member function]
   1.158 -    cls.add_method('GetTypeId', 
   1.159 -                   'ns3::TypeId', 
   1.160 -                   [], 
   1.161 -                   is_static=True)
   1.162 -    ## ipv4-list-routing.h: ns3::Ipv4ListRouting::Ipv4ListRouting() [constructor]
   1.163 -    cls.add_constructor([])
   1.164 -    ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::AddRoutingProtocol(ns3::Ptr<ns3::Ipv4RoutingProtocol> routingProtocol, int16_t priority) [member function]
   1.165 -    cls.add_method('AddRoutingProtocol', 
   1.166 -                   'void', 
   1.167 -                   [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol'), param('int16_t', 'priority')], 
   1.168 -                   is_virtual=True)
   1.169 -    ## ipv4-list-routing.h: uint32_t ns3::Ipv4ListRouting::GetNRoutingProtocols() const [member function]
   1.170 -    cls.add_method('GetNRoutingProtocols', 
   1.171 -                   'uint32_t', 
   1.172 -                   [], 
   1.173 -                   is_const=True, is_virtual=True)
   1.174 -    ## ipv4-list-routing.h: ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::Ipv4ListRouting::GetRoutingProtocol(uint32_t index, int16_t & priority) const [member function]
   1.175 -    cls.add_method('GetRoutingProtocol', 
   1.176 -                   'ns3::Ptr< ns3::Ipv4RoutingProtocol >', 
   1.177 -                   [param('uint32_t', 'index'), param('int16_t &', 'priority')], 
   1.178 -                   is_const=True, is_virtual=True)
   1.179 -    ## ipv4-list-routing.h: ns3::Ptr<ns3::Ipv4Route> ns3::Ipv4ListRouting::RouteOutput(ns3::Ipv4Header const & header, uint32_t oif, ns3::Socket::SocketErrno & sockerr) [member function]
   1.180 -    cls.add_method('RouteOutput', 
   1.181 -                   'ns3::Ptr< ns3::Ipv4Route >', 
   1.182 -                   [param('ns3::Ipv4Header const &', 'header'), param('uint32_t', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], 
   1.183 -                   is_virtual=True)
   1.184 -    ## ipv4-list-routing.h: bool ns3::Ipv4ListRouting::RouteInput(ns3::Ptr<ns3::Packet const> p, ns3::Ipv4Header const & header, ns3::Ptr<const ns3::NetDevice> idev, ns3::Callback<void,ns3::Ptr<ns3::Ipv4Route>,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback<void,ns3::Ptr<ns3::Ipv4MulticastRoute>,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback<void,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback<void,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ecb) [member function]
   1.185 -    cls.add_method('RouteInput', 
   1.186 -                   'bool', 
   1.187 -                   [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], 
   1.188 -                   is_virtual=True)
   1.189 -    ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::NotifyInterfaceUp(uint32_t interface) [member function]
   1.190 -    cls.add_method('NotifyInterfaceUp', 
   1.191 -                   'void', 
   1.192 -                   [param('uint32_t', 'interface')], 
   1.193 -                   is_virtual=True)
   1.194 -    ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::NotifyInterfaceDown(uint32_t interface) [member function]
   1.195 -    cls.add_method('NotifyInterfaceDown', 
   1.196 -                   'void', 
   1.197 -                   [param('uint32_t', 'interface')], 
   1.198 -                   is_virtual=True)
   1.199 -    ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
   1.200 -    cls.add_method('NotifyAddAddress', 
   1.201 -                   'void', 
   1.202 -                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
   1.203 -                   is_virtual=True)
   1.204 -    ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
   1.205 -    cls.add_method('NotifyRemoveAddress', 
   1.206 -                   'void', 
   1.207 -                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
   1.208 -                   is_virtual=True)
   1.209 -    ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::SetIpv4(ns3::Ptr<ns3::Ipv4> ipv4) [member function]
   1.210 -    cls.add_method('SetIpv4', 
   1.211 -                   'void', 
   1.212 -                   [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], 
   1.213 -                   is_virtual=True)
   1.214 -    ## ipv4-list-routing.h: ns3::Ptr<ns3::Ipv4StaticRouting> ns3::Ipv4ListRouting::GetStaticRouting() const [member function]
   1.215 -    cls.add_method('GetStaticRouting', 
   1.216 -                   'ns3::Ptr< ns3::Ipv4StaticRouting >', 
   1.217 -                   [], 
   1.218 -                   is_const=True, is_virtual=True)
   1.219 -    ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::DoDispose() [member function]
   1.220 -    cls.add_method('DoDispose', 
   1.221 -                   'void', 
   1.222 -                   [], 
   1.223 -                   visibility='protected', is_virtual=True)
   1.224 -    return
   1.225 -
   1.226  def register_functions(root_module):
   1.227      module = root_module
   1.228      register_functions_ns3_Config(module.get_submodule('Config'), root_module)
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/bindings/python/ns3_module_list_routing.py	Sun Jun 21 23:38:40 2009 -0700
     2.3 @@ -0,0 +1,158 @@
     2.4 +from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
     2.5 +
     2.6 +def register_types(module):
     2.7 +    root_module = module.get_root()
     2.8 +    
     2.9 +    ## ipv4-list-routing.h: ns3::Ipv4ListRouting [class]
    2.10 +    module.add_class('Ipv4ListRouting', parent=root_module['ns3::Ipv4RoutingProtocol'])
    2.11 +    
    2.12 +    ## Register a nested module for the namespace Config
    2.13 +    
    2.14 +    nested_module = module.add_cpp_namespace('Config')
    2.15 +    register_types_ns3_Config(nested_module)
    2.16 +    
    2.17 +    
    2.18 +    ## Register a nested module for the namespace TimeStepPrecision
    2.19 +    
    2.20 +    nested_module = module.add_cpp_namespace('TimeStepPrecision')
    2.21 +    register_types_ns3_TimeStepPrecision(nested_module)
    2.22 +    
    2.23 +    
    2.24 +    ## Register a nested module for the namespace addressUtils
    2.25 +    
    2.26 +    nested_module = module.add_cpp_namespace('addressUtils')
    2.27 +    register_types_ns3_addressUtils(nested_module)
    2.28 +    
    2.29 +    
    2.30 +    ## Register a nested module for the namespace internal
    2.31 +    
    2.32 +    nested_module = module.add_cpp_namespace('internal')
    2.33 +    register_types_ns3_internal(nested_module)
    2.34 +    
    2.35 +    
    2.36 +    ## Register a nested module for the namespace olsr
    2.37 +    
    2.38 +    nested_module = module.add_cpp_namespace('olsr')
    2.39 +    register_types_ns3_olsr(nested_module)
    2.40 +    
    2.41 +
    2.42 +def register_types_ns3_Config(module):
    2.43 +    root_module = module.get_root()
    2.44 +    
    2.45 +
    2.46 +def register_types_ns3_TimeStepPrecision(module):
    2.47 +    root_module = module.get_root()
    2.48 +    
    2.49 +
    2.50 +def register_types_ns3_addressUtils(module):
    2.51 +    root_module = module.get_root()
    2.52 +    
    2.53 +
    2.54 +def register_types_ns3_internal(module):
    2.55 +    root_module = module.get_root()
    2.56 +    
    2.57 +
    2.58 +def register_types_ns3_olsr(module):
    2.59 +    root_module = module.get_root()
    2.60 +    
    2.61 +
    2.62 +def register_methods(root_module):
    2.63 +    register_Ns3Ipv4ListRouting_methods(root_module, root_module['ns3::Ipv4ListRouting'])
    2.64 +    return
    2.65 +
    2.66 +def register_Ns3Ipv4ListRouting_methods(root_module, cls):
    2.67 +    ## ipv4-list-routing.h: ns3::Ipv4ListRouting::Ipv4ListRouting(ns3::Ipv4ListRouting const & arg0) [copy constructor]
    2.68 +    cls.add_constructor([param('ns3::Ipv4ListRouting const &', 'arg0')])
    2.69 +    ## ipv4-list-routing.h: static ns3::TypeId ns3::Ipv4ListRouting::GetTypeId() [member function]
    2.70 +    cls.add_method('GetTypeId', 
    2.71 +                   'ns3::TypeId', 
    2.72 +                   [], 
    2.73 +                   is_static=True)
    2.74 +    ## ipv4-list-routing.h: ns3::Ipv4ListRouting::Ipv4ListRouting() [constructor]
    2.75 +    cls.add_constructor([])
    2.76 +    ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::AddRoutingProtocol(ns3::Ptr<ns3::Ipv4RoutingProtocol> routingProtocol, int16_t priority) [member function]
    2.77 +    cls.add_method('AddRoutingProtocol', 
    2.78 +                   'void', 
    2.79 +                   [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol'), param('int16_t', 'priority')], 
    2.80 +                   is_virtual=True)
    2.81 +    ## ipv4-list-routing.h: uint32_t ns3::Ipv4ListRouting::GetNRoutingProtocols() const [member function]
    2.82 +    cls.add_method('GetNRoutingProtocols', 
    2.83 +                   'uint32_t', 
    2.84 +                   [], 
    2.85 +                   is_const=True, is_virtual=True)
    2.86 +    ## ipv4-list-routing.h: ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::Ipv4ListRouting::GetRoutingProtocol(uint32_t index, int16_t & priority) const [member function]
    2.87 +    cls.add_method('GetRoutingProtocol', 
    2.88 +                   'ns3::Ptr< ns3::Ipv4RoutingProtocol >', 
    2.89 +                   [param('uint32_t', 'index'), param('int16_t &', 'priority')], 
    2.90 +                   is_const=True, is_virtual=True)
    2.91 +    ## ipv4-list-routing.h: ns3::Ptr<ns3::Ipv4Route> ns3::Ipv4ListRouting::RouteOutput(ns3::Ipv4Header const & header, uint32_t oif, ns3::Socket::SocketErrno & sockerr) [member function]
    2.92 +    cls.add_method('RouteOutput', 
    2.93 +                   'ns3::Ptr< ns3::Ipv4Route >', 
    2.94 +                   [param('ns3::Ipv4Header const &', 'header'), param('uint32_t', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], 
    2.95 +                   is_virtual=True)
    2.96 +    ## ipv4-list-routing.h: bool ns3::Ipv4ListRouting::RouteInput(ns3::Ptr<ns3::Packet const> p, ns3::Ipv4Header const & header, ns3::Ptr<const ns3::NetDevice> idev, ns3::Callback<void,ns3::Ptr<ns3::Ipv4Route>,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback<void,ns3::Ptr<ns3::Ipv4MulticastRoute>,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback<void,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback<void,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ecb) [member function]
    2.97 +    cls.add_method('RouteInput', 
    2.98 +                   'bool', 
    2.99 +                   [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], 
   2.100 +                   is_virtual=True)
   2.101 +    ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::NotifyInterfaceUp(uint32_t interface) [member function]
   2.102 +    cls.add_method('NotifyInterfaceUp', 
   2.103 +                   'void', 
   2.104 +                   [param('uint32_t', 'interface')], 
   2.105 +                   is_virtual=True)
   2.106 +    ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::NotifyInterfaceDown(uint32_t interface) [member function]
   2.107 +    cls.add_method('NotifyInterfaceDown', 
   2.108 +                   'void', 
   2.109 +                   [param('uint32_t', 'interface')], 
   2.110 +                   is_virtual=True)
   2.111 +    ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
   2.112 +    cls.add_method('NotifyAddAddress', 
   2.113 +                   'void', 
   2.114 +                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
   2.115 +                   is_virtual=True)
   2.116 +    ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
   2.117 +    cls.add_method('NotifyRemoveAddress', 
   2.118 +                   'void', 
   2.119 +                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
   2.120 +                   is_virtual=True)
   2.121 +    ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::SetIpv4(ns3::Ptr<ns3::Ipv4> ipv4) [member function]
   2.122 +    cls.add_method('SetIpv4', 
   2.123 +                   'void', 
   2.124 +                   [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], 
   2.125 +                   is_virtual=True)
   2.126 +    ## ipv4-list-routing.h: ns3::Ptr<ns3::Ipv4StaticRouting> ns3::Ipv4ListRouting::GetStaticRouting() const [member function]
   2.127 +    cls.add_method('GetStaticRouting', 
   2.128 +                   'ns3::Ptr< ns3::Ipv4StaticRouting >', 
   2.129 +                   [], 
   2.130 +                   is_const=True, is_virtual=True)
   2.131 +    ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::DoDispose() [member function]
   2.132 +    cls.add_method('DoDispose', 
   2.133 +                   'void', 
   2.134 +                   [], 
   2.135 +                   visibility='protected', is_virtual=True)
   2.136 +    return
   2.137 +
   2.138 +def register_functions(root_module):
   2.139 +    module = root_module
   2.140 +    register_functions_ns3_Config(module.get_submodule('Config'), root_module)
   2.141 +    register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
   2.142 +    register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
   2.143 +    register_functions_ns3_internal(module.get_submodule('internal'), root_module)
   2.144 +    register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
   2.145 +    return
   2.146 +
   2.147 +def register_functions_ns3_Config(module, root_module):
   2.148 +    return
   2.149 +
   2.150 +def register_functions_ns3_TimeStepPrecision(module, root_module):
   2.151 +    return
   2.152 +
   2.153 +def register_functions_ns3_addressUtils(module, root_module):
   2.154 +    return
   2.155 +
   2.156 +def register_functions_ns3_internal(module, root_module):
   2.157 +    return
   2.158 +
   2.159 +def register_functions_ns3_olsr(module, root_module):
   2.160 +    return
   2.161 +
     3.1 --- a/bindings/python/ns3_module_node.py	Sun Jun 21 23:32:23 2009 -0700
     3.2 +++ b/bindings/python/ns3_module_node.py	Sun Jun 21 23:38:40 2009 -0700
     3.3 @@ -29,10 +29,6 @@
     3.4      module.add_enum('InterfaceAddressScope_e', ['HOST', 'LINK', 'GLOBAL'], outer_class=root_module['ns3::Ipv4InterfaceAddress'])
     3.5      ## ipv4-address.h: ns3::Ipv4Mask [class]
     3.6      module.add_class('Ipv4Mask')
     3.7 -    ## ipv4-routing-table-entry.h: ns3::Ipv4MulticastRoutingTableEntry [class]
     3.8 -    module.add_class('Ipv4MulticastRoutingTableEntry')
     3.9 -    ## ipv4-routing-table-entry.h: ns3::Ipv4RoutingTableEntry [class]
    3.10 -    module.add_class('Ipv4RoutingTableEntry')
    3.11      ## ipv6-address.h: ns3::Ipv6Address [class]
    3.12      module.add_class('Ipv6Address')
    3.13      ## ipv6-address.h: ns3::Ipv6Address [class]
    3.14 @@ -129,8 +125,6 @@
    3.15      module.add_class('Ipv4RawSocketFactory', parent=root_module['ns3::SocketFactory'])
    3.16      ## ipv4-routing-protocol.h: ns3::Ipv4RoutingProtocol [class]
    3.17      module.add_class('Ipv4RoutingProtocol', parent=root_module['ns3::Object'])
    3.18 -    ## ipv4-static-routing.h: ns3::Ipv4StaticRouting [class]
    3.19 -    module.add_class('Ipv4StaticRouting', parent=root_module['ns3::Ipv4RoutingProtocol'])
    3.20      ## net-device.h: ns3::NetDevice [class]
    3.21      module.add_class('NetDevice', parent=root_module['ns3::Object'])
    3.22      ## net-device.h: ns3::NetDevice::PacketType [enumeration]
    3.23 @@ -204,8 +198,6 @@
    3.24      register_Ns3Ipv4AddressGenerator_methods(root_module, root_module['ns3::Ipv4AddressGenerator'])
    3.25      register_Ns3Ipv4InterfaceAddress_methods(root_module, root_module['ns3::Ipv4InterfaceAddress'])
    3.26      register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
    3.27 -    register_Ns3Ipv4MulticastRoutingTableEntry_methods(root_module, root_module['ns3::Ipv4MulticastRoutingTableEntry'])
    3.28 -    register_Ns3Ipv4RoutingTableEntry_methods(root_module, root_module['ns3::Ipv4RoutingTableEntry'])
    3.29      register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
    3.30      register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
    3.31      register_Ns3Mac48Address_methods(root_module, root_module['ns3::Mac48Address'])
    3.32 @@ -247,7 +239,6 @@
    3.33      register_Ns3Ipv4_methods(root_module, root_module['ns3::Ipv4'])
    3.34      register_Ns3Ipv4RawSocketFactory_methods(root_module, root_module['ns3::Ipv4RawSocketFactory'])
    3.35      register_Ns3Ipv4RoutingProtocol_methods(root_module, root_module['ns3::Ipv4RoutingProtocol'])
    3.36 -    register_Ns3Ipv4StaticRouting_methods(root_module, root_module['ns3::Ipv4StaticRouting'])
    3.37      register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
    3.38      register_Ns3Node_methods(root_module, root_module['ns3::Node'])
    3.39      register_Ns3PacketSocketFactory_methods(root_module, root_module['ns3::PacketSocketFactory'])
    3.40 @@ -685,131 +676,6 @@
    3.41                     [param('uint32_t', 'mask')])
    3.42      return
    3.43  
    3.44 -def register_Ns3Ipv4MulticastRoutingTableEntry_methods(root_module, cls):
    3.45 -    cls.add_output_stream_operator()
    3.46 -    ## ipv4-routing-table-entry.h: ns3::Ipv4MulticastRoutingTableEntry::Ipv4MulticastRoutingTableEntry() [constructor]
    3.47 -    cls.add_constructor([])
    3.48 -    ## ipv4-routing-table-entry.h: ns3::Ipv4MulticastRoutingTableEntry::Ipv4MulticastRoutingTableEntry(ns3::Ipv4MulticastRoutingTableEntry const & route) [copy constructor]
    3.49 -    cls.add_constructor([param('ns3::Ipv4MulticastRoutingTableEntry const &', 'route')])
    3.50 -    ## ipv4-routing-table-entry.h: ns3::Ipv4MulticastRoutingTableEntry::Ipv4MulticastRoutingTableEntry(ns3::Ipv4MulticastRoutingTableEntry const * route) [constructor]
    3.51 -    cls.add_constructor([param('ns3::Ipv4MulticastRoutingTableEntry const *', 'route')])
    3.52 -    ## 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]
    3.53 -    cls.add_method('CreateMulticastRoute', 
    3.54 -                   'ns3::Ipv4MulticastRoutingTableEntry', 
    3.55 -                   [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface'), param('std::vector< unsigned int >', 'outputInterfaces')], 
    3.56 -                   is_static=True)
    3.57 -    ## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4MulticastRoutingTableEntry::GetGroup() const [member function]
    3.58 -    cls.add_method('GetGroup', 
    3.59 -                   'ns3::Ipv4Address', 
    3.60 -                   [], 
    3.61 -                   is_const=True)
    3.62 -    ## ipv4-routing-table-entry.h: uint32_t ns3::Ipv4MulticastRoutingTableEntry::GetInputInterface() const [member function]
    3.63 -    cls.add_method('GetInputInterface', 
    3.64 -                   'uint32_t', 
    3.65 -                   [], 
    3.66 -                   is_const=True)
    3.67 -    ## ipv4-routing-table-entry.h: uint32_t ns3::Ipv4MulticastRoutingTableEntry::GetNOutputInterfaces() const [member function]
    3.68 -    cls.add_method('GetNOutputInterfaces', 
    3.69 -                   'uint32_t', 
    3.70 -                   [], 
    3.71 -                   is_const=True)
    3.72 -    ## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4MulticastRoutingTableEntry::GetOrigin() const [member function]
    3.73 -    cls.add_method('GetOrigin', 
    3.74 -                   'ns3::Ipv4Address', 
    3.75 -                   [], 
    3.76 -                   is_const=True)
    3.77 -    ## ipv4-routing-table-entry.h: uint32_t ns3::Ipv4MulticastRoutingTableEntry::GetOutputInterface(uint32_t n) const [member function]
    3.78 -    cls.add_method('GetOutputInterface', 
    3.79 -                   'uint32_t', 
    3.80 -                   [param('uint32_t', 'n')], 
    3.81 -                   is_const=True)
    3.82 -    ## ipv4-routing-table-entry.h: std::vector<unsigned int, std::allocator<unsigned int> > ns3::Ipv4MulticastRoutingTableEntry::GetOutputInterfaces() const [member function]
    3.83 -    cls.add_method('GetOutputInterfaces', 
    3.84 -                   'std::vector< unsigned int >', 
    3.85 -                   [], 
    3.86 -                   is_const=True)
    3.87 -    return
    3.88 -
    3.89 -def register_Ns3Ipv4RoutingTableEntry_methods(root_module, cls):
    3.90 -    cls.add_output_stream_operator()
    3.91 -    ## ipv4-routing-table-entry.h: ns3::Ipv4RoutingTableEntry::Ipv4RoutingTableEntry() [constructor]
    3.92 -    cls.add_constructor([])
    3.93 -    ## ipv4-routing-table-entry.h: ns3::Ipv4RoutingTableEntry::Ipv4RoutingTableEntry(ns3::Ipv4RoutingTableEntry const & route) [copy constructor]
    3.94 -    cls.add_constructor([param('ns3::Ipv4RoutingTableEntry const &', 'route')])
    3.95 -    ## ipv4-routing-table-entry.h: ns3::Ipv4RoutingTableEntry::Ipv4RoutingTableEntry(ns3::Ipv4RoutingTableEntry const * route) [constructor]
    3.96 -    cls.add_constructor([param('ns3::Ipv4RoutingTableEntry const *', 'route')])
    3.97 -    ## ipv4-routing-table-entry.h: static ns3::Ipv4RoutingTableEntry ns3::Ipv4RoutingTableEntry::CreateDefaultRoute(ns3::Ipv4Address nextHop, uint32_t interface) [member function]
    3.98 -    cls.add_method('CreateDefaultRoute', 
    3.99 -                   'ns3::Ipv4RoutingTableEntry', 
   3.100 -                   [param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], 
   3.101 -                   is_static=True)
   3.102 -    ## ipv4-routing-table-entry.h: static ns3::Ipv4RoutingTableEntry ns3::Ipv4RoutingTableEntry::CreateHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
   3.103 -    cls.add_method('CreateHostRouteTo', 
   3.104 -                   'ns3::Ipv4RoutingTableEntry', 
   3.105 -                   [param('ns3::Ipv4Address', 'dest'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], 
   3.106 -                   is_static=True)
   3.107 -    ## ipv4-routing-table-entry.h: static ns3::Ipv4RoutingTableEntry ns3::Ipv4RoutingTableEntry::CreateHostRouteTo(ns3::Ipv4Address dest, uint32_t interface) [member function]
   3.108 -    cls.add_method('CreateHostRouteTo', 
   3.109 -                   'ns3::Ipv4RoutingTableEntry', 
   3.110 -                   [param('ns3::Ipv4Address', 'dest'), param('uint32_t', 'interface')], 
   3.111 -                   is_static=True)
   3.112 -    ## 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]
   3.113 -    cls.add_method('CreateNetworkRouteTo', 
   3.114 -                   'ns3::Ipv4RoutingTableEntry', 
   3.115 -                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], 
   3.116 -                   is_static=True)
   3.117 -    ## ipv4-routing-table-entry.h: static ns3::Ipv4RoutingTableEntry ns3::Ipv4RoutingTableEntry::CreateNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface) [member function]
   3.118 -    cls.add_method('CreateNetworkRouteTo', 
   3.119 -                   'ns3::Ipv4RoutingTableEntry', 
   3.120 -                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('uint32_t', 'interface')], 
   3.121 -                   is_static=True)
   3.122 -    ## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4RoutingTableEntry::GetDest() const [member function]
   3.123 -    cls.add_method('GetDest', 
   3.124 -                   'ns3::Ipv4Address', 
   3.125 -                   [], 
   3.126 -                   is_const=True)
   3.127 -    ## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4RoutingTableEntry::GetDestNetwork() const [member function]
   3.128 -    cls.add_method('GetDestNetwork', 
   3.129 -                   'ns3::Ipv4Address', 
   3.130 -                   [], 
   3.131 -                   is_const=True)
   3.132 -    ## ipv4-routing-table-entry.h: ns3::Ipv4Mask ns3::Ipv4RoutingTableEntry::GetDestNetworkMask() const [member function]
   3.133 -    cls.add_method('GetDestNetworkMask', 
   3.134 -                   'ns3::Ipv4Mask', 
   3.135 -                   [], 
   3.136 -                   is_const=True)
   3.137 -    ## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4RoutingTableEntry::GetGateway() const [member function]
   3.138 -    cls.add_method('GetGateway', 
   3.139 -                   'ns3::Ipv4Address', 
   3.140 -                   [], 
   3.141 -                   is_const=True)
   3.142 -    ## ipv4-routing-table-entry.h: uint32_t ns3::Ipv4RoutingTableEntry::GetInterface() const [member function]
   3.143 -    cls.add_method('GetInterface', 
   3.144 -                   'uint32_t', 
   3.145 -                   [], 
   3.146 -                   is_const=True)
   3.147 -    ## ipv4-routing-table-entry.h: bool ns3::Ipv4RoutingTableEntry::IsDefault() const [member function]
   3.148 -    cls.add_method('IsDefault', 
   3.149 -                   'bool', 
   3.150 -                   [], 
   3.151 -                   is_const=True)
   3.152 -    ## ipv4-routing-table-entry.h: bool ns3::Ipv4RoutingTableEntry::IsGateway() const [member function]
   3.153 -    cls.add_method('IsGateway', 
   3.154 -                   'bool', 
   3.155 -                   [], 
   3.156 -                   is_const=True)
   3.157 -    ## ipv4-routing-table-entry.h: bool ns3::Ipv4RoutingTableEntry::IsHost() const [member function]
   3.158 -    cls.add_method('IsHost', 
   3.159 -                   'bool', 
   3.160 -                   [], 
   3.161 -                   is_const=True)
   3.162 -    ## ipv4-routing-table-entry.h: bool ns3::Ipv4RoutingTableEntry::IsNetwork() const [member function]
   3.163 -    cls.add_method('IsNetwork', 
   3.164 -                   'bool', 
   3.165 -                   [], 
   3.166 -                   is_const=True)
   3.167 -    return
   3.168 -
   3.169  def register_Ns3Ipv6Address_methods(root_module, cls):
   3.170      cls.add_binary_comparison_operator('!=')
   3.171      cls.add_binary_comparison_operator('<')
   3.172 @@ -2886,93 +2752,6 @@
   3.173                     is_pure_virtual=True, is_virtual=True)
   3.174      return
   3.175  
   3.176 -def register_Ns3Ipv4StaticRouting_methods(root_module, cls):
   3.177 -    ## ipv4-static-routing.h: ns3::Ipv4StaticRouting::Ipv4StaticRouting(ns3::Ipv4StaticRouting const & arg0) [copy constructor]
   3.178 -    cls.add_constructor([param('ns3::Ipv4StaticRouting const &', 'arg0')])
   3.179 -    ## ipv4-static-routing.h: ns3::Ipv4StaticRouting::Ipv4StaticRouting() [constructor]
   3.180 -    cls.add_constructor([])
   3.181 -    ## ipv4-static-routing.h: static ns3::TypeId ns3::Ipv4StaticRouting::GetTypeId() [member function]
   3.182 -    cls.add_method('GetTypeId', 
   3.183 -                   'ns3::TypeId', 
   3.184 -                   [], 
   3.185 -                   is_static=True)
   3.186 -    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::AddHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
   3.187 -    cls.add_method('AddHostRouteTo', 
   3.188 -                   'void', 
   3.189 -                   [param('ns3::Ipv4Address', 'dest'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], 
   3.190 -                   is_pure_virtual=True, is_virtual=True)
   3.191 -    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::AddHostRouteTo(ns3::Ipv4Address dest, uint32_t interface) [member function]
   3.192 -    cls.add_method('AddHostRouteTo', 
   3.193 -                   'void', 
   3.194 -                   [param('ns3::Ipv4Address', 'dest'), param('uint32_t', 'interface')], 
   3.195 -                   is_pure_virtual=True, is_virtual=True)
   3.196 -    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
   3.197 -    cls.add_method('AddNetworkRouteTo', 
   3.198 -                   'void', 
   3.199 -                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], 
   3.200 -                   is_pure_virtual=True, is_virtual=True)
   3.201 -    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface) [member function]
   3.202 -    cls.add_method('AddNetworkRouteTo', 
   3.203 -                   'void', 
   3.204 -                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('uint32_t', 'interface')], 
   3.205 -                   is_pure_virtual=True, is_virtual=True)
   3.206 -    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::SetDefaultRoute(ns3::Ipv4Address nextHop, uint32_t interface) [member function]
   3.207 -    cls.add_method('SetDefaultRoute', 
   3.208 -                   'void', 
   3.209 -                   [param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], 
   3.210 -                   is_pure_virtual=True, is_virtual=True)
   3.211 -    ## ipv4-static-routing.h: uint32_t ns3::Ipv4StaticRouting::GetNRoutes() [member function]
   3.212 -    cls.add_method('GetNRoutes', 
   3.213 -                   'uint32_t', 
   3.214 -                   [], 
   3.215 -                   is_pure_virtual=True, is_virtual=True)
   3.216 -    ## ipv4-static-routing.h: ns3::Ipv4RoutingTableEntry ns3::Ipv4StaticRouting::GetDefaultRoute() [member function]
   3.217 -    cls.add_method('GetDefaultRoute', 
   3.218 -                   'ns3::Ipv4RoutingTableEntry', 
   3.219 -                   [], 
   3.220 -                   is_pure_virtual=True, is_virtual=True)
   3.221 -    ## ipv4-static-routing.h: ns3::Ipv4RoutingTableEntry ns3::Ipv4StaticRouting::GetRoute(uint32_t i) [member function]
   3.222 -    cls.add_method('GetRoute', 
   3.223 -                   'ns3::Ipv4RoutingTableEntry', 
   3.224 -                   [param('uint32_t', 'i')], 
   3.225 -                   is_pure_virtual=True, is_virtual=True)
   3.226 -    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::RemoveRoute(uint32_t i) [member function]
   3.227 -    cls.add_method('RemoveRoute', 
   3.228 -                   'void', 
   3.229 -                   [param('uint32_t', 'i')], 
   3.230 -                   is_pure_virtual=True, is_virtual=True)
   3.231 -    ## 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]
   3.232 -    cls.add_method('AddMulticastRoute', 
   3.233 -                   'void', 
   3.234 -                   [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface'), param('std::vector< unsigned int >', 'outputInterfaces')], 
   3.235 -                   is_pure_virtual=True, is_virtual=True)
   3.236 -    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::SetDefaultMulticastRoute(uint32_t outputInterface) [member function]
   3.237 -    cls.add_method('SetDefaultMulticastRoute', 
   3.238 -                   'void', 
   3.239 -                   [param('uint32_t', 'outputInterface')], 
   3.240 -                   is_pure_virtual=True, is_virtual=True)
   3.241 -    ## ipv4-static-routing.h: uint32_t ns3::Ipv4StaticRouting::GetNMulticastRoutes() const [member function]
   3.242 -    cls.add_method('GetNMulticastRoutes', 
   3.243 -                   'uint32_t', 
   3.244 -                   [], 
   3.245 -                   is_pure_virtual=True, is_const=True, is_virtual=True)
   3.246 -    ## ipv4-static-routing.h: ns3::Ipv4MulticastRoutingTableEntry ns3::Ipv4StaticRouting::GetMulticastRoute(uint32_t i) const [member function]
   3.247 -    cls.add_method('GetMulticastRoute', 
   3.248 -                   'ns3::Ipv4MulticastRoutingTableEntry', 
   3.249 -                   [param('uint32_t', 'i')], 
   3.250 -                   is_pure_virtual=True, is_const=True, is_virtual=True)
   3.251 -    ## ipv4-static-routing.h: bool ns3::Ipv4StaticRouting::RemoveMulticastRoute(ns3::Ipv4Address origin, ns3::Ipv4Address group, uint32_t inputInterface) [member function]
   3.252 -    cls.add_method('RemoveMulticastRoute', 
   3.253 -                   'bool', 
   3.254 -                   [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface')], 
   3.255 -                   is_pure_virtual=True, is_virtual=True)
   3.256 -    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::RemoveMulticastRoute(uint32_t index) [member function]
   3.257 -    cls.add_method('RemoveMulticastRoute', 
   3.258 -                   'void', 
   3.259 -                   [param('uint32_t', 'index')], 
   3.260 -                   is_pure_virtual=True, is_virtual=True)
   3.261 -    return
   3.262 -
   3.263  def register_Ns3NetDevice_methods(root_module, cls):
   3.264      ## net-device.h: ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor]
   3.265      cls.add_constructor([param('ns3::NetDevice const &', 'arg0')])
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/bindings/python/ns3_module_static_routing.py	Sun Jun 21 23:38:40 2009 -0700
     4.3 @@ -0,0 +1,331 @@
     4.4 +from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
     4.5 +
     4.6 +def register_types(module):
     4.7 +    root_module = module.get_root()
     4.8 +    
     4.9 +    ## ipv4-routing-table-entry.h: ns3::Ipv4MulticastRoutingTableEntry [class]
    4.10 +    module.add_class('Ipv4MulticastRoutingTableEntry')
    4.11 +    ## ipv4-routing-table-entry.h: ns3::Ipv4RoutingTableEntry [class]
    4.12 +    module.add_class('Ipv4RoutingTableEntry')
    4.13 +    ## ipv4-static-routing.h: ns3::Ipv4StaticRouting [class]
    4.14 +    module.add_class('Ipv4StaticRouting', parent=root_module['ns3::Ipv4RoutingProtocol'])
    4.15 +    
    4.16 +    ## Register a nested module for the namespace Config
    4.17 +    
    4.18 +    nested_module = module.add_cpp_namespace('Config')
    4.19 +    register_types_ns3_Config(nested_module)
    4.20 +    
    4.21 +    
    4.22 +    ## Register a nested module for the namespace TimeStepPrecision
    4.23 +    
    4.24 +    nested_module = module.add_cpp_namespace('TimeStepPrecision')
    4.25 +    register_types_ns3_TimeStepPrecision(nested_module)
    4.26 +    
    4.27 +    
    4.28 +    ## Register a nested module for the namespace addressUtils
    4.29 +    
    4.30 +    nested_module = module.add_cpp_namespace('addressUtils')
    4.31 +    register_types_ns3_addressUtils(nested_module)
    4.32 +    
    4.33 +    
    4.34 +    ## Register a nested module for the namespace internal
    4.35 +    
    4.36 +    nested_module = module.add_cpp_namespace('internal')
    4.37 +    register_types_ns3_internal(nested_module)
    4.38 +    
    4.39 +    
    4.40 +    ## Register a nested module for the namespace olsr
    4.41 +    
    4.42 +    nested_module = module.add_cpp_namespace('olsr')
    4.43 +    register_types_ns3_olsr(nested_module)
    4.44 +    
    4.45 +
    4.46 +def register_types_ns3_Config(module):
    4.47 +    root_module = module.get_root()
    4.48 +    
    4.49 +
    4.50 +def register_types_ns3_TimeStepPrecision(module):
    4.51 +    root_module = module.get_root()
    4.52 +    
    4.53 +
    4.54 +def register_types_ns3_addressUtils(module):
    4.55 +    root_module = module.get_root()
    4.56 +    
    4.57 +
    4.58 +def register_types_ns3_internal(module):
    4.59 +    root_module = module.get_root()
    4.60 +    
    4.61 +
    4.62 +def register_types_ns3_olsr(module):
    4.63 +    root_module = module.get_root()
    4.64 +    
    4.65 +
    4.66 +def register_methods(root_module):
    4.67 +    register_Ns3Ipv4MulticastRoutingTableEntry_methods(root_module, root_module['ns3::Ipv4MulticastRoutingTableEntry'])
    4.68 +    register_Ns3Ipv4RoutingTableEntry_methods(root_module, root_module['ns3::Ipv4RoutingTableEntry'])
    4.69 +    register_Ns3Ipv4StaticRouting_methods(root_module, root_module['ns3::Ipv4StaticRouting'])
    4.70 +    return
    4.71 +
    4.72 +def register_Ns3Ipv4MulticastRoutingTableEntry_methods(root_module, cls):
    4.73 +    cls.add_output_stream_operator()
    4.74 +    ## ipv4-routing-table-entry.h: ns3::Ipv4MulticastRoutingTableEntry::Ipv4MulticastRoutingTableEntry() [constructor]
    4.75 +    cls.add_constructor([])
    4.76 +    ## ipv4-routing-table-entry.h: ns3::Ipv4MulticastRoutingTableEntry::Ipv4MulticastRoutingTableEntry(ns3::Ipv4MulticastRoutingTableEntry const & route) [copy constructor]
    4.77 +    cls.add_constructor([param('ns3::Ipv4MulticastRoutingTableEntry const &', 'route')])
    4.78 +    ## ipv4-routing-table-entry.h: ns3::Ipv4MulticastRoutingTableEntry::Ipv4MulticastRoutingTableEntry(ns3::Ipv4MulticastRoutingTableEntry const * route) [constructor]
    4.79 +    cls.add_constructor([param('ns3::Ipv4MulticastRoutingTableEntry const *', 'route')])
    4.80 +    ## 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]
    4.81 +    cls.add_method('CreateMulticastRoute', 
    4.82 +                   'ns3::Ipv4MulticastRoutingTableEntry', 
    4.83 +                   [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface'), param('std::vector< unsigned int >', 'outputInterfaces')], 
    4.84 +                   is_static=True)
    4.85 +    ## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4MulticastRoutingTableEntry::GetGroup() const [member function]
    4.86 +    cls.add_method('GetGroup', 
    4.87 +                   'ns3::Ipv4Address', 
    4.88 +                   [], 
    4.89 +                   is_const=True)
    4.90 +    ## ipv4-routing-table-entry.h: uint32_t ns3::Ipv4MulticastRoutingTableEntry::GetInputInterface() const [member function]
    4.91 +    cls.add_method('GetInputInterface', 
    4.92 +                   'uint32_t', 
    4.93 +                   [], 
    4.94 +                   is_const=True)
    4.95 +    ## ipv4-routing-table-entry.h: uint32_t ns3::Ipv4MulticastRoutingTableEntry::GetNOutputInterfaces() const [member function]
    4.96 +    cls.add_method('GetNOutputInterfaces', 
    4.97 +                   'uint32_t', 
    4.98 +                   [], 
    4.99 +                   is_const=True)
   4.100 +    ## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4MulticastRoutingTableEntry::GetOrigin() const [member function]
   4.101 +    cls.add_method('GetOrigin', 
   4.102 +                   'ns3::Ipv4Address', 
   4.103 +                   [], 
   4.104 +                   is_const=True)
   4.105 +    ## ipv4-routing-table-entry.h: uint32_t ns3::Ipv4MulticastRoutingTableEntry::GetOutputInterface(uint32_t n) const [member function]
   4.106 +    cls.add_method('GetOutputInterface', 
   4.107 +                   'uint32_t', 
   4.108 +                   [param('uint32_t', 'n')], 
   4.109 +                   is_const=True)
   4.110 +    ## ipv4-routing-table-entry.h: std::vector<unsigned int, std::allocator<unsigned int> > ns3::Ipv4MulticastRoutingTableEntry::GetOutputInterfaces() const [member function]
   4.111 +    cls.add_method('GetOutputInterfaces', 
   4.112 +                   'std::vector< unsigned int >', 
   4.113 +                   [], 
   4.114 +                   is_const=True)
   4.115 +    return
   4.116 +
   4.117 +def register_Ns3Ipv4RoutingTableEntry_methods(root_module, cls):
   4.118 +    cls.add_output_stream_operator()
   4.119 +    ## ipv4-routing-table-entry.h: ns3::Ipv4RoutingTableEntry::Ipv4RoutingTableEntry() [constructor]
   4.120 +    cls.add_constructor([])
   4.121 +    ## ipv4-routing-table-entry.h: ns3::Ipv4RoutingTableEntry::Ipv4RoutingTableEntry(ns3::Ipv4RoutingTableEntry const & route) [copy constructor]
   4.122 +    cls.add_constructor([param('ns3::Ipv4RoutingTableEntry const &', 'route')])
   4.123 +    ## ipv4-routing-table-entry.h: ns3::Ipv4RoutingTableEntry::Ipv4RoutingTableEntry(ns3::Ipv4RoutingTableEntry const * route) [constructor]
   4.124 +    cls.add_constructor([param('ns3::Ipv4RoutingTableEntry const *', 'route')])
   4.125 +    ## ipv4-routing-table-entry.h: static ns3::Ipv4RoutingTableEntry ns3::Ipv4RoutingTableEntry::CreateDefaultRoute(ns3::Ipv4Address nextHop, uint32_t interface) [member function]
   4.126 +    cls.add_method('CreateDefaultRoute', 
   4.127 +                   'ns3::Ipv4RoutingTableEntry', 
   4.128 +                   [param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], 
   4.129 +                   is_static=True)
   4.130 +    ## ipv4-routing-table-entry.h: static ns3::Ipv4RoutingTableEntry ns3::Ipv4RoutingTableEntry::CreateHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
   4.131 +    cls.add_method('CreateHostRouteTo', 
   4.132 +                   'ns3::Ipv4RoutingTableEntry', 
   4.133 +                   [param('ns3::Ipv4Address', 'dest'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], 
   4.134 +                   is_static=True)
   4.135 +    ## ipv4-routing-table-entry.h: static ns3::Ipv4RoutingTableEntry ns3::Ipv4RoutingTableEntry::CreateHostRouteTo(ns3::Ipv4Address dest, uint32_t interface) [member function]
   4.136 +    cls.add_method('CreateHostRouteTo', 
   4.137 +                   'ns3::Ipv4RoutingTableEntry', 
   4.138 +                   [param('ns3::Ipv4Address', 'dest'), param('uint32_t', 'interface')], 
   4.139 +                   is_static=True)
   4.140 +    ## 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]
   4.141 +    cls.add_method('CreateNetworkRouteTo', 
   4.142 +                   'ns3::Ipv4RoutingTableEntry', 
   4.143 +                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], 
   4.144 +                   is_static=True)
   4.145 +    ## ipv4-routing-table-entry.h: static ns3::Ipv4RoutingTableEntry ns3::Ipv4RoutingTableEntry::CreateNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface) [member function]
   4.146 +    cls.add_method('CreateNetworkRouteTo', 
   4.147 +                   'ns3::Ipv4RoutingTableEntry', 
   4.148 +                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('uint32_t', 'interface')], 
   4.149 +                   is_static=True)
   4.150 +    ## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4RoutingTableEntry::GetDest() const [member function]
   4.151 +    cls.add_method('GetDest', 
   4.152 +                   'ns3::Ipv4Address', 
   4.153 +                   [], 
   4.154 +                   is_const=True)
   4.155 +    ## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4RoutingTableEntry::GetDestNetwork() const [member function]
   4.156 +    cls.add_method('GetDestNetwork', 
   4.157 +                   'ns3::Ipv4Address', 
   4.158 +                   [], 
   4.159 +                   is_const=True)
   4.160 +    ## ipv4-routing-table-entry.h: ns3::Ipv4Mask ns3::Ipv4RoutingTableEntry::GetDestNetworkMask() const [member function]
   4.161 +    cls.add_method('GetDestNetworkMask', 
   4.162 +                   'ns3::Ipv4Mask', 
   4.163 +                   [], 
   4.164 +                   is_const=True)
   4.165 +    ## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4RoutingTableEntry::GetGateway() const [member function]
   4.166 +    cls.add_method('GetGateway', 
   4.167 +                   'ns3::Ipv4Address', 
   4.168 +                   [], 
   4.169 +                   is_const=True)
   4.170 +    ## ipv4-routing-table-entry.h: uint32_t ns3::Ipv4RoutingTableEntry::GetInterface() const [member function]
   4.171 +    cls.add_method('GetInterface', 
   4.172 +                   'uint32_t', 
   4.173 +                   [], 
   4.174 +                   is_const=True)
   4.175 +    ## ipv4-routing-table-entry.h: bool ns3::Ipv4RoutingTableEntry::IsDefault() const [member function]
   4.176 +    cls.add_method('IsDefault', 
   4.177 +                   'bool', 
   4.178 +                   [], 
   4.179 +                   is_const=True)
   4.180 +    ## ipv4-routing-table-entry.h: bool ns3::Ipv4RoutingTableEntry::IsGateway() const [member function]
   4.181 +    cls.add_method('IsGateway', 
   4.182 +                   'bool', 
   4.183 +                   [], 
   4.184 +                   is_const=True)
   4.185 +    ## ipv4-routing-table-entry.h: bool ns3::Ipv4RoutingTableEntry::IsHost() const [member function]
   4.186 +    cls.add_method('IsHost', 
   4.187 +                   'bool', 
   4.188 +                   [], 
   4.189 +                   is_const=True)
   4.190 +    ## ipv4-routing-table-entry.h: bool ns3::Ipv4RoutingTableEntry::IsNetwork() const [member function]
   4.191 +    cls.add_method('IsNetwork', 
   4.192 +                   'bool', 
   4.193 +                   [], 
   4.194 +                   is_const=True)
   4.195 +    return
   4.196 +
   4.197 +def register_Ns3Ipv4StaticRouting_methods(root_module, cls):
   4.198 +    ## ipv4-static-routing.h: ns3::Ipv4StaticRouting::Ipv4StaticRouting(ns3::Ipv4StaticRouting const & arg0) [copy constructor]
   4.199 +    cls.add_constructor([param('ns3::Ipv4StaticRouting const &', 'arg0')])
   4.200 +    ## ipv4-static-routing.h: static ns3::TypeId ns3::Ipv4StaticRouting::GetTypeId() [member function]
   4.201 +    cls.add_method('GetTypeId', 
   4.202 +                   'ns3::TypeId', 
   4.203 +                   [], 
   4.204 +                   is_static=True)
   4.205 +    ## ipv4-static-routing.h: ns3::Ipv4StaticRouting::Ipv4StaticRouting() [constructor]
   4.206 +    cls.add_constructor([])
   4.207 +    ## ipv4-static-routing.h: ns3::Ptr<ns3::Ipv4Route> ns3::Ipv4StaticRouting::RouteOutput(ns3::Ipv4Header const & header, uint32_t oif, ns3::Socket::SocketErrno & sockerr) [member function]
   4.208 +    cls.add_method('RouteOutput', 
   4.209 +                   'ns3::Ptr< ns3::Ipv4Route >', 
   4.210 +                   [param('ns3::Ipv4Header const &', 'header'), param('uint32_t', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], 
   4.211 +                   is_virtual=True)
   4.212 +    ## 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::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ecb) [member function]
   4.213 +    cls.add_method('RouteInput', 
   4.214 +                   'bool', 
   4.215 +                   [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], 
   4.216 +                   is_virtual=True)
   4.217 +    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::NotifyInterfaceUp(uint32_t interface) [member function]
   4.218 +    cls.add_method('NotifyInterfaceUp', 
   4.219 +                   'void', 
   4.220 +                   [param('uint32_t', 'interface')], 
   4.221 +                   is_virtual=True)
   4.222 +    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::NotifyInterfaceDown(uint32_t interface) [member function]
   4.223 +    cls.add_method('NotifyInterfaceDown', 
   4.224 +                   'void', 
   4.225 +                   [param('uint32_t', 'interface')], 
   4.226 +                   is_virtual=True)
   4.227 +    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
   4.228 +    cls.add_method('NotifyAddAddress', 
   4.229 +                   'void', 
   4.230 +                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
   4.231 +                   is_virtual=True)
   4.232 +    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
   4.233 +    cls.add_method('NotifyRemoveAddress', 
   4.234 +                   'void', 
   4.235 +                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
   4.236 +                   is_virtual=True)
   4.237 +    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::SetIpv4(ns3::Ptr<ns3::Ipv4> ipv4) [member function]
   4.238 +    cls.add_method('SetIpv4', 
   4.239 +                   'void', 
   4.240 +                   [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], 
   4.241 +                   is_virtual=True)
   4.242 +    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::AddHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
   4.243 +    cls.add_method('AddHostRouteTo', 
   4.244 +                   'void', 
   4.245 +                   [param('ns3::Ipv4Address', 'dest'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')])
   4.246 +    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::AddHostRouteTo(ns3::Ipv4Address dest, uint32_t interface) [member function]
   4.247 +    cls.add_method('AddHostRouteTo', 
   4.248 +                   'void', 
   4.249 +                   [param('ns3::Ipv4Address', 'dest'), param('uint32_t', 'interface')])
   4.250 +    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
   4.251 +    cls.add_method('AddNetworkRouteTo', 
   4.252 +                   'void', 
   4.253 +                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')])
   4.254 +    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface) [member function]
   4.255 +    cls.add_method('AddNetworkRouteTo', 
   4.256 +                   'void', 
   4.257 +                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('uint32_t', 'interface')])
   4.258 +    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::SetDefaultRoute(ns3::Ipv4Address nextHop, uint32_t interface) [member function]
   4.259 +    cls.add_method('SetDefaultRoute', 
   4.260 +                   'void', 
   4.261 +                   [param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')])
   4.262 +    ## ipv4-static-routing.h: uint32_t ns3::Ipv4StaticRouting::GetNRoutes() [member function]
   4.263 +    cls.add_method('GetNRoutes', 
   4.264 +                   'uint32_t', 
   4.265 +                   [])
   4.266 +    ## ipv4-static-routing.h: ns3::Ipv4RoutingTableEntry ns3::Ipv4StaticRouting::GetDefaultRoute() [member function]
   4.267 +    cls.add_method('GetDefaultRoute', 
   4.268 +                   'ns3::Ipv4RoutingTableEntry', 
   4.269 +                   [])
   4.270 +    ## ipv4-static-routing.h: ns3::Ipv4RoutingTableEntry ns3::Ipv4StaticRouting::GetRoute(uint32_t i) [member function]
   4.271 +    cls.add_method('GetRoute', 
   4.272 +                   'ns3::Ipv4RoutingTableEntry', 
   4.273 +                   [param('uint32_t', 'i')])
   4.274 +    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::RemoveRoute(uint32_t i) [member function]
   4.275 +    cls.add_method('RemoveRoute', 
   4.276 +                   'void', 
   4.277 +                   [param('uint32_t', 'i')])
   4.278 +    ## 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]
   4.279 +    cls.add_method('AddMulticastRoute', 
   4.280 +                   'void', 
   4.281 +                   [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface'), param('std::vector< unsigned int >', 'outputInterfaces')])
   4.282 +    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::SetDefaultMulticastRoute(uint32_t outputInterface) [member function]
   4.283 +    cls.add_method('SetDefaultMulticastRoute', 
   4.284 +                   'void', 
   4.285 +                   [param('uint32_t', 'outputInterface')])
   4.286 +    ## ipv4-static-routing.h: uint32_t ns3::Ipv4StaticRouting::GetNMulticastRoutes() const [member function]
   4.287 +    cls.add_method('GetNMulticastRoutes', 
   4.288 +                   'uint32_t', 
   4.289 +                   [], 
   4.290 +                   is_const=True)
   4.291 +    ## ipv4-static-routing.h: ns3::Ipv4MulticastRoutingTableEntry ns3::Ipv4StaticRouting::GetMulticastRoute(uint32_t i) const [member function]
   4.292 +    cls.add_method('GetMulticastRoute', 
   4.293 +                   'ns3::Ipv4MulticastRoutingTableEntry', 
   4.294 +                   [param('uint32_t', 'i')], 
   4.295 +                   is_const=True)
   4.296 +    ## ipv4-static-routing.h: bool ns3::Ipv4StaticRouting::RemoveMulticastRoute(ns3::Ipv4Address origin, ns3::Ipv4Address group, uint32_t inputInterface) [member function]
   4.297 +    cls.add_method('RemoveMulticastRoute', 
   4.298 +                   'bool', 
   4.299 +                   [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface')])
   4.300 +    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::RemoveMulticastRoute(uint32_t index) [member function]
   4.301 +    cls.add_method('RemoveMulticastRoute', 
   4.302 +                   'void', 
   4.303 +                   [param('uint32_t', 'index')])
   4.304 +    ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::DoDispose() [member function]
   4.305 +    cls.add_method('DoDispose', 
   4.306 +                   'void', 
   4.307 +                   [], 
   4.308 +                   visibility='protected', is_virtual=True)
   4.309 +    return
   4.310 +
   4.311 +def register_functions(root_module):
   4.312 +    module = root_module
   4.313 +    register_functions_ns3_Config(module.get_submodule('Config'), root_module)
   4.314 +    register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
   4.315 +    register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
   4.316 +    register_functions_ns3_internal(module.get_submodule('internal'), root_module)
   4.317 +    register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
   4.318 +    return
   4.319 +
   4.320 +def register_functions_ns3_Config(module, root_module):
   4.321 +    return
   4.322 +
   4.323 +def register_functions_ns3_TimeStepPrecision(module, root_module):
   4.324 +    return
   4.325 +
   4.326 +def register_functions_ns3_addressUtils(module, root_module):
   4.327 +    return
   4.328 +
   4.329 +def register_functions_ns3_internal(module, root_module):
   4.330 +    return
   4.331 +
   4.332 +def register_functions_ns3_olsr(module, root_module):
   4.333 +    return
   4.334 +
     5.1 --- a/bindings/python/ns3modulegen_generated.py	Sun Jun 21 23:32:23 2009 -0700
     5.2 +++ b/bindings/python/ns3modulegen_generated.py	Sun Jun 21 23:38:40 2009 -0700
     5.3 @@ -22,14 +22,16 @@
     5.4  import ns3_module_v4ping
     5.5  import ns3_module_packet_sink
     5.6  import ns3_module_stats
     5.7 -import ns3_module_virtual_net_device
     5.8  import ns3_module_onoff
     5.9  import ns3_module_internet_stack
    5.10  import ns3_module_point_to_point
    5.11  import ns3_module_csma
    5.12 -import ns3_module_bridge
    5.13 +import ns3_module_list_routing
    5.14 +import ns3_module_static_routing
    5.15 +import ns3_module_virtual_net_device
    5.16  import ns3_module_wifi
    5.17  import ns3_module_emu
    5.18 +import ns3_module_bridge
    5.19  import ns3_module_global_routing
    5.20  import ns3_module_udp_echo
    5.21  import ns3_module_olsr
    5.22 @@ -152,17 +154,6 @@
    5.23          ns3_module_stats__local.register_types(module)
    5.24      
    5.25      root_module.end_section('ns3_module_stats')
    5.26 -    root_module.begin_section('ns3_module_virtual_net_device')
    5.27 -    ns3_module_virtual_net_device.register_types(module)
    5.28 -    
    5.29 -    try:
    5.30 -        import ns3_module_virtual_net_device__local
    5.31 -    except ImportError:
    5.32 -        pass
    5.33 -    else:
    5.34 -        ns3_module_virtual_net_device__local.register_types(module)
    5.35 -    
    5.36 -    root_module.end_section('ns3_module_virtual_net_device')
    5.37      root_module.begin_section('ns3_module_onoff')
    5.38      ns3_module_onoff.register_types(module)
    5.39      
    5.40 @@ -207,17 +198,39 @@
    5.41          ns3_module_csma__local.register_types(module)
    5.42      
    5.43      root_module.end_section('ns3_module_csma')
    5.44 -    root_module.begin_section('ns3_module_bridge')
    5.45 -    ns3_module_bridge.register_types(module)
    5.46 +    root_module.begin_section('ns3_module_list_routing')
    5.47 +    ns3_module_list_routing.register_types(module)
    5.48      
    5.49      try:
    5.50 -        import ns3_module_bridge__local
    5.51 +        import ns3_module_list_routing__local
    5.52      except ImportError:
    5.53          pass
    5.54      else:
    5.55 -        ns3_module_bridge__local.register_types(module)
    5.56 +        ns3_module_list_routing__local.register_types(module)
    5.57      
    5.58 -    root_module.end_section('ns3_module_bridge')
    5.59 +    root_module.end_section('ns3_module_list_routing')
    5.60 +    root_module.begin_section('ns3_module_static_routing')
    5.61 +    ns3_module_static_routing.register_types(module)
    5.62 +    
    5.63 +    try:
    5.64 +        import ns3_module_static_routing__local
    5.65 +    except ImportError:
    5.66 +        pass
    5.67 +    else:
    5.68 +        ns3_module_static_routing__local.register_types(module)
    5.69 +    
    5.70 +    root_module.end_section('ns3_module_static_routing')
    5.71 +    root_module.begin_section('ns3_module_virtual_net_device')
    5.72 +    ns3_module_virtual_net_device.register_types(module)
    5.73 +    
    5.74 +    try:
    5.75 +        import ns3_module_virtual_net_device__local
    5.76 +    except ImportError:
    5.77 +        pass
    5.78 +    else:
    5.79 +        ns3_module_virtual_net_device__local.register_types(module)
    5.80 +    
    5.81 +    root_module.end_section('ns3_module_virtual_net_device')
    5.82      root_module.begin_section('ns3_module_wifi')
    5.83      ns3_module_wifi.register_types(module)
    5.84      
    5.85 @@ -240,6 +253,17 @@
    5.86          ns3_module_emu__local.register_types(module)
    5.87      
    5.88      root_module.end_section('ns3_module_emu')
    5.89 +    root_module.begin_section('ns3_module_bridge')
    5.90 +    ns3_module_bridge.register_types(module)
    5.91 +    
    5.92 +    try:
    5.93 +        import ns3_module_bridge__local
    5.94 +    except ImportError:
    5.95 +        pass
    5.96 +    else:
    5.97 +        ns3_module_bridge__local.register_types(module)
    5.98 +    
    5.99 +    root_module.end_section('ns3_module_bridge')
   5.100      root_module.begin_section('ns3_module_global_routing')
   5.101      ns3_module_global_routing.register_types(module)
   5.102      
   5.103 @@ -450,17 +474,6 @@
   5.104          ns3_module_stats__local.register_methods(root_module)
   5.105      
   5.106      root_module.end_section('ns3_module_stats')
   5.107 -    root_module.begin_section('ns3_module_virtual_net_device')
   5.108 -    ns3_module_virtual_net_device.register_methods(root_module)
   5.109 -    
   5.110 -    try:
   5.111 -        import ns3_module_virtual_net_device__local
   5.112 -    except ImportError:
   5.113 -        pass
   5.114 -    else:
   5.115 -        ns3_module_virtual_net_device__local.register_methods(root_module)
   5.116 -    
   5.117 -    root_module.end_section('ns3_module_virtual_net_device')
   5.118      root_module.begin_section('ns3_module_onoff')
   5.119      ns3_module_onoff.register_methods(root_module)
   5.120      
   5.121 @@ -505,17 +518,39 @@
   5.122          ns3_module_csma__local.register_methods(root_module)
   5.123      
   5.124      root_module.end_section('ns3_module_csma')
   5.125 -    root_module.begin_section('ns3_module_bridge')
   5.126 -    ns3_module_bridge.register_methods(root_module)
   5.127 +    root_module.begin_section('ns3_module_list_routing')
   5.128 +    ns3_module_list_routing.register_methods(root_module)
   5.129      
   5.130      try:
   5.131 -        import ns3_module_bridge__local
   5.132 +        import ns3_module_list_routing__local
   5.133      except ImportError:
   5.134          pass
   5.135      else:
   5.136 -        ns3_module_bridge__local.register_methods(root_module)
   5.137 +        ns3_module_list_routing__local.register_methods(root_module)
   5.138      
   5.139 -    root_module.end_section('ns3_module_bridge')
   5.140 +    root_module.end_section('ns3_module_list_routing')
   5.141 +    root_module.begin_section('ns3_module_static_routing')
   5.142 +    ns3_module_static_routing.register_methods(root_module)
   5.143 +    
   5.144 +    try:
   5.145 +        import ns3_module_static_routing__local
   5.146 +    except ImportError:
   5.147 +        pass
   5.148 +    else:
   5.149 +        ns3_module_static_routing__local.register_methods(root_module)
   5.150 +    
   5.151 +    root_module.end_section('ns3_module_static_routing')
   5.152 +    root_module.begin_section('ns3_module_virtual_net_device')
   5.153 +    ns3_module_virtual_net_device.register_methods(root_module)
   5.154 +    
   5.155 +    try:
   5.156 +        import ns3_module_virtual_net_device__local
   5.157 +    except ImportError:
   5.158 +        pass
   5.159 +    else:
   5.160 +        ns3_module_virtual_net_device__local.register_methods(root_module)
   5.161 +    
   5.162 +    root_module.end_section('ns3_module_virtual_net_device')
   5.163      root_module.begin_section('ns3_module_wifi')
   5.164      ns3_module_wifi.register_methods(root_module)
   5.165      
   5.166 @@ -538,6 +573,17 @@
   5.167          ns3_module_emu__local.register_methods(root_module)
   5.168      
   5.169      root_module.end_section('ns3_module_emu')
   5.170 +    root_module.begin_section('ns3_module_bridge')
   5.171 +    ns3_module_bridge.register_methods(root_module)
   5.172 +    
   5.173 +    try:
   5.174 +        import ns3_module_bridge__local
   5.175 +    except ImportError:
   5.176 +        pass
   5.177 +    else:
   5.178 +        ns3_module_bridge__local.register_methods(root_module)
   5.179 +    
   5.180 +    root_module.end_section('ns3_module_bridge')
   5.181      root_module.begin_section('ns3_module_global_routing')
   5.182      ns3_module_global_routing.register_methods(root_module)
   5.183      
   5.184 @@ -696,17 +742,6 @@
   5.185          ns3_module_stats__local.register_functions(root_module)
   5.186      
   5.187      root_module.end_section('ns3_module_stats')
   5.188 -    root_module.begin_section('ns3_module_virtual_net_device')
   5.189 -    ns3_module_virtual_net_device.register_functions(root_module)
   5.190 -    
   5.191 -    try:
   5.192 -        import ns3_module_virtual_net_device__local
   5.193 -    except ImportError:
   5.194 -        pass
   5.195 -    else:
   5.196 -        ns3_module_virtual_net_device__local.register_functions(root_module)
   5.197 -    
   5.198 -    root_module.end_section('ns3_module_virtual_net_device')
   5.199      root_module.begin_section('ns3_module_onoff')
   5.200      ns3_module_onoff.register_functions(root_module)
   5.201      
   5.202 @@ -751,17 +786,39 @@
   5.203          ns3_module_csma__local.register_functions(root_module)
   5.204      
   5.205      root_module.end_section('ns3_module_csma')
   5.206 -    root_module.begin_section('ns3_module_bridge')
   5.207 -    ns3_module_bridge.register_functions(root_module)
   5.208 +    root_module.begin_section('ns3_module_list_routing')
   5.209 +    ns3_module_list_routing.register_functions(root_module)
   5.210      
   5.211      try:
   5.212 -        import ns3_module_bridge__local
   5.213 +        import ns3_module_list_routing__local
   5.214      except ImportError:
   5.215          pass
   5.216      else:
   5.217 -        ns3_module_bridge__local.register_functions(root_module)
   5.218 +        ns3_module_list_routing__local.register_functions(root_module)
   5.219      
   5.220 -    root_module.end_section('ns3_module_bridge')
   5.221 +    root_module.end_section('ns3_module_list_routing')
   5.222 +    root_module.begin_section('ns3_module_static_routing')
   5.223 +    ns3_module_static_routing.register_functions(root_module)
   5.224 +    
   5.225 +    try:
   5.226 +        import ns3_module_static_routing__local
   5.227 +    except ImportError:
   5.228 +        pass
   5.229 +    else:
   5.230 +        ns3_module_static_routing__local.register_functions(root_module)
   5.231 +    
   5.232 +    root_module.end_section('ns3_module_static_routing')
   5.233 +    root_module.begin_section('ns3_module_virtual_net_device')
   5.234 +    ns3_module_virtual_net_device.register_functions(root_module)
   5.235 +    
   5.236 +    try:
   5.237 +        import ns3_module_virtual_net_device__local
   5.238 +    except ImportError:
   5.239 +        pass
   5.240 +    else:
   5.241 +        ns3_module_virtual_net_device__local.register_functions(root_module)
   5.242 +    
   5.243 +    root_module.end_section('ns3_module_virtual_net_device')
   5.244      root_module.begin_section('ns3_module_wifi')
   5.245      ns3_module_wifi.register_functions(root_module)
   5.246      
   5.247 @@ -784,6 +841,17 @@
   5.248          ns3_module_emu__local.register_functions(root_module)
   5.249      
   5.250      root_module.end_section('ns3_module_emu')
   5.251 +    root_module.begin_section('ns3_module_bridge')
   5.252 +    ns3_module_bridge.register_functions(root_module)
   5.253 +    
   5.254 +    try:
   5.255 +        import ns3_module_bridge__local
   5.256 +    except ImportError:
   5.257 +        pass
   5.258 +    else:
   5.259 +        ns3_module_bridge__local.register_functions(root_module)
   5.260 +    
   5.261 +    root_module.end_section('ns3_module_bridge')
   5.262      root_module.begin_section('ns3_module_global_routing')
   5.263      ns3_module_global_routing.register_functions(root_module)
   5.264