bindings/python/ns3_module_internet_stack.py
author Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
Tue, 09 Jun 2009 09:21:48 +0200
changeset 4524 9836dcac0d41
parent 4474 19e2b7ff3482
child 4527 7a1359808b0e
permissions -rw-r--r--
rescan python
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
     1
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     2
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     3
def register_types(module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     4
    root_module = module.get_root()
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
     5
    
3820
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
     6
    ## icmpv4.h: ns3::Icmpv4DestinationUnreachable [class]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
     7
    module.add_class('Icmpv4DestinationUnreachable', parent=root_module['ns3::Header'])
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
     8
    ## icmpv4.h: ns3::Icmpv4DestinationUnreachable [enumeration]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
     9
    module.add_enum('', ['NET_UNREACHABLE', 'HOST_UNREACHABLE', 'PROTOCOL_UNREACHABLE', 'PORT_UNREACHABLE', 'FRAG_NEEDED', 'SOURCE_ROUTE_FAILED'], outer_class=root_module['ns3::Icmpv4DestinationUnreachable'])
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
    10
    ## icmpv4.h: ns3::Icmpv4Echo [class]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
    11
    module.add_class('Icmpv4Echo', parent=root_module['ns3::Header'])
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
    12
    ## icmpv4.h: ns3::Icmpv4Header [class]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
    13
    module.add_class('Icmpv4Header', parent=root_module['ns3::Header'])
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
    14
    ## icmpv4.h: ns3::Icmpv4Header [enumeration]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
    15
    module.add_enum('', ['ECHO_REPLY', 'DEST_UNREACH', 'ECHO', 'TIME_EXCEEDED'], outer_class=root_module['ns3::Icmpv4Header'])
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
    16
    ## icmpv4.h: ns3::Icmpv4TimeExceeded [class]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
    17
    module.add_class('Icmpv4TimeExceeded', parent=root_module['ns3::Header'])
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
    18
    ## icmpv4.h: ns3::Icmpv4TimeExceeded [enumeration]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
    19
    module.add_enum('', ['TIME_TO_LIVE', 'FRAGMENT_REASSEMBLY'], outer_class=root_module['ns3::Icmpv4TimeExceeded'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    20
    ## tcp-header.h: ns3::TcpHeader [class]
3457
2ff6f05b9467 Rescan API
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3416
diff changeset
    21
    module.add_class('TcpHeader', parent=root_module['ns3::Header'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    22
    ## tcp-header.h: ns3::TcpHeader::Flags_t [enumeration]
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    23
    module.add_enum('Flags_t', ['NONE', 'FIN', 'SYN', 'RST', 'PSH', 'ACK', 'URG'], outer_class=root_module['ns3::TcpHeader'])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
    24
    ## udp-header.h: ns3::UdpHeader [class]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
    25
    module.add_class('UdpHeader', parent=root_module['ns3::Header'])
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    26
    ## ipv4-static-routing-impl.h: ns3::Ipv4StaticRoutingImpl [class]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    27
    module.add_class('Ipv4StaticRoutingImpl', parent=root_module['ns3::Ipv4StaticRouting'])
3972
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
    28
    ## ipv4-global-routing.h: ns3::Ipv4GlobalRouting [class]
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
    29
    module.add_class('Ipv4GlobalRouting', parent=root_module['ns3::Ipv4RoutingProtocol'])
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    30
    ## ipv4-list-routing-impl.h: ns3::Ipv4ListRoutingImpl [class]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    31
    module.add_class('Ipv4ListRoutingImpl', parent=root_module['ns3::Ipv4ListRouting'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    32
    
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3820
diff changeset
    33
    ## Register a nested module for the namespace Config
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    34
    
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3820
diff changeset
    35
    nested_module = module.add_cpp_namespace('Config')
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3820
diff changeset
    36
    register_types_ns3_Config(nested_module)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    37
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    38
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    39
    ## Register a nested module for the namespace TimeStepPrecision
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    40
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    41
    nested_module = module.add_cpp_namespace('TimeStepPrecision')
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    42
    register_types_ns3_TimeStepPrecision(nested_module)
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    43
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    44
    
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    45
    ## Register a nested module for the namespace addressUtils
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    46
    
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    47
    nested_module = module.add_cpp_namespace('addressUtils')
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    48
    register_types_ns3_addressUtils(nested_module)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    49
    
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    50
    
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3820
diff changeset
    51
    ## Register a nested module for the namespace internal
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    52
    
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3820
diff changeset
    53
    nested_module = module.add_cpp_namespace('internal')
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3820
diff changeset
    54
    register_types_ns3_internal(nested_module)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    55
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    56
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    57
    ## Register a nested module for the namespace olsr
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    58
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    59
    nested_module = module.add_cpp_namespace('olsr')
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    60
    register_types_ns3_olsr(nested_module)
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    61
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    62
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3820
diff changeset
    63
def register_types_ns3_Config(module):
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    64
    root_module = module.get_root()
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    65
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    66
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    67
def register_types_ns3_TimeStepPrecision(module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    68
    root_module = module.get_root()
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    69
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    70
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    71
def register_types_ns3_addressUtils(module):
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    72
    root_module = module.get_root()
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    73
    
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    74
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3820
diff changeset
    75
def register_types_ns3_internal(module):
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    76
    root_module = module.get_root()
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    77
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    78
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    79
def register_types_ns3_olsr(module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    80
    root_module = module.get_root()
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    81
    
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    82
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    83
def register_methods(root_module):
3820
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
    84
    register_Ns3Icmpv4DestinationUnreachable_methods(root_module, root_module['ns3::Icmpv4DestinationUnreachable'])
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
    85
    register_Ns3Icmpv4Echo_methods(root_module, root_module['ns3::Icmpv4Echo'])
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
    86
    register_Ns3Icmpv4Header_methods(root_module, root_module['ns3::Icmpv4Header'])
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
    87
    register_Ns3Icmpv4TimeExceeded_methods(root_module, root_module['ns3::Icmpv4TimeExceeded'])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
    88
    register_Ns3TcpHeader_methods(root_module, root_module['ns3::TcpHeader'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    89
    register_Ns3UdpHeader_methods(root_module, root_module['ns3::UdpHeader'])
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    90
    register_Ns3Ipv4StaticRoutingImpl_methods(root_module, root_module['ns3::Ipv4StaticRoutingImpl'])
3972
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
    91
    register_Ns3Ipv4GlobalRouting_methods(root_module, root_module['ns3::Ipv4GlobalRouting'])
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
    92
    register_Ns3Ipv4ListRoutingImpl_methods(root_module, root_module['ns3::Ipv4ListRoutingImpl'])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    93
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
    94
3820
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
    95
def register_Ns3Icmpv4DestinationUnreachable_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
    96
    ## icmpv4.h: ns3::Icmpv4DestinationUnreachable::Icmpv4DestinationUnreachable(ns3::Icmpv4DestinationUnreachable const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
    97
    cls.add_constructor([param('ns3::Icmpv4DestinationUnreachable const &', 'arg0')])
3820
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
    98
    ## icmpv4.h: static ns3::TypeId ns3::Icmpv4DestinationUnreachable::GetTypeId() [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
    99
    cls.add_method('GetTypeId', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   100
                   'ns3::TypeId', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   101
                   [], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   102
                   is_static=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   103
    ## icmpv4.h: ns3::Icmpv4DestinationUnreachable::Icmpv4DestinationUnreachable() [constructor]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   104
    cls.add_constructor([])
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   105
    ## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::SetNextHopMtu(uint16_t mtu) [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   106
    cls.add_method('SetNextHopMtu', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   107
                   'void', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   108
                   [param('uint16_t', 'mtu')])
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   109
    ## icmpv4.h: uint16_t ns3::Icmpv4DestinationUnreachable::GetNextHopMtu() const [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   110
    cls.add_method('GetNextHopMtu', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   111
                   'uint16_t', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   112
                   [], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   113
                   is_const=True)
4407
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
   114
    ## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::SetData(ns3::Ptr<ns3::Packet const> data) [member function]
3820
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   115
    cls.add_method('SetData', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   116
                   'void', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   117
                   [param('ns3::Ptr< ns3::Packet const >', 'data')])
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   118
    ## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::SetHeader(ns3::Ipv4Header header) [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   119
    cls.add_method('SetHeader', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   120
                   'void', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   121
                   [param('ns3::Ipv4Header', 'header')])
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   122
    ## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::GetData(uint8_t * payload) const [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   123
    cls.add_method('GetData', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   124
                   'void', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   125
                   [param('uint8_t *', 'payload')], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   126
                   is_const=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   127
    ## icmpv4.h: ns3::Ipv4Header ns3::Icmpv4DestinationUnreachable::GetHeader() const [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   128
    cls.add_method('GetHeader', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   129
                   'ns3::Ipv4Header', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   130
                   [], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   131
                   is_const=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   132
    ## icmpv4.h: ns3::TypeId ns3::Icmpv4DestinationUnreachable::GetInstanceTypeId() const [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   133
    cls.add_method('GetInstanceTypeId', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   134
                   'ns3::TypeId', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   135
                   [], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   136
                   is_const=True, visibility='private', is_virtual=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   137
    ## icmpv4.h: uint32_t ns3::Icmpv4DestinationUnreachable::GetSerializedSize() const [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   138
    cls.add_method('GetSerializedSize', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   139
                   'uint32_t', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   140
                   [], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   141
                   is_const=True, visibility='private', is_virtual=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   142
    ## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::Serialize(ns3::Buffer::Iterator start) const [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   143
    cls.add_method('Serialize', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   144
                   'void', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   145
                   [param('ns3::Buffer::Iterator', 'start')], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   146
                   is_const=True, visibility='private', is_virtual=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   147
    ## icmpv4.h: uint32_t ns3::Icmpv4DestinationUnreachable::Deserialize(ns3::Buffer::Iterator start) [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   148
    cls.add_method('Deserialize', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   149
                   'uint32_t', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   150
                   [param('ns3::Buffer::Iterator', 'start')], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   151
                   visibility='private', is_virtual=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   152
    ## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::Print(std::ostream & os) const [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   153
    cls.add_method('Print', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   154
                   'void', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   155
                   [param('std::ostream &', 'os')], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   156
                   is_const=True, visibility='private', is_virtual=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   157
    return
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   158
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   159
def register_Ns3Icmpv4Echo_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   160
    ## icmpv4.h: ns3::Icmpv4Echo::Icmpv4Echo(ns3::Icmpv4Echo const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   161
    cls.add_constructor([param('ns3::Icmpv4Echo const &', 'arg0')])
3820
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   162
    ## icmpv4.h: void ns3::Icmpv4Echo::SetIdentifier(uint16_t id) [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   163
    cls.add_method('SetIdentifier', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   164
                   'void', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   165
                   [param('uint16_t', 'id')])
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   166
    ## icmpv4.h: void ns3::Icmpv4Echo::SetSequenceNumber(uint16_t seq) [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   167
    cls.add_method('SetSequenceNumber', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   168
                   'void', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   169
                   [param('uint16_t', 'seq')])
4407
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
   170
    ## icmpv4.h: void ns3::Icmpv4Echo::SetData(ns3::Ptr<ns3::Packet const> data) [member function]
3820
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   171
    cls.add_method('SetData', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   172
                   'void', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   173
                   [param('ns3::Ptr< ns3::Packet const >', 'data')])
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   174
    ## icmpv4.h: uint16_t ns3::Icmpv4Echo::GetIdentifier() const [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   175
    cls.add_method('GetIdentifier', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   176
                   'uint16_t', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   177
                   [], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   178
                   is_const=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   179
    ## icmpv4.h: uint16_t ns3::Icmpv4Echo::GetSequenceNumber() const [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   180
    cls.add_method('GetSequenceNumber', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   181
                   'uint16_t', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   182
                   [], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   183
                   is_const=True)
4524
9836dcac0d41 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4474
diff changeset
   184
    ## icmpv4.h: uint32_t ns3::Icmpv4Echo::GetData(uint8_t * payload) const [member function]
3820
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   185
    cls.add_method('GetData', 
4524
9836dcac0d41 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4474
diff changeset
   186
                   'uint32_t', 
9836dcac0d41 rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4474
diff changeset
   187
                   [param('uint8_t *', 'payload')], 
3820
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   188
                   is_const=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   189
    ## icmpv4.h: static ns3::TypeId ns3::Icmpv4Echo::GetTypeId() [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   190
    cls.add_method('GetTypeId', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   191
                   'ns3::TypeId', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   192
                   [], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   193
                   is_static=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   194
    ## icmpv4.h: ns3::Icmpv4Echo::Icmpv4Echo() [constructor]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   195
    cls.add_constructor([])
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   196
    ## icmpv4.h: ns3::TypeId ns3::Icmpv4Echo::GetInstanceTypeId() const [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   197
    cls.add_method('GetInstanceTypeId', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   198
                   'ns3::TypeId', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   199
                   [], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   200
                   is_const=True, is_virtual=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   201
    ## icmpv4.h: uint32_t ns3::Icmpv4Echo::GetSerializedSize() const [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   202
    cls.add_method('GetSerializedSize', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   203
                   'uint32_t', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   204
                   [], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   205
                   is_const=True, is_virtual=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   206
    ## icmpv4.h: void ns3::Icmpv4Echo::Serialize(ns3::Buffer::Iterator start) const [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   207
    cls.add_method('Serialize', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   208
                   'void', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   209
                   [param('ns3::Buffer::Iterator', 'start')], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   210
                   is_const=True, is_virtual=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   211
    ## icmpv4.h: uint32_t ns3::Icmpv4Echo::Deserialize(ns3::Buffer::Iterator start) [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   212
    cls.add_method('Deserialize', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   213
                   'uint32_t', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   214
                   [param('ns3::Buffer::Iterator', 'start')], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   215
                   is_virtual=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   216
    ## icmpv4.h: void ns3::Icmpv4Echo::Print(std::ostream & os) const [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   217
    cls.add_method('Print', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   218
                   'void', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   219
                   [param('std::ostream &', 'os')], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   220
                   is_const=True, is_virtual=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   221
    return
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   222
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   223
def register_Ns3Icmpv4Header_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   224
    ## icmpv4.h: ns3::Icmpv4Header::Icmpv4Header(ns3::Icmpv4Header const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   225
    cls.add_constructor([param('ns3::Icmpv4Header const &', 'arg0')])
3820
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   226
    ## icmpv4.h: void ns3::Icmpv4Header::EnableChecksum() [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   227
    cls.add_method('EnableChecksum', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   228
                   'void', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   229
                   [])
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   230
    ## icmpv4.h: void ns3::Icmpv4Header::SetType(uint8_t type) [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   231
    cls.add_method('SetType', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   232
                   'void', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   233
                   [param('uint8_t', 'type')])
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   234
    ## icmpv4.h: void ns3::Icmpv4Header::SetCode(uint8_t code) [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   235
    cls.add_method('SetCode', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   236
                   'void', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   237
                   [param('uint8_t', 'code')])
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   238
    ## icmpv4.h: uint8_t ns3::Icmpv4Header::GetType() const [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   239
    cls.add_method('GetType', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   240
                   'uint8_t', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   241
                   [], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   242
                   is_const=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   243
    ## icmpv4.h: uint8_t ns3::Icmpv4Header::GetCode() const [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   244
    cls.add_method('GetCode', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   245
                   'uint8_t', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   246
                   [], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   247
                   is_const=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   248
    ## icmpv4.h: static ns3::TypeId ns3::Icmpv4Header::GetTypeId() [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   249
    cls.add_method('GetTypeId', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   250
                   'ns3::TypeId', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   251
                   [], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   252
                   is_static=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   253
    ## icmpv4.h: ns3::Icmpv4Header::Icmpv4Header() [constructor]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   254
    cls.add_constructor([])
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   255
    ## icmpv4.h: ns3::TypeId ns3::Icmpv4Header::GetInstanceTypeId() const [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   256
    cls.add_method('GetInstanceTypeId', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   257
                   'ns3::TypeId', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   258
                   [], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   259
                   is_const=True, is_virtual=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   260
    ## icmpv4.h: uint32_t ns3::Icmpv4Header::GetSerializedSize() const [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   261
    cls.add_method('GetSerializedSize', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   262
                   'uint32_t', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   263
                   [], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   264
                   is_const=True, is_virtual=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   265
    ## icmpv4.h: void ns3::Icmpv4Header::Serialize(ns3::Buffer::Iterator start) const [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   266
    cls.add_method('Serialize', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   267
                   'void', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   268
                   [param('ns3::Buffer::Iterator', 'start')], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   269
                   is_const=True, is_virtual=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   270
    ## icmpv4.h: uint32_t ns3::Icmpv4Header::Deserialize(ns3::Buffer::Iterator start) [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   271
    cls.add_method('Deserialize', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   272
                   'uint32_t', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   273
                   [param('ns3::Buffer::Iterator', 'start')], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   274
                   is_virtual=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   275
    ## icmpv4.h: void ns3::Icmpv4Header::Print(std::ostream & os) const [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   276
    cls.add_method('Print', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   277
                   'void', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   278
                   [param('std::ostream &', 'os')], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   279
                   is_const=True, is_virtual=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   280
    return
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   281
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   282
def register_Ns3Icmpv4TimeExceeded_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   283
    ## icmpv4.h: ns3::Icmpv4TimeExceeded::Icmpv4TimeExceeded(ns3::Icmpv4TimeExceeded const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   284
    cls.add_constructor([param('ns3::Icmpv4TimeExceeded const &', 'arg0')])
4407
ef566eeff84f rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4382
diff changeset
   285
    ## icmpv4.h: void ns3::Icmpv4TimeExceeded::SetData(ns3::Ptr<ns3::Packet const> data) [member function]
3820
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   286
    cls.add_method('SetData', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   287
                   'void', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   288
                   [param('ns3::Ptr< ns3::Packet const >', 'data')])
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   289
    ## icmpv4.h: void ns3::Icmpv4TimeExceeded::SetHeader(ns3::Ipv4Header header) [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   290
    cls.add_method('SetHeader', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   291
                   'void', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   292
                   [param('ns3::Ipv4Header', 'header')])
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   293
    ## icmpv4.h: void ns3::Icmpv4TimeExceeded::GetData(uint8_t * payload) const [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   294
    cls.add_method('GetData', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   295
                   'void', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   296
                   [param('uint8_t *', 'payload')], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   297
                   is_const=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   298
    ## icmpv4.h: ns3::Ipv4Header ns3::Icmpv4TimeExceeded::GetHeader() const [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   299
    cls.add_method('GetHeader', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   300
                   'ns3::Ipv4Header', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   301
                   [], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   302
                   is_const=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   303
    ## icmpv4.h: static ns3::TypeId ns3::Icmpv4TimeExceeded::GetTypeId() [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   304
    cls.add_method('GetTypeId', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   305
                   'ns3::TypeId', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   306
                   [], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   307
                   is_static=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   308
    ## icmpv4.h: ns3::Icmpv4TimeExceeded::Icmpv4TimeExceeded() [constructor]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   309
    cls.add_constructor([])
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   310
    ## icmpv4.h: ns3::TypeId ns3::Icmpv4TimeExceeded::GetInstanceTypeId() const [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   311
    cls.add_method('GetInstanceTypeId', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   312
                   'ns3::TypeId', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   313
                   [], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   314
                   is_const=True, is_virtual=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   315
    ## icmpv4.h: uint32_t ns3::Icmpv4TimeExceeded::GetSerializedSize() const [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   316
    cls.add_method('GetSerializedSize', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   317
                   'uint32_t', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   318
                   [], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   319
                   is_const=True, is_virtual=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   320
    ## icmpv4.h: void ns3::Icmpv4TimeExceeded::Serialize(ns3::Buffer::Iterator start) const [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   321
    cls.add_method('Serialize', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   322
                   'void', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   323
                   [param('ns3::Buffer::Iterator', 'start')], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   324
                   is_const=True, is_virtual=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   325
    ## icmpv4.h: uint32_t ns3::Icmpv4TimeExceeded::Deserialize(ns3::Buffer::Iterator start) [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   326
    cls.add_method('Deserialize', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   327
                   'uint32_t', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   328
                   [param('ns3::Buffer::Iterator', 'start')], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   329
                   is_virtual=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   330
    ## icmpv4.h: void ns3::Icmpv4TimeExceeded::Print(std::ostream & os) const [member function]
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   331
    cls.add_method('Print', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   332
                   'void', 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   333
                   [param('std::ostream &', 'os')], 
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   334
                   is_const=True, is_virtual=True)
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   335
    return
c04ecfdce1ef apply icmp patch
Craig Dowell <craigdo@ee.washington.edu>
parents: 3745
diff changeset
   336
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   337
def register_Ns3TcpHeader_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   338
    ## tcp-header.h: ns3::TcpHeader::TcpHeader(ns3::TcpHeader const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   339
    cls.add_constructor([param('ns3::TcpHeader const &', 'arg0')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   340
    ## tcp-header.h: ns3::TcpHeader::TcpHeader() [constructor]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   341
    cls.add_constructor([])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   342
    ## tcp-header.h: void ns3::TcpHeader::EnableChecksums() [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   343
    cls.add_method('EnableChecksums', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   344
                   'void', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   345
                   [])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   346
    ## tcp-header.h: void ns3::TcpHeader::SetSourcePort(uint16_t port) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   347
    cls.add_method('SetSourcePort', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   348
                   'void', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   349
                   [param('uint16_t', 'port')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   350
    ## tcp-header.h: void ns3::TcpHeader::SetDestinationPort(uint16_t port) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   351
    cls.add_method('SetDestinationPort', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   352
                   'void', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   353
                   [param('uint16_t', 'port')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   354
    ## tcp-header.h: void ns3::TcpHeader::SetSequenceNumber(SequenceNumber sequenceNumber) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   355
    cls.add_method('SetSequenceNumber', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   356
                   'void', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   357
                   [param('SequenceNumber', 'sequenceNumber')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   358
    ## tcp-header.h: void ns3::TcpHeader::SetAckNumber(SequenceNumber ackNumber) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   359
    cls.add_method('SetAckNumber', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   360
                   'void', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   361
                   [param('SequenceNumber', 'ackNumber')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   362
    ## tcp-header.h: void ns3::TcpHeader::SetLength(uint8_t length) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   363
    cls.add_method('SetLength', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   364
                   'void', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   365
                   [param('uint8_t', 'length')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   366
    ## tcp-header.h: void ns3::TcpHeader::SetFlags(uint8_t flags) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   367
    cls.add_method('SetFlags', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   368
                   'void', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   369
                   [param('uint8_t', 'flags')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   370
    ## tcp-header.h: void ns3::TcpHeader::SetWindowSize(uint16_t windowSize) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   371
    cls.add_method('SetWindowSize', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   372
                   'void', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   373
                   [param('uint16_t', 'windowSize')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   374
    ## tcp-header.h: void ns3::TcpHeader::SetUrgentPointer(uint16_t urgentPointer) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   375
    cls.add_method('SetUrgentPointer', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   376
                   'void', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   377
                   [param('uint16_t', 'urgentPointer')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   378
    ## tcp-header.h: uint16_t ns3::TcpHeader::GetSourcePort() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   379
    cls.add_method('GetSourcePort', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   380
                   'uint16_t', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   381
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   382
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   383
    ## tcp-header.h: uint16_t ns3::TcpHeader::GetDestinationPort() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   384
    cls.add_method('GetDestinationPort', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   385
                   'uint16_t', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   386
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   387
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   388
    ## tcp-header.h: SequenceNumber ns3::TcpHeader::GetSequenceNumber() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   389
    cls.add_method('GetSequenceNumber', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   390
                   'SequenceNumber', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   391
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   392
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   393
    ## tcp-header.h: SequenceNumber ns3::TcpHeader::GetAckNumber() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   394
    cls.add_method('GetAckNumber', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   395
                   'SequenceNumber', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   396
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   397
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   398
    ## tcp-header.h: uint8_t ns3::TcpHeader::GetLength() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   399
    cls.add_method('GetLength', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   400
                   'uint8_t', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   401
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   402
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   403
    ## tcp-header.h: uint8_t ns3::TcpHeader::GetFlags() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   404
    cls.add_method('GetFlags', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   405
                   'uint8_t', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   406
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   407
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   408
    ## tcp-header.h: uint16_t ns3::TcpHeader::GetWindowSize() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   409
    cls.add_method('GetWindowSize', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   410
                   'uint16_t', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   411
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   412
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   413
    ## tcp-header.h: uint16_t ns3::TcpHeader::GetUrgentPointer() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   414
    cls.add_method('GetUrgentPointer', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   415
                   'uint16_t', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   416
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   417
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   418
    ## tcp-header.h: void ns3::TcpHeader::InitializeChecksum(ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   419
    cls.add_method('InitializeChecksum', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   420
                   'void', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   421
                   [param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol')])
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   422
    ## tcp-header.h: static ns3::TypeId ns3::TcpHeader::GetTypeId() [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   423
    cls.add_method('GetTypeId', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   424
                   'ns3::TypeId', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   425
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   426
                   is_static=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   427
    ## tcp-header.h: ns3::TypeId ns3::TcpHeader::GetInstanceTypeId() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   428
    cls.add_method('GetInstanceTypeId', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   429
                   'ns3::TypeId', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   430
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   431
                   is_const=True, is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   432
    ## tcp-header.h: void ns3::TcpHeader::Print(std::ostream & os) const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   433
    cls.add_method('Print', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   434
                   'void', 
3574
b6804efbe16b New pybindgen and API rescan. Extensive API description files changes because pybindgen now handles consts differently.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3567
diff changeset
   435
                   [param('std::ostream &', 'os')], 
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   436
                   is_const=True, is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   437
    ## tcp-header.h: uint32_t ns3::TcpHeader::GetSerializedSize() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   438
    cls.add_method('GetSerializedSize', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   439
                   'uint32_t', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   440
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   441
                   is_const=True, is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   442
    ## tcp-header.h: void ns3::TcpHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   443
    cls.add_method('Serialize', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   444
                   'void', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   445
                   [param('ns3::Buffer::Iterator', 'start')], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   446
                   is_const=True, is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   447
    ## tcp-header.h: uint32_t ns3::TcpHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   448
    cls.add_method('Deserialize', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   449
                   'uint32_t', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   450
                   [param('ns3::Buffer::Iterator', 'start')], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   451
                   is_virtual=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   452
    ## tcp-header.h: bool ns3::TcpHeader::IsChecksumOk() const [member function]
3468
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   453
    cls.add_method('IsChecksumOk', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   454
                   'bool', 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   455
                   [], 
0bb5275704fc Python: new pybindgen, rescan API definitions, new API definition files are more multi-line and hopefully easier to read
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3457
diff changeset
   456
                   is_const=True)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   457
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   458
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   459
def register_Ns3UdpHeader_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   460
    ## udp-header.h: ns3::UdpHeader::UdpHeader(ns3::UdpHeader const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   461
    cls.add_constructor([param('ns3::UdpHeader const &', 'arg0')])
3731
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   462
    ## udp-header.h: ns3::UdpHeader::UdpHeader() [constructor]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   463
    cls.add_constructor([])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   464
    ## udp-header.h: void ns3::UdpHeader::EnableChecksums() [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   465
    cls.add_method('EnableChecksums', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   466
                   'void', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   467
                   [])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   468
    ## udp-header.h: void ns3::UdpHeader::SetDestinationPort(uint16_t port) [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   469
    cls.add_method('SetDestinationPort', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   470
                   'void', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   471
                   [param('uint16_t', 'port')])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   472
    ## udp-header.h: void ns3::UdpHeader::SetSourcePort(uint16_t port) [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   473
    cls.add_method('SetSourcePort', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   474
                   'void', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   475
                   [param('uint16_t', 'port')])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   476
    ## udp-header.h: uint16_t ns3::UdpHeader::GetSourcePort() const [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   477
    cls.add_method('GetSourcePort', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   478
                   'uint16_t', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   479
                   [], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   480
                   is_const=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   481
    ## udp-header.h: uint16_t ns3::UdpHeader::GetDestinationPort() const [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   482
    cls.add_method('GetDestinationPort', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   483
                   'uint16_t', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   484
                   [], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   485
                   is_const=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   486
    ## udp-header.h: void ns3::UdpHeader::InitializeChecksum(ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol) [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   487
    cls.add_method('InitializeChecksum', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   488
                   'void', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   489
                   [param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol')])
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   490
    ## udp-header.h: static ns3::TypeId ns3::UdpHeader::GetTypeId() [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   491
    cls.add_method('GetTypeId', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   492
                   'ns3::TypeId', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   493
                   [], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   494
                   is_static=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   495
    ## udp-header.h: ns3::TypeId ns3::UdpHeader::GetInstanceTypeId() const [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   496
    cls.add_method('GetInstanceTypeId', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   497
                   'ns3::TypeId', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   498
                   [], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   499
                   is_const=True, is_virtual=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   500
    ## udp-header.h: void ns3::UdpHeader::Print(std::ostream & os) const [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   501
    cls.add_method('Print', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   502
                   'void', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   503
                   [param('std::ostream &', 'os')], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   504
                   is_const=True, is_virtual=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   505
    ## udp-header.h: uint32_t ns3::UdpHeader::GetSerializedSize() const [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   506
    cls.add_method('GetSerializedSize', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   507
                   'uint32_t', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   508
                   [], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   509
                   is_const=True, is_virtual=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   510
    ## udp-header.h: void ns3::UdpHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   511
    cls.add_method('Serialize', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   512
                   'void', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   513
                   [param('ns3::Buffer::Iterator', 'start')], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   514
                   is_const=True, is_virtual=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   515
    ## udp-header.h: uint32_t ns3::UdpHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   516
    cls.add_method('Deserialize', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   517
                   'uint32_t', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   518
                   [param('ns3::Buffer::Iterator', 'start')], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   519
                   is_virtual=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   520
    ## udp-header.h: bool ns3::UdpHeader::IsChecksumOk() const [member function]
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   521
    cls.add_method('IsChecksumOk', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   522
                   'bool', 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   523
                   [], 
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   524
                   is_const=True)
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   525
    return
317f9dbccc2b New pybindgen and new API scanning, brings support for comparison operators and + - * / numeric operators.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3610
diff changeset
   526
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   527
def register_Ns3Ipv4StaticRoutingImpl_methods(root_module, cls):
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   528
    ## ipv4-static-routing-impl.h: ns3::Ipv4StaticRoutingImpl::Ipv4StaticRoutingImpl(ns3::Ipv4StaticRoutingImpl const & arg0) [copy constructor]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   529
    cls.add_constructor([param('ns3::Ipv4StaticRoutingImpl const &', 'arg0')])
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   530
    ## ipv4-static-routing-impl.h: static ns3::TypeId ns3::Ipv4StaticRoutingImpl::GetTypeId() [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   531
    cls.add_method('GetTypeId', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   532
                   'ns3::TypeId', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   533
                   [], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   534
                   is_static=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   535
    ## ipv4-static-routing-impl.h: ns3::Ipv4StaticRoutingImpl::Ipv4StaticRoutingImpl() [constructor]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   536
    cls.add_constructor([])
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   537
    ## 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]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   538
    cls.add_method('RouteOutput', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   539
                   'ns3::Ptr< ns3::Ipv4Route >', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   540
                   [param('ns3::Ipv4Header const &', 'header'), param('uint32_t', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   541
                   is_virtual=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   542
    ## 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]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   543
    cls.add_method('RouteInput', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   544
                   'bool', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   545
                   [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')], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   546
                   is_virtual=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   547
    ## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::AddHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   548
    cls.add_method('AddHostRouteTo', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   549
                   'void', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   550
                   [param('ns3::Ipv4Address', 'dest'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   551
                   is_virtual=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   552
    ## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::AddHostRouteTo(ns3::Ipv4Address dest, uint32_t interface) [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   553
    cls.add_method('AddHostRouteTo', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   554
                   'void', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   555
                   [param('ns3::Ipv4Address', 'dest'), param('uint32_t', 'interface')], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   556
                   is_virtual=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   557
    ## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   558
    cls.add_method('AddNetworkRouteTo', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   559
                   'void', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   560
                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   561
                   is_virtual=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   562
    ## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface) [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   563
    cls.add_method('AddNetworkRouteTo', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   564
                   'void', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   565
                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('uint32_t', 'interface')], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   566
                   is_virtual=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   567
    ## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::SetDefaultRoute(ns3::Ipv4Address nextHop, uint32_t interface) [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   568
    cls.add_method('SetDefaultRoute', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   569
                   'void', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   570
                   [param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   571
                   is_virtual=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   572
    ## ipv4-static-routing-impl.h: uint32_t ns3::Ipv4StaticRoutingImpl::GetNRoutes() [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   573
    cls.add_method('GetNRoutes', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   574
                   'uint32_t', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   575
                   [], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   576
                   is_virtual=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   577
    ## ipv4-static-routing-impl.h: ns3::Ipv4RoutingTableEntry ns3::Ipv4StaticRoutingImpl::GetDefaultRoute() [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   578
    cls.add_method('GetDefaultRoute', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   579
                   'ns3::Ipv4RoutingTableEntry', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   580
                   [], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   581
                   is_virtual=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   582
    ## ipv4-static-routing-impl.h: ns3::Ipv4RoutingTableEntry ns3::Ipv4StaticRoutingImpl::GetRoute(uint32_t i) [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   583
    cls.add_method('GetRoute', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   584
                   'ns3::Ipv4RoutingTableEntry', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   585
                   [param('uint32_t', 'i')], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   586
                   is_virtual=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   587
    ## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::RemoveRoute(uint32_t i) [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   588
    cls.add_method('RemoveRoute', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   589
                   'void', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   590
                   [param('uint32_t', 'i')], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   591
                   is_virtual=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   592
    ## 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]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   593
    cls.add_method('AddMulticastRoute', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   594
                   'void', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   595
                   [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface'), param('std::vector< unsigned int >', 'outputInterfaces')], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   596
                   is_virtual=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   597
    ## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::SetDefaultMulticastRoute(uint32_t outputInterface) [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   598
    cls.add_method('SetDefaultMulticastRoute', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   599
                   'void', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   600
                   [param('uint32_t', 'outputInterface')], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   601
                   is_virtual=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   602
    ## ipv4-static-routing-impl.h: uint32_t ns3::Ipv4StaticRoutingImpl::GetNMulticastRoutes() const [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   603
    cls.add_method('GetNMulticastRoutes', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   604
                   'uint32_t', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   605
                   [], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   606
                   is_const=True, is_virtual=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   607
    ## ipv4-static-routing-impl.h: ns3::Ipv4MulticastRoutingTableEntry ns3::Ipv4StaticRoutingImpl::GetMulticastRoute(uint32_t i) const [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   608
    cls.add_method('GetMulticastRoute', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   609
                   'ns3::Ipv4MulticastRoutingTableEntry', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   610
                   [param('uint32_t', 'i')], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   611
                   is_const=True, is_virtual=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   612
    ## ipv4-static-routing-impl.h: bool ns3::Ipv4StaticRoutingImpl::RemoveMulticastRoute(ns3::Ipv4Address origin, ns3::Ipv4Address group, uint32_t inputInterface) [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   613
    cls.add_method('RemoveMulticastRoute', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   614
                   'bool', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   615
                   [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface')], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   616
                   is_virtual=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   617
    ## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::RemoveMulticastRoute(uint32_t index) [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   618
    cls.add_method('RemoveMulticastRoute', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   619
                   'void', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   620
                   [param('uint32_t', 'index')], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   621
                   is_virtual=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   622
    ## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::SetNode(ns3::Ptr<ns3::Node> node) [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   623
    cls.add_method('SetNode', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   624
                   'void', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   625
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   626
                   is_virtual=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   627
    ## ipv4-static-routing-impl.h: ns3::Ptr<ns3::Node> ns3::Ipv4StaticRoutingImpl::GetNode() const [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   628
    cls.add_method('GetNode', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   629
                   'ns3::Ptr< ns3::Node >', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   630
                   [], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   631
                   is_const=True, is_virtual=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   632
    ## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::DoDispose() [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   633
    cls.add_method('DoDispose', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   634
                   'void', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   635
                   [], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   636
                   visibility='protected', is_virtual=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   637
    return
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   638
3972
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   639
def register_Ns3Ipv4GlobalRouting_methods(root_module, cls):
4241
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   640
    ## ipv4-global-routing.h: ns3::Ipv4GlobalRouting::Ipv4GlobalRouting(ns3::Ipv4GlobalRouting const & arg0) [copy constructor]
c35796bc0b4b rescan python
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 4218
diff changeset
   641
    cls.add_constructor([param('ns3::Ipv4GlobalRouting const &', 'arg0')])
3972
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   642
    ## ipv4-global-routing.h: static ns3::TypeId ns3::Ipv4GlobalRouting::GetTypeId() [member function]
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   643
    cls.add_method('GetTypeId', 
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   644
                   'ns3::TypeId', 
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   645
                   [], 
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   646
                   is_static=True)
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   647
    ## ipv4-global-routing.h: ns3::Ipv4GlobalRouting::Ipv4GlobalRouting() [constructor]
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   648
    cls.add_constructor([])
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   649
    ## ipv4-global-routing.h: ns3::Ptr<ns3::Ipv4Route> ns3::Ipv4GlobalRouting::RouteOutput(ns3::Ipv4Header const & header, uint32_t oif, ns3::Socket::SocketErrno & sockerr) [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   650
    cls.add_method('RouteOutput', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   651
                   'ns3::Ptr< ns3::Ipv4Route >', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   652
                   [param('ns3::Ipv4Header const &', 'header'), param('uint32_t', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], 
3972
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   653
                   is_virtual=True)
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   654
    ## ipv4-global-routing.h: bool ns3::Ipv4GlobalRouting::RouteInput(ns3::Ptr<ns3::Packet const> p, ns3::Ipv4Header const & header, ns3::Ptr<const ns3::NetDevice> idev, ns3::Callback<void,ns3::Ptr<ns3::Ipv4Route>,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback<void,ns3::Ptr<ns3::Ipv4MulticastRoute>,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback<void,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback<void,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ecb) [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   655
    cls.add_method('RouteInput', 
3972
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   656
                   'bool', 
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   657
                   [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')], 
3972
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   658
                   is_virtual=True)
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   659
    ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::AddHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   660
    cls.add_method('AddHostRouteTo', 
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   661
                   'void', 
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   662
                   [param('ns3::Ipv4Address', 'dest'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')])
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   663
    ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::AddHostRouteTo(ns3::Ipv4Address dest, uint32_t interface) [member function]
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   664
    cls.add_method('AddHostRouteTo', 
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   665
                   'void', 
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   666
                   [param('ns3::Ipv4Address', 'dest'), param('uint32_t', 'interface')])
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   667
    ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   668
    cls.add_method('AddNetworkRouteTo', 
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   669
                   'void', 
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   670
                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')])
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   671
    ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface) [member function]
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   672
    cls.add_method('AddNetworkRouteTo', 
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   673
                   'void', 
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   674
                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('uint32_t', 'interface')])
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   675
    ## ipv4-global-routing.h: uint32_t ns3::Ipv4GlobalRouting::GetNRoutes() [member function]
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   676
    cls.add_method('GetNRoutes', 
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   677
                   'uint32_t', 
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   678
                   [])
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   679
    ## ipv4-global-routing.h: ns3::Ipv4RoutingTableEntry * ns3::Ipv4GlobalRouting::GetRoute(uint32_t i) [member function]
3972
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   680
    cls.add_method('GetRoute', 
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   681
                   'ns3::Ipv4RoutingTableEntry *', 
3972
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   682
                   [param('uint32_t', 'i')])
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   683
    ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::RemoveRoute(uint32_t i) [member function]
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   684
    cls.add_method('RemoveRoute', 
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   685
                   'void', 
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   686
                   [param('uint32_t', 'i')])
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   687
    ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::SetNode(ns3::Ptr<ns3::Node> node) [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   688
    cls.add_method('SetNode', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   689
                   'void', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   690
                   [param('ns3::Ptr< ns3::Node >', 'node')])
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   691
    ## ipv4-global-routing.h: ns3::Ptr<ns3::Node> ns3::Ipv4GlobalRouting::GetNode() const [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   692
    cls.add_method('GetNode', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   693
                   'ns3::Ptr< ns3::Node >', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   694
                   [], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   695
                   is_const=True)
3972
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   696
    ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::DoDispose() [member function]
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   697
    cls.add_method('DoDispose', 
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   698
                   'void', 
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   699
                   [], 
a84f2ab246e6 rescan bindings
Craig Dowell <craigdo@ee.washington.edu>
parents: 3951
diff changeset
   700
                   visibility='protected', is_virtual=True)
3584
4eb48239b4dc bug 274: bridge must detect compatibility of devices with bridging mode
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3574
diff changeset
   701
    return
4eb48239b4dc bug 274: bridge must detect compatibility of devices with bridging mode
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3574
diff changeset
   702
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   703
def register_Ns3Ipv4ListRoutingImpl_methods(root_module, cls):
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   704
    ## ipv4-list-routing-impl.h: ns3::Ipv4ListRoutingImpl::Ipv4ListRoutingImpl(ns3::Ipv4ListRoutingImpl const & arg0) [copy constructor]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   705
    cls.add_constructor([param('ns3::Ipv4ListRoutingImpl const &', 'arg0')])
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   706
    ## ipv4-list-routing-impl.h: static ns3::TypeId ns3::Ipv4ListRoutingImpl::GetTypeId() [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   707
    cls.add_method('GetTypeId', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   708
                   'ns3::TypeId', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   709
                   [], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   710
                   is_static=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   711
    ## ipv4-list-routing-impl.h: ns3::Ipv4ListRoutingImpl::Ipv4ListRoutingImpl() [constructor]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   712
    cls.add_constructor([])
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   713
    ## ipv4-list-routing-impl.h: ns3::Ptr<ns3::Ipv4Route> ns3::Ipv4ListRoutingImpl::RouteOutput(ns3::Ipv4Header const & header, uint32_t oif, ns3::Socket::SocketErrno & sockerr) [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   714
    cls.add_method('RouteOutput', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   715
                   'ns3::Ptr< ns3::Ipv4Route >', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   716
                   [param('ns3::Ipv4Header const &', 'header'), param('uint32_t', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   717
                   is_virtual=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   718
    ## ipv4-list-routing-impl.h: bool ns3::Ipv4ListRoutingImpl::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]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   719
    cls.add_method('RouteInput', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   720
                   'bool', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   721
                   [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')], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   722
                   is_virtual=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   723
    ## ipv4-list-routing-impl.h: void ns3::Ipv4ListRoutingImpl::AddRoutingProtocol(ns3::Ptr<ns3::Ipv4RoutingProtocol> routingProtocol, int16_t priority) [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   724
    cls.add_method('AddRoutingProtocol', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   725
                   'void', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   726
                   [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol'), param('int16_t', 'priority')], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   727
                   is_virtual=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   728
    ## ipv4-list-routing-impl.h: uint32_t ns3::Ipv4ListRoutingImpl::GetNRoutingProtocols() const [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   729
    cls.add_method('GetNRoutingProtocols', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   730
                   'uint32_t', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   731
                   [], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   732
                   is_const=True, is_virtual=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   733
    ## ipv4-list-routing-impl.h: ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::Ipv4ListRoutingImpl::GetRoutingProtocol(uint32_t index, int16_t & priority) const [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   734
    cls.add_method('GetRoutingProtocol', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   735
                   'ns3::Ptr< ns3::Ipv4RoutingProtocol >', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   736
                   [param('uint32_t', 'index'), param('int16_t &', 'priority')], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   737
                   is_const=True, is_virtual=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   738
    ## ipv4-list-routing-impl.h: ns3::Ptr<ns3::Ipv4StaticRouting> ns3::Ipv4ListRoutingImpl::GetStaticRouting() const [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   739
    cls.add_method('GetStaticRouting', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   740
                   'ns3::Ptr< ns3::Ipv4StaticRouting >', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   741
                   [], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   742
                   is_const=True, is_virtual=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   743
    ## ipv4-list-routing-impl.h: void ns3::Ipv4ListRoutingImpl::SetNode(ns3::Ptr<ns3::Node> node) [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   744
    cls.add_method('SetNode', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   745
                   'void', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   746
                   [param('ns3::Ptr< ns3::Node >', 'node')])
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   747
    ## ipv4-list-routing-impl.h: ns3::Ptr<ns3::Node> ns3::Ipv4ListRoutingImpl::GetNode() const [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   748
    cls.add_method('GetNode', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   749
                   'ns3::Ptr< ns3::Node >', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   750
                   [], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   751
                   is_const=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   752
    ## ipv4-list-routing-impl.h: void ns3::Ipv4ListRoutingImpl::DoDispose() [member function]
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   753
    cls.add_method('DoDispose', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   754
                   'void', 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   755
                   [], 
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   756
                   visibility='protected', is_virtual=True)
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   757
    return
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   758
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   759
def register_functions(root_module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   760
    module = root_module
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3820
diff changeset
   761
    register_functions_ns3_Config(module.get_submodule('Config'), root_module)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   762
    register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   763
    register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3820
diff changeset
   764
    register_functions_ns3_internal(module.get_submodule('internal'), root_module)
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   765
    register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   766
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   767
3855
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3820
diff changeset
   768
def register_functions_ns3_Config(module, root_module):
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3820
diff changeset
   769
    return
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3820
diff changeset
   770
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3820
diff changeset
   771
def register_functions_ns3_TimeStepPrecision(module, root_module):
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3820
diff changeset
   772
    return
7fdcbeea6c4f Python: require new pybindgen and re-scan API to make the list of free functions and namespaces sorted.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3820
diff changeset
   773
4474
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   774
def register_functions_ns3_addressUtils(module, root_module):
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   775
    return
19e2b7ff3482 bindings/ changes for IPv4 routing rework
Tom Henderson <tomh@tomh.org>
parents: 4454
diff changeset
   776
3408
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   777
def register_functions_ns3_internal(module, root_module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   778
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   779
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   780
def register_functions_ns3_olsr(module, root_module):
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   781
    return
2cc40b3e4fa5 python bindings
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
diff changeset
   782