bindings/python/ns3_module_node.py
changeset 4382 e63da65e8fb9
parent 4361 5e4790eea56f
child 4407 ef566eeff84f
equal deleted inserted replaced
4381:3e6c3e4b55bd 4382:e63da65e8fb9
    21     module.add_class('Ipv4Address')
    21     module.add_class('Ipv4Address')
    22     ## ipv4-address.h: ns3::Ipv4Address [class]
    22     ## ipv4-address.h: ns3::Ipv4Address [class]
    23     root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address'])
    23     root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address'])
    24     ## ipv4-address-generator.h: ns3::Ipv4AddressGenerator [class]
    24     ## ipv4-address-generator.h: ns3::Ipv4AddressGenerator [class]
    25     module.add_class('Ipv4AddressGenerator')
    25     module.add_class('Ipv4AddressGenerator')
       
    26     ## ipv4-interface-address.h: ns3::Ipv4InterfaceAddress [class]
       
    27     module.add_class('Ipv4InterfaceAddress')
       
    28     ## ipv4-interface-address.h: ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e [enumeration]
       
    29     module.add_enum('InterfaceAddressScope_e', ['HOST', 'LINK', 'GLOBAL'], outer_class=root_module['ns3::Ipv4InterfaceAddress'])
    26     ## ipv4-address.h: ns3::Ipv4Mask [class]
    30     ## ipv4-address.h: ns3::Ipv4Mask [class]
    27     module.add_class('Ipv4Mask')
    31     module.add_class('Ipv4Mask')
    28     ## ipv4-route.h: ns3::Ipv4MulticastRoute [class]
    32     ## ipv4-route.h: ns3::Ipv4MulticastRoute [class]
    29     module.add_class('Ipv4MulticastRoute')
    33     module.add_class('Ipv4MulticastRoute')
    30     ## ipv4-route.h: ns3::Ipv4Route [class]
    34     ## ipv4-route.h: ns3::Ipv4Route [class]
   180     register_Ns3Address_methods(root_module, root_module['ns3::Address'])
   184     register_Ns3Address_methods(root_module, root_module['ns3::Address'])
   181     register_Ns3Inet6SocketAddress_methods(root_module, root_module['ns3::Inet6SocketAddress'])
   185     register_Ns3Inet6SocketAddress_methods(root_module, root_module['ns3::Inet6SocketAddress'])
   182     register_Ns3InetSocketAddress_methods(root_module, root_module['ns3::InetSocketAddress'])
   186     register_Ns3InetSocketAddress_methods(root_module, root_module['ns3::InetSocketAddress'])
   183     register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
   187     register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
   184     register_Ns3Ipv4AddressGenerator_methods(root_module, root_module['ns3::Ipv4AddressGenerator'])
   188     register_Ns3Ipv4AddressGenerator_methods(root_module, root_module['ns3::Ipv4AddressGenerator'])
       
   189     register_Ns3Ipv4InterfaceAddress_methods(root_module, root_module['ns3::Ipv4InterfaceAddress'])
   185     register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
   190     register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
   186     register_Ns3Ipv4MulticastRoute_methods(root_module, root_module['ns3::Ipv4MulticastRoute'])
   191     register_Ns3Ipv4MulticastRoute_methods(root_module, root_module['ns3::Ipv4MulticastRoute'])
   187     register_Ns3Ipv4Route_methods(root_module, root_module['ns3::Ipv4Route'])
   192     register_Ns3Ipv4Route_methods(root_module, root_module['ns3::Ipv4Route'])
   188     register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
   193     register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
   189     register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
   194     register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
   540                    'void', 
   545                    'void', 
   541                    [], 
   546                    [], 
   542                    is_static=True)
   547                    is_static=True)
   543     return
   548     return
   544 
   549 
       
   550 def register_Ns3Ipv4InterfaceAddress_methods(root_module, cls):
       
   551     cls.add_output_stream_operator()
       
   552     ## ipv4-interface-address.h: ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress() [constructor]
       
   553     cls.add_constructor([])
       
   554     ## ipv4-interface-address.h: ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress(ns3::Ipv4Address local, ns3::Ipv4Mask mask) [constructor]
       
   555     cls.add_constructor([param('ns3::Ipv4Address', 'local'), param('ns3::Ipv4Mask', 'mask')])
       
   556     ## ipv4-interface-address.h: ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress(ns3::Ipv4InterfaceAddress const & o) [copy constructor]
       
   557     cls.add_constructor([param('ns3::Ipv4InterfaceAddress const &', 'o')])
       
   558     ## ipv4-interface-address.h: ns3::Ipv4Address ns3::Ipv4InterfaceAddress::GetBroadcast() const [member function]
       
   559     cls.add_method('GetBroadcast', 
       
   560                    'ns3::Ipv4Address', 
       
   561                    [], 
       
   562                    is_const=True)
       
   563     ## ipv4-interface-address.h: ns3::Ipv4Address ns3::Ipv4InterfaceAddress::GetLocal() const [member function]
       
   564     cls.add_method('GetLocal', 
       
   565                    'ns3::Ipv4Address', 
       
   566                    [], 
       
   567                    is_const=True)
       
   568     ## ipv4-interface-address.h: ns3::Ipv4Mask ns3::Ipv4InterfaceAddress::GetMask() const [member function]
       
   569     cls.add_method('GetMask', 
       
   570                    'ns3::Ipv4Mask', 
       
   571                    [], 
       
   572                    is_const=True)
       
   573     ## ipv4-interface-address.h: ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e ns3::Ipv4InterfaceAddress::GetScope() const [member function]
       
   574     cls.add_method('GetScope', 
       
   575                    'ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 
       
   576                    [], 
       
   577                    is_const=True)
       
   578     ## ipv4-interface-address.h: bool ns3::Ipv4InterfaceAddress::IsSecondary() const [member function]
       
   579     cls.add_method('IsSecondary', 
       
   580                    'bool', 
       
   581                    [], 
       
   582                    is_const=True)
       
   583     ## ipv4-interface-address.h: void ns3::Ipv4InterfaceAddress::SetBroadcast(ns3::Ipv4Address broadcast) [member function]
       
   584     cls.add_method('SetBroadcast', 
       
   585                    'void', 
       
   586                    [param('ns3::Ipv4Address', 'broadcast')])
       
   587     ## ipv4-interface-address.h: void ns3::Ipv4InterfaceAddress::SetLocal(ns3::Ipv4Address local) [member function]
       
   588     cls.add_method('SetLocal', 
       
   589                    'void', 
       
   590                    [param('ns3::Ipv4Address', 'local')])
       
   591     ## ipv4-interface-address.h: void ns3::Ipv4InterfaceAddress::SetMask(ns3::Ipv4Mask mask) [member function]
       
   592     cls.add_method('SetMask', 
       
   593                    'void', 
       
   594                    [param('ns3::Ipv4Mask', 'mask')])
       
   595     ## ipv4-interface-address.h: void ns3::Ipv4InterfaceAddress::SetPrimary() [member function]
       
   596     cls.add_method('SetPrimary', 
       
   597                    'void', 
       
   598                    [])
       
   599     ## ipv4-interface-address.h: void ns3::Ipv4InterfaceAddress::SetScope(ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function]
       
   600     cls.add_method('SetScope', 
       
   601                    'void', 
       
   602                    [param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')])
       
   603     ## ipv4-interface-address.h: void ns3::Ipv4InterfaceAddress::SetSecondary() [member function]
       
   604     cls.add_method('SetSecondary', 
       
   605                    'void', 
       
   606                    [])
       
   607     return
       
   608 
   545 def register_Ns3Ipv4Mask_methods(root_module, cls):
   609 def register_Ns3Ipv4Mask_methods(root_module, cls):
   546     cls.add_binary_comparison_operator('!=')
   610     cls.add_binary_comparison_operator('!=')
   547     cls.add_output_stream_operator()
   611     cls.add_output_stream_operator()
   548     cls.add_binary_comparison_operator('==')
   612     cls.add_binary_comparison_operator('==')
   549     ## ipv4-address.h: ns3::Ipv4Mask::Ipv4Mask(ns3::Ipv4Mask const & arg0) [copy constructor]
   613     ## ipv4-address.h: ns3::Ipv4Mask::Ipv4Mask(ns3::Ipv4Mask const & arg0) [copy constructor]
  1868     ## socket.h: void ns3::Socket::NotifyDataRecv() [member function]
  1932     ## socket.h: void ns3::Socket::NotifyDataRecv() [member function]
  1869     cls.add_method('NotifyDataRecv', 
  1933     cls.add_method('NotifyDataRecv', 
  1870                    'void', 
  1934                    'void', 
  1871                    [], 
  1935                    [], 
  1872                    visibility='protected')
  1936                    visibility='protected')
       
  1937     ## socket.h: void ns3::Socket::DoDispose() [member function]
       
  1938     cls.add_method('DoDispose', 
       
  1939                    'void', 
       
  1940                    [], 
       
  1941                    visibility='protected', is_virtual=True)
  1873     return
  1942     return
  1874 
  1943 
  1875 def register_Ns3SocketAddressTag_methods(root_module, cls):
  1944 def register_Ns3SocketAddressTag_methods(root_module, cls):
  1876     ## socket.h: ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
  1945     ## socket.h: ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
  1877     cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
  1946     cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
  2595     ## ipv4.h: uint32_t ns3::Ipv4::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
  2664     ## ipv4.h: uint32_t ns3::Ipv4::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
  2596     cls.add_method('AddInterface', 
  2665     cls.add_method('AddInterface', 
  2597                    'uint32_t', 
  2666                    'uint32_t', 
  2598                    [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
  2667                    [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
  2599                    is_pure_virtual=True, is_virtual=True)
  2668                    is_pure_virtual=True, is_virtual=True)
  2600     ## ipv4.h: uint32_t ns3::Ipv4::GetNInterfaces() [member function]
  2669     ## ipv4.h: uint32_t ns3::Ipv4::GetNInterfaces() const [member function]
  2601     cls.add_method('GetNInterfaces', 
  2670     cls.add_method('GetNInterfaces', 
  2602                    'uint32_t', 
  2671                    'uint32_t', 
  2603                    [], 
  2672                    [], 
  2604                    is_pure_virtual=True, is_virtual=True)
  2673                    is_pure_virtual=True, is_const=True, is_virtual=True)
  2605     ## ipv4.h: uint32_t ns3::Ipv4::FindInterfaceForAddr(ns3::Ipv4Address addr) const [member function]
  2674     ## ipv4.h: uint32_t ns3::Ipv4::FindInterfaceForAddr(ns3::Ipv4Address addr) const [member function]
  2606     cls.add_method('FindInterfaceForAddr', 
  2675     cls.add_method('FindInterfaceForAddr', 
  2607                    'uint32_t', 
  2676                    'uint32_t', 
  2608                    [param('ns3::Ipv4Address', 'addr')], 
  2677                    [param('ns3::Ipv4Address', 'addr')], 
  2609                    is_pure_virtual=True, is_const=True, is_virtual=True)
  2678                    is_pure_virtual=True, is_const=True, is_virtual=True)
  2630     ## ipv4.h: void ns3::Ipv4::LeaveMulticastGroup(ns3::Ipv4Address origin, ns3::Ipv4Address group) [member function]
  2699     ## ipv4.h: void ns3::Ipv4::LeaveMulticastGroup(ns3::Ipv4Address origin, ns3::Ipv4Address group) [member function]
  2631     cls.add_method('LeaveMulticastGroup', 
  2700     cls.add_method('LeaveMulticastGroup', 
  2632                    'void', 
  2701                    'void', 
  2633                    [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group')], 
  2702                    [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group')], 
  2634                    is_pure_virtual=True, is_virtual=True)
  2703                    is_pure_virtual=True, is_virtual=True)
  2635     ## ipv4.h: void ns3::Ipv4::SetAddress(uint32_t i, ns3::Ipv4Address address) [member function]
  2704     ## ipv4.h: uint32_t ns3::Ipv4::AddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
  2636     cls.add_method('SetAddress', 
  2705     cls.add_method('AddAddress', 
  2637                    'void', 
  2706                    'uint32_t', 
  2638                    [param('uint32_t', 'i'), param('ns3::Ipv4Address', 'address')], 
  2707                    [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
  2639                    is_pure_virtual=True, is_virtual=True)
  2708                    is_pure_virtual=True, is_virtual=True)
  2640     ## ipv4.h: void ns3::Ipv4::SetNetworkMask(uint32_t i, ns3::Ipv4Mask mask) [member function]
  2709     ## ipv4.h: uint32_t ns3::Ipv4::GetNAddresses(uint32_t interface) const [member function]
  2641     cls.add_method('SetNetworkMask', 
  2710     cls.add_method('GetNAddresses', 
  2642                    'void', 
  2711                    'uint32_t', 
  2643                    [param('uint32_t', 'i'), param('ns3::Ipv4Mask', 'mask')], 
  2712                    [param('uint32_t', 'interface')], 
  2644                    is_pure_virtual=True, is_virtual=True)
  2713                    is_pure_virtual=True, is_const=True, is_virtual=True)
  2645     ## ipv4.h: ns3::Ipv4Mask ns3::Ipv4::GetNetworkMask(uint32_t i) const [member function]
  2714     ## ipv4.h: ns3::Ipv4InterfaceAddress ns3::Ipv4::GetAddress(uint32_t interface, uint32_t addressIndex) const [member function]
  2646     cls.add_method('GetNetworkMask', 
  2715     cls.add_method('GetAddress', 
  2647                    'ns3::Ipv4Mask', 
  2716                    'ns3::Ipv4InterfaceAddress', 
  2648                    [param('uint32_t', 'i')], 
  2717                    [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
  2649                    is_pure_virtual=True, is_const=True, is_virtual=True)
  2718                    is_pure_virtual=True, is_const=True, is_virtual=True)
  2650     ## ipv4.h: void ns3::Ipv4::SetMetric(uint32_t i, uint16_t metric) [member function]
  2719     ## ipv4.h: void ns3::Ipv4::SetMetric(uint32_t i, uint16_t metric) [member function]
  2651     cls.add_method('SetMetric', 
  2720     cls.add_method('SetMetric', 
  2652                    'void', 
  2721                    'void', 
  2653                    [param('uint32_t', 'i'), param('uint16_t', 'metric')], 
  2722                    [param('uint32_t', 'i'), param('uint16_t', 'metric')], 
  2655     ## ipv4.h: uint16_t ns3::Ipv4::GetMetric(uint32_t i) const [member function]
  2724     ## ipv4.h: uint16_t ns3::Ipv4::GetMetric(uint32_t i) const [member function]
  2656     cls.add_method('GetMetric', 
  2725     cls.add_method('GetMetric', 
  2657                    'uint16_t', 
  2726                    'uint16_t', 
  2658                    [param('uint32_t', 'i')], 
  2727                    [param('uint32_t', 'i')], 
  2659                    is_pure_virtual=True, is_const=True, is_virtual=True)
  2728                    is_pure_virtual=True, is_const=True, is_virtual=True)
  2660     ## ipv4.h: ns3::Ipv4Address ns3::Ipv4::GetAddress(uint32_t i) const [member function]
       
  2661     cls.add_method('GetAddress', 
       
  2662                    'ns3::Ipv4Address', 
       
  2663                    [param('uint32_t', 'i')], 
       
  2664                    is_pure_virtual=True, is_const=True, is_virtual=True)
       
  2665     ## ipv4.h: ns3::Ipv4Address ns3::Ipv4::GetSourceAddress(ns3::Ipv4Address destination) const [member function]
  2729     ## ipv4.h: ns3::Ipv4Address ns3::Ipv4::GetSourceAddress(ns3::Ipv4Address destination) const [member function]
  2666     cls.add_method('GetSourceAddress', 
  2730     cls.add_method('GetSourceAddress', 
  2667                    'ns3::Ipv4Address', 
  2731                    'ns3::Ipv4Address', 
  2668                    [param('ns3::Ipv4Address', 'destination')], 
  2732                    [param('ns3::Ipv4Address', 'destination')], 
  2669                    is_pure_virtual=True, is_const=True, is_virtual=True)
  2733                    is_pure_virtual=True, is_const=True, is_virtual=True)
  2670     ## ipv4.h: bool ns3::Ipv4::GetIfIndexForDestination(ns3::Ipv4Address dest, uint32_t & ifIndex) const [member function]
  2734     ## ipv4.h: bool ns3::Ipv4::GetInterfaceForDestination(ns3::Ipv4Address dest, uint32_t & interface) const [member function]
  2671     cls.add_method('GetIfIndexForDestination', 
  2735     cls.add_method('GetInterfaceForDestination', 
  2672                    'bool', 
  2736                    'bool', 
  2673                    [param('ns3::Ipv4Address', 'dest'), param('uint32_t &', 'ifIndex')], 
  2737                    [param('ns3::Ipv4Address', 'dest'), param('uint32_t &', 'interface')], 
  2674                    is_pure_virtual=True, is_const=True, is_virtual=True)
  2738                    is_pure_virtual=True, is_const=True, is_virtual=True)
  2675     ## ipv4.h: uint16_t ns3::Ipv4::GetMtu(uint32_t i) const [member function]
  2739     ## ipv4.h: uint16_t ns3::Ipv4::GetMtu(uint32_t i) const [member function]
  2676     cls.add_method('GetMtu', 
  2740     cls.add_method('GetMtu', 
  2677                    'uint16_t', 
  2741                    'uint16_t', 
  2678                    [param('uint32_t', 'i')], 
  2742                    [param('uint32_t', 'i')], 
  2690     ## ipv4.h: void ns3::Ipv4::SetDown(uint32_t i) [member function]
  2754     ## ipv4.h: void ns3::Ipv4::SetDown(uint32_t i) [member function]
  2691     cls.add_method('SetDown', 
  2755     cls.add_method('SetDown', 
  2692                    'void', 
  2756                    'void', 
  2693                    [param('uint32_t', 'i')], 
  2757                    [param('uint32_t', 'i')], 
  2694                    is_pure_virtual=True, is_virtual=True)
  2758                    is_pure_virtual=True, is_virtual=True)
  2695     ## ipv4.h: uint32_t ns3::Ipv4::GetIfIndexByAddress(ns3::Ipv4Address addr, ns3::Ipv4Mask mask=ns3::Ipv4Mask(((const char*)"255.255.255.255"))) [member function]
  2759     ## ipv4.h: uint32_t ns3::Ipv4::GetInterfaceByAddress(ns3::Ipv4Address addr, ns3::Ipv4Mask mask=ns3::Ipv4Mask(((const char*)"255.255.255.255"))) [member function]
  2696     cls.add_method('GetIfIndexByAddress', 
  2760     cls.add_method('GetInterfaceByAddress', 
  2697                    'uint32_t', 
  2761                    'uint32_t', 
  2698                    [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask', default_value='ns3::Ipv4Mask(((const char*)"255.255.255.255"))')], 
  2762                    [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask', default_value='ns3::Ipv4Mask(((const char*)"255.255.255.255"))')], 
  2699                    is_virtual=True)
  2763                    is_virtual=True)
  2700     return
  2764     return
  2701 
  2765 
  2710                    [], 
  2774                    [], 
  2711                    is_static=True)
  2775                    is_static=True)
  2712     return
  2776     return
  2713 
  2777 
  2714 def register_Ns3Ipv4RoutingProtocol_methods(root_module, cls):
  2778 def register_Ns3Ipv4RoutingProtocol_methods(root_module, cls):
  2715     ## ipv4.h: ns3::Ipv4RoutingProtocol::IF_INDEX_ANY [variable]
  2779     ## ipv4.h: ns3::Ipv4RoutingProtocol::INTERFACE_ANY [variable]
  2716     cls.add_static_attribute('IF_INDEX_ANY', 'uint32_t const', is_const=True)
  2780     cls.add_static_attribute('INTERFACE_ANY', 'uint32_t const', is_const=True)
  2717     ## ipv4.h: ns3::Ipv4RoutingProtocol::Ipv4RoutingProtocol(ns3::Ipv4RoutingProtocol const & arg0) [copy constructor]
  2781     ## ipv4.h: ns3::Ipv4RoutingProtocol::Ipv4RoutingProtocol(ns3::Ipv4RoutingProtocol const & arg0) [copy constructor]
  2718     cls.add_constructor([param('ns3::Ipv4RoutingProtocol const &', 'arg0')])
  2782     cls.add_constructor([param('ns3::Ipv4RoutingProtocol const &', 'arg0')])
  2719     ## ipv4.h: ns3::Ipv4RoutingProtocol::Ipv4RoutingProtocol() [constructor]
  2783     ## ipv4.h: ns3::Ipv4RoutingProtocol::Ipv4RoutingProtocol() [constructor]
  2720     cls.add_constructor([])
  2784     cls.add_constructor([])
  2721     ## ipv4.h: bool ns3::Ipv4RoutingProtocol::RequestRoute(uint32_t ifIndex, ns3::Ipv4Header const & ipHeader, ns3::Ptr<ns3::Packet> packet, ns3::Callback<void,bool,const ns3::Ipv4Route&,ns3::Ptr<ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> routeReply) [member function]
  2785     ## ipv4.h: bool ns3::Ipv4RoutingProtocol::RequestRoute(uint32_t interface, ns3::Ipv4Header const & ipHeader, ns3::Ptr<ns3::Packet> packet, ns3::Callback<void,bool,const ns3::Ipv4Route&,ns3::Ptr<ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> routeReply) [member function]
  2722     cls.add_method('RequestRoute', 
  2786     cls.add_method('RequestRoute', 
  2723                    'bool', 
  2787                    'bool', 
  2724                    [param('uint32_t', 'ifIndex'), param('ns3::Ipv4Header const &', 'ipHeader'), param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Callback< void, bool, ns3::Ipv4Route const &, ns3::Ptr< ns3::Packet >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'routeReply')], 
  2788                    [param('uint32_t', 'interface'), param('ns3::Ipv4Header const &', 'ipHeader'), param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Callback< void, bool, ns3::Ipv4Route const &, ns3::Ptr< ns3::Packet >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'routeReply')], 
  2725                    is_pure_virtual=True, is_virtual=True)
  2789                    is_pure_virtual=True, is_virtual=True)
  2726     ## ipv4.h: bool ns3::Ipv4RoutingProtocol::RequestIfIndex(ns3::Ipv4Address destination, uint32_t & ifIndex) [member function]
  2790     ## ipv4.h: bool ns3::Ipv4RoutingProtocol::RequestInterface(ns3::Ipv4Address destination, uint32_t & interface) [member function]
  2727     cls.add_method('RequestIfIndex', 
  2791     cls.add_method('RequestInterface', 
  2728                    'bool', 
  2792                    'bool', 
  2729                    [param('ns3::Ipv4Address', 'destination'), param('uint32_t &', 'ifIndex')], 
  2793                    [param('ns3::Ipv4Address', 'destination'), param('uint32_t &', 'interface')], 
  2730                    is_pure_virtual=True, is_virtual=True)
  2794                    is_pure_virtual=True, is_virtual=True)
  2731     return
  2795     return
  2732 
  2796 
  2733 def register_Ns3NetDevice_methods(root_module, cls):
  2797 def register_Ns3NetDevice_methods(root_module, cls):
  2734     ## net-device.h: ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor]
  2798     ## net-device.h: ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor]