2009-05-28 21:38:49 -07:00
from pybindgen import Module , FileCodeSink , param , retval , cppclass , typehandlers
2008-07-08 10:43:58 -07:00
def register_types ( module ) :
root_module = module . get_root ( )
2008-10-29 11:18:39 -07:00
## icmpv4.h: ns3::Icmpv4DestinationUnreachable [class]
module . add_class ( ' Icmpv4DestinationUnreachable ' , parent = root_module [ ' ns3::Header ' ] )
## icmpv4.h: ns3::Icmpv4DestinationUnreachable [enumeration]
module . add_enum ( ' ' , [ ' NET_UNREACHABLE ' , ' HOST_UNREACHABLE ' , ' PROTOCOL_UNREACHABLE ' , ' PORT_UNREACHABLE ' , ' FRAG_NEEDED ' , ' SOURCE_ROUTE_FAILED ' ] , outer_class = root_module [ ' ns3::Icmpv4DestinationUnreachable ' ] )
## icmpv4.h: ns3::Icmpv4Echo [class]
module . add_class ( ' Icmpv4Echo ' , parent = root_module [ ' ns3::Header ' ] )
## icmpv4.h: ns3::Icmpv4Header [class]
module . add_class ( ' Icmpv4Header ' , parent = root_module [ ' ns3::Header ' ] )
## icmpv4.h: ns3::Icmpv4Header [enumeration]
module . add_enum ( ' ' , [ ' ECHO_REPLY ' , ' DEST_UNREACH ' , ' ECHO ' , ' TIME_EXCEEDED ' ] , outer_class = root_module [ ' ns3::Icmpv4Header ' ] )
## icmpv4.h: ns3::Icmpv4TimeExceeded [class]
module . add_class ( ' Icmpv4TimeExceeded ' , parent = root_module [ ' ns3::Header ' ] )
## icmpv4.h: ns3::Icmpv4TimeExceeded [enumeration]
module . add_enum ( ' ' , [ ' TIME_TO_LIVE ' , ' FRAGMENT_REASSEMBLY ' ] , outer_class = root_module [ ' ns3::Icmpv4TimeExceeded ' ] )
2008-07-08 10:43:58 -07:00
## tcp-header.h: ns3::TcpHeader [class]
2008-07-14 11:42:49 +01:00
module . add_class ( ' TcpHeader ' , parent = root_module [ ' ns3::Header ' ] )
2008-07-08 10:43:58 -07:00
## tcp-header.h: ns3::TcpHeader::Flags_t [enumeration]
module . add_enum ( ' Flags_t ' , [ ' NONE ' , ' FIN ' , ' SYN ' , ' RST ' , ' PSH ' , ' ACK ' , ' URG ' ] , outer_class = root_module [ ' ns3::TcpHeader ' ] )
2008-10-06 17:39:35 +01:00
## udp-header.h: ns3::UdpHeader [class]
module . add_class ( ' UdpHeader ' , parent = root_module [ ' ns3::Header ' ] )
2009-05-28 21:38:49 -07:00
## ipv4-static-routing-impl.h: ns3::Ipv4StaticRoutingImpl [class]
module . add_class ( ' Ipv4StaticRoutingImpl ' , parent = root_module [ ' ns3::Ipv4StaticRouting ' ] )
2008-12-02 12:15:18 -08:00
## ipv4-global-routing.h: ns3::Ipv4GlobalRouting [class]
module . add_class ( ' Ipv4GlobalRouting ' , parent = root_module [ ' ns3::Ipv4RoutingProtocol ' ] )
2009-05-28 21:38:49 -07:00
## ipv4-list-routing-impl.h: ns3::Ipv4ListRoutingImpl [class]
module . add_class ( ' Ipv4ListRoutingImpl ' , parent = root_module [ ' ns3::Ipv4ListRouting ' ] )
2008-07-08 10:43:58 -07:00
2008-11-08 15:00:28 +00:00
## Register a nested module for the namespace Config
2008-07-08 10:43:58 -07:00
2008-11-08 15:00:28 +00:00
nested_module = module . add_cpp_namespace ( ' Config ' )
register_types_ns3_Config ( nested_module )
2008-07-08 10:43:58 -07:00
## Register a nested module for the namespace TimeStepPrecision
nested_module = module . add_cpp_namespace ( ' TimeStepPrecision ' )
register_types_ns3_TimeStepPrecision ( nested_module )
2009-05-28 21:38:49 -07:00
## Register a nested module for the namespace addressUtils
nested_module = module . add_cpp_namespace ( ' addressUtils ' )
register_types_ns3_addressUtils ( nested_module )
2008-11-08 15:00:28 +00:00
## Register a nested module for the namespace internal
2008-07-08 10:43:58 -07:00
2008-11-08 15:00:28 +00:00
nested_module = module . add_cpp_namespace ( ' internal ' )
register_types_ns3_internal ( nested_module )
2008-07-08 10:43:58 -07:00
## Register a nested module for the namespace olsr
nested_module = module . add_cpp_namespace ( ' olsr ' )
register_types_ns3_olsr ( nested_module )
2008-11-08 15:00:28 +00:00
def register_types_ns3_Config ( module ) :
2008-07-08 10:43:58 -07:00
root_module = module . get_root ( )
def register_types_ns3_TimeStepPrecision ( module ) :
root_module = module . get_root ( )
2009-05-28 21:38:49 -07:00
def register_types_ns3_addressUtils ( module ) :
root_module = module . get_root ( )
2008-11-08 15:00:28 +00:00
def register_types_ns3_internal ( module ) :
2008-07-08 10:43:58 -07:00
root_module = module . get_root ( )
def register_types_ns3_olsr ( module ) :
root_module = module . get_root ( )
def register_methods ( root_module ) :
2008-10-29 11:18:39 -07:00
register_Ns3Icmpv4DestinationUnreachable_methods ( root_module , root_module [ ' ns3::Icmpv4DestinationUnreachable ' ] )
register_Ns3Icmpv4Echo_methods ( root_module , root_module [ ' ns3::Icmpv4Echo ' ] )
register_Ns3Icmpv4Header_methods ( root_module , root_module [ ' ns3::Icmpv4Header ' ] )
register_Ns3Icmpv4TimeExceeded_methods ( root_module , root_module [ ' ns3::Icmpv4TimeExceeded ' ] )
2008-07-08 10:43:58 -07:00
register_Ns3TcpHeader_methods ( root_module , root_module [ ' ns3::TcpHeader ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3UdpHeader_methods ( root_module , root_module [ ' ns3::UdpHeader ' ] )
2009-05-28 21:38:49 -07:00
register_Ns3Ipv4StaticRoutingImpl_methods ( root_module , root_module [ ' ns3::Ipv4StaticRoutingImpl ' ] )
2008-12-02 12:15:18 -08:00
register_Ns3Ipv4GlobalRouting_methods ( root_module , root_module [ ' ns3::Ipv4GlobalRouting ' ] )
2009-05-28 21:38:49 -07:00
register_Ns3Ipv4ListRoutingImpl_methods ( root_module , root_module [ ' ns3::Ipv4ListRoutingImpl ' ] )
2008-07-08 10:43:58 -07:00
return
2008-10-29 11:18:39 -07:00
def register_Ns3Icmpv4DestinationUnreachable_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## icmpv4.h: ns3::Icmpv4DestinationUnreachable::Icmpv4DestinationUnreachable(ns3::Icmpv4DestinationUnreachable const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Icmpv4DestinationUnreachable const & ' , ' arg0 ' ) ] )
2008-10-29 11:18:39 -07:00
## icmpv4.h: static ns3::TypeId ns3::Icmpv4DestinationUnreachable::GetTypeId() [member function]
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
## icmpv4.h: ns3::Icmpv4DestinationUnreachable::Icmpv4DestinationUnreachable() [constructor]
cls . add_constructor ( [ ] )
## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::SetNextHopMtu(uint16_t mtu) [member function]
cls . add_method ( ' SetNextHopMtu ' ,
' void ' ,
[ param ( ' uint16_t ' , ' mtu ' ) ] )
## icmpv4.h: uint16_t ns3::Icmpv4DestinationUnreachable::GetNextHopMtu() const [member function]
cls . add_method ( ' GetNextHopMtu ' ,
' uint16_t ' ,
[ ] ,
is_const = True )
2009-04-24 10:02:10 +02:00
## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::SetData(ns3::Ptr<ns3::Packet const> data) [member function]
2008-10-29 11:18:39 -07:00
cls . add_method ( ' SetData ' ,
' void ' ,
[ param ( ' ns3::Ptr< ns3::Packet const > ' , ' data ' ) ] )
## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::SetHeader(ns3::Ipv4Header header) [member function]
cls . add_method ( ' SetHeader ' ,
' void ' ,
[ param ( ' ns3::Ipv4Header ' , ' header ' ) ] )
## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::GetData(uint8_t * payload) const [member function]
cls . add_method ( ' GetData ' ,
' void ' ,
[ param ( ' uint8_t * ' , ' payload ' ) ] ,
is_const = True )
## icmpv4.h: ns3::Ipv4Header ns3::Icmpv4DestinationUnreachable::GetHeader() const [member function]
cls . add_method ( ' GetHeader ' ,
' ns3::Ipv4Header ' ,
[ ] ,
is_const = True )
## icmpv4.h: ns3::TypeId ns3::Icmpv4DestinationUnreachable::GetInstanceTypeId() const [member function]
cls . add_method ( ' GetInstanceTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_const = True , visibility = ' private ' , is_virtual = True )
## icmpv4.h: uint32_t ns3::Icmpv4DestinationUnreachable::GetSerializedSize() const [member function]
cls . add_method ( ' GetSerializedSize ' ,
' uint32_t ' ,
[ ] ,
is_const = True , visibility = ' private ' , is_virtual = True )
## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::Serialize(ns3::Buffer::Iterator start) const [member function]
cls . add_method ( ' Serialize ' ,
' void ' ,
[ param ( ' ns3::Buffer::Iterator ' , ' start ' ) ] ,
is_const = True , visibility = ' private ' , is_virtual = True )
## icmpv4.h: uint32_t ns3::Icmpv4DestinationUnreachable::Deserialize(ns3::Buffer::Iterator start) [member function]
cls . add_method ( ' Deserialize ' ,
' uint32_t ' ,
[ param ( ' ns3::Buffer::Iterator ' , ' start ' ) ] ,
visibility = ' private ' , is_virtual = True )
## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::Print(std::ostream & os) const [member function]
cls . add_method ( ' Print ' ,
' void ' ,
[ param ( ' std::ostream & ' , ' os ' ) ] ,
is_const = True , visibility = ' private ' , is_virtual = True )
return
def register_Ns3Icmpv4Echo_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## icmpv4.h: ns3::Icmpv4Echo::Icmpv4Echo(ns3::Icmpv4Echo const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Icmpv4Echo const & ' , ' arg0 ' ) ] )
2008-10-29 11:18:39 -07:00
## icmpv4.h: void ns3::Icmpv4Echo::SetIdentifier(uint16_t id) [member function]
cls . add_method ( ' SetIdentifier ' ,
' void ' ,
[ param ( ' uint16_t ' , ' id ' ) ] )
## icmpv4.h: void ns3::Icmpv4Echo::SetSequenceNumber(uint16_t seq) [member function]
cls . add_method ( ' SetSequenceNumber ' ,
' void ' ,
[ param ( ' uint16_t ' , ' seq ' ) ] )
2009-04-24 10:02:10 +02:00
## icmpv4.h: void ns3::Icmpv4Echo::SetData(ns3::Ptr<ns3::Packet const> data) [member function]
2008-10-29 11:18:39 -07:00
cls . add_method ( ' SetData ' ,
' void ' ,
[ param ( ' ns3::Ptr< ns3::Packet const > ' , ' data ' ) ] )
## icmpv4.h: uint16_t ns3::Icmpv4Echo::GetIdentifier() const [member function]
cls . add_method ( ' GetIdentifier ' ,
' uint16_t ' ,
[ ] ,
is_const = True )
## icmpv4.h: uint16_t ns3::Icmpv4Echo::GetSequenceNumber() const [member function]
cls . add_method ( ' GetSequenceNumber ' ,
' uint16_t ' ,
[ ] ,
is_const = True )
2009-04-24 10:02:10 +02:00
## icmpv4.h: ns3::Ptr<ns3::Packet const> ns3::Icmpv4Echo::GetData() const [member function]
2008-10-29 11:18:39 -07:00
cls . add_method ( ' GetData ' ,
' ns3::Ptr< ns3::Packet const > ' ,
[ ] ,
is_const = True )
## icmpv4.h: static ns3::TypeId ns3::Icmpv4Echo::GetTypeId() [member function]
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
## icmpv4.h: ns3::Icmpv4Echo::Icmpv4Echo() [constructor]
cls . add_constructor ( [ ] )
## icmpv4.h: ns3::TypeId ns3::Icmpv4Echo::GetInstanceTypeId() const [member function]
cls . add_method ( ' GetInstanceTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_const = True , is_virtual = True )
## icmpv4.h: uint32_t ns3::Icmpv4Echo::GetSerializedSize() const [member function]
cls . add_method ( ' GetSerializedSize ' ,
' uint32_t ' ,
[ ] ,
is_const = True , is_virtual = True )
## icmpv4.h: void ns3::Icmpv4Echo::Serialize(ns3::Buffer::Iterator start) const [member function]
cls . add_method ( ' Serialize ' ,
' void ' ,
[ param ( ' ns3::Buffer::Iterator ' , ' start ' ) ] ,
is_const = True , is_virtual = True )
## icmpv4.h: uint32_t ns3::Icmpv4Echo::Deserialize(ns3::Buffer::Iterator start) [member function]
cls . add_method ( ' Deserialize ' ,
' uint32_t ' ,
[ param ( ' ns3::Buffer::Iterator ' , ' start ' ) ] ,
is_virtual = True )
## icmpv4.h: void ns3::Icmpv4Echo::Print(std::ostream & os) const [member function]
cls . add_method ( ' Print ' ,
' void ' ,
[ param ( ' std::ostream & ' , ' os ' ) ] ,
is_const = True , is_virtual = True )
return
def register_Ns3Icmpv4Header_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## icmpv4.h: ns3::Icmpv4Header::Icmpv4Header(ns3::Icmpv4Header const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Icmpv4Header const & ' , ' arg0 ' ) ] )
2008-10-29 11:18:39 -07:00
## icmpv4.h: void ns3::Icmpv4Header::EnableChecksum() [member function]
cls . add_method ( ' EnableChecksum ' ,
' void ' ,
[ ] )
## icmpv4.h: void ns3::Icmpv4Header::SetType(uint8_t type) [member function]
cls . add_method ( ' SetType ' ,
' void ' ,
[ param ( ' uint8_t ' , ' type ' ) ] )
## icmpv4.h: void ns3::Icmpv4Header::SetCode(uint8_t code) [member function]
cls . add_method ( ' SetCode ' ,
' void ' ,
[ param ( ' uint8_t ' , ' code ' ) ] )
## icmpv4.h: uint8_t ns3::Icmpv4Header::GetType() const [member function]
cls . add_method ( ' GetType ' ,
' uint8_t ' ,
[ ] ,
is_const = True )
## icmpv4.h: uint8_t ns3::Icmpv4Header::GetCode() const [member function]
cls . add_method ( ' GetCode ' ,
' uint8_t ' ,
[ ] ,
is_const = True )
## icmpv4.h: static ns3::TypeId ns3::Icmpv4Header::GetTypeId() [member function]
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
## icmpv4.h: ns3::Icmpv4Header::Icmpv4Header() [constructor]
cls . add_constructor ( [ ] )
## icmpv4.h: ns3::TypeId ns3::Icmpv4Header::GetInstanceTypeId() const [member function]
cls . add_method ( ' GetInstanceTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_const = True , is_virtual = True )
## icmpv4.h: uint32_t ns3::Icmpv4Header::GetSerializedSize() const [member function]
cls . add_method ( ' GetSerializedSize ' ,
' uint32_t ' ,
[ ] ,
is_const = True , is_virtual = True )
## icmpv4.h: void ns3::Icmpv4Header::Serialize(ns3::Buffer::Iterator start) const [member function]
cls . add_method ( ' Serialize ' ,
' void ' ,
[ param ( ' ns3::Buffer::Iterator ' , ' start ' ) ] ,
is_const = True , is_virtual = True )
## icmpv4.h: uint32_t ns3::Icmpv4Header::Deserialize(ns3::Buffer::Iterator start) [member function]
cls . add_method ( ' Deserialize ' ,
' uint32_t ' ,
[ param ( ' ns3::Buffer::Iterator ' , ' start ' ) ] ,
is_virtual = True )
## icmpv4.h: void ns3::Icmpv4Header::Print(std::ostream & os) const [member function]
cls . add_method ( ' Print ' ,
' void ' ,
[ param ( ' std::ostream & ' , ' os ' ) ] ,
is_const = True , is_virtual = True )
return
def register_Ns3Icmpv4TimeExceeded_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## icmpv4.h: ns3::Icmpv4TimeExceeded::Icmpv4TimeExceeded(ns3::Icmpv4TimeExceeded const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Icmpv4TimeExceeded const & ' , ' arg0 ' ) ] )
2009-04-24 10:02:10 +02:00
## icmpv4.h: void ns3::Icmpv4TimeExceeded::SetData(ns3::Ptr<ns3::Packet const> data) [member function]
2008-10-29 11:18:39 -07:00
cls . add_method ( ' SetData ' ,
' void ' ,
[ param ( ' ns3::Ptr< ns3::Packet const > ' , ' data ' ) ] )
## icmpv4.h: void ns3::Icmpv4TimeExceeded::SetHeader(ns3::Ipv4Header header) [member function]
cls . add_method ( ' SetHeader ' ,
' void ' ,
[ param ( ' ns3::Ipv4Header ' , ' header ' ) ] )
## icmpv4.h: void ns3::Icmpv4TimeExceeded::GetData(uint8_t * payload) const [member function]
cls . add_method ( ' GetData ' ,
' void ' ,
[ param ( ' uint8_t * ' , ' payload ' ) ] ,
is_const = True )
## icmpv4.h: ns3::Ipv4Header ns3::Icmpv4TimeExceeded::GetHeader() const [member function]
cls . add_method ( ' GetHeader ' ,
' ns3::Ipv4Header ' ,
[ ] ,
is_const = True )
## icmpv4.h: static ns3::TypeId ns3::Icmpv4TimeExceeded::GetTypeId() [member function]
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
## icmpv4.h: ns3::Icmpv4TimeExceeded::Icmpv4TimeExceeded() [constructor]
cls . add_constructor ( [ ] )
## icmpv4.h: ns3::TypeId ns3::Icmpv4TimeExceeded::GetInstanceTypeId() const [member function]
cls . add_method ( ' GetInstanceTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_const = True , is_virtual = True )
## icmpv4.h: uint32_t ns3::Icmpv4TimeExceeded::GetSerializedSize() const [member function]
cls . add_method ( ' GetSerializedSize ' ,
' uint32_t ' ,
[ ] ,
is_const = True , is_virtual = True )
## icmpv4.h: void ns3::Icmpv4TimeExceeded::Serialize(ns3::Buffer::Iterator start) const [member function]
cls . add_method ( ' Serialize ' ,
' void ' ,
[ param ( ' ns3::Buffer::Iterator ' , ' start ' ) ] ,
is_const = True , is_virtual = True )
## icmpv4.h: uint32_t ns3::Icmpv4TimeExceeded::Deserialize(ns3::Buffer::Iterator start) [member function]
cls . add_method ( ' Deserialize ' ,
' uint32_t ' ,
[ param ( ' ns3::Buffer::Iterator ' , ' start ' ) ] ,
is_virtual = True )
## icmpv4.h: void ns3::Icmpv4TimeExceeded::Print(std::ostream & os) const [member function]
cls . add_method ( ' Print ' ,
' void ' ,
[ param ( ' std::ostream & ' , ' os ' ) ] ,
is_const = True , is_virtual = True )
return
2008-07-08 10:43:58 -07:00
def register_Ns3TcpHeader_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## tcp-header.h: ns3::TcpHeader::TcpHeader(ns3::TcpHeader const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::TcpHeader const & ' , ' arg0 ' ) ] )
2008-07-08 10:43:58 -07:00
## tcp-header.h: ns3::TcpHeader::TcpHeader() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-07-08 10:43:58 -07:00
## tcp-header.h: void ns3::TcpHeader::EnableChecksums() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' EnableChecksums ' ,
' void ' ,
[ ] )
2008-07-08 10:43:58 -07:00
## tcp-header.h: void ns3::TcpHeader::SetSourcePort(uint16_t port) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetSourcePort ' ,
' void ' ,
[ param ( ' uint16_t ' , ' port ' ) ] )
2008-07-08 10:43:58 -07:00
## tcp-header.h: void ns3::TcpHeader::SetDestinationPort(uint16_t port) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetDestinationPort ' ,
' void ' ,
[ param ( ' uint16_t ' , ' port ' ) ] )
2008-07-08 10:43:58 -07:00
## tcp-header.h: void ns3::TcpHeader::SetSequenceNumber(SequenceNumber sequenceNumber) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetSequenceNumber ' ,
' void ' ,
[ param ( ' SequenceNumber ' , ' sequenceNumber ' ) ] )
2008-07-08 10:43:58 -07:00
## tcp-header.h: void ns3::TcpHeader::SetAckNumber(SequenceNumber ackNumber) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetAckNumber ' ,
' void ' ,
[ param ( ' SequenceNumber ' , ' ackNumber ' ) ] )
2008-07-08 10:43:58 -07:00
## tcp-header.h: void ns3::TcpHeader::SetLength(uint8_t length) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetLength ' ,
' void ' ,
[ param ( ' uint8_t ' , ' length ' ) ] )
2008-07-08 10:43:58 -07:00
## tcp-header.h: void ns3::TcpHeader::SetFlags(uint8_t flags) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetFlags ' ,
' void ' ,
[ param ( ' uint8_t ' , ' flags ' ) ] )
2008-07-08 10:43:58 -07:00
## tcp-header.h: void ns3::TcpHeader::SetWindowSize(uint16_t windowSize) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetWindowSize ' ,
' void ' ,
[ param ( ' uint16_t ' , ' windowSize ' ) ] )
2008-07-08 10:43:58 -07:00
## tcp-header.h: void ns3::TcpHeader::SetUrgentPointer(uint16_t urgentPointer) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetUrgentPointer ' ,
' void ' ,
[ param ( ' uint16_t ' , ' urgentPointer ' ) ] )
2008-07-08 10:43:58 -07:00
## tcp-header.h: uint16_t ns3::TcpHeader::GetSourcePort() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetSourcePort ' ,
' uint16_t ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## tcp-header.h: uint16_t ns3::TcpHeader::GetDestinationPort() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetDestinationPort ' ,
' uint16_t ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## tcp-header.h: SequenceNumber ns3::TcpHeader::GetSequenceNumber() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetSequenceNumber ' ,
' SequenceNumber ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## tcp-header.h: SequenceNumber ns3::TcpHeader::GetAckNumber() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetAckNumber ' ,
' SequenceNumber ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## tcp-header.h: uint8_t ns3::TcpHeader::GetLength() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetLength ' ,
' uint8_t ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## tcp-header.h: uint8_t ns3::TcpHeader::GetFlags() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetFlags ' ,
' uint8_t ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## tcp-header.h: uint16_t ns3::TcpHeader::GetWindowSize() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetWindowSize ' ,
' uint16_t ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## tcp-header.h: uint16_t ns3::TcpHeader::GetUrgentPointer() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetUrgentPointer ' ,
' uint16_t ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## tcp-header.h: void ns3::TcpHeader::InitializeChecksum(ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' InitializeChecksum ' ,
' void ' ,
[ param ( ' ns3::Ipv4Address ' , ' source ' ) , param ( ' ns3::Ipv4Address ' , ' destination ' ) , param ( ' uint8_t ' , ' protocol ' ) ] )
2008-07-08 10:43:58 -07:00
## tcp-header.h: static ns3::TypeId ns3::TcpHeader::GetTypeId() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
2008-07-08 10:43:58 -07:00
## tcp-header.h: ns3::TypeId ns3::TcpHeader::GetInstanceTypeId() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetInstanceTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## tcp-header.h: void ns3::TcpHeader::Print(std::ostream & os) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Print ' ,
' void ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' std::ostream & ' , ' os ' ) ] ,
2008-07-21 15:30:15 +01:00
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## tcp-header.h: uint32_t ns3::TcpHeader::GetSerializedSize() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetSerializedSize ' ,
' uint32_t ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## tcp-header.h: void ns3::TcpHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Serialize ' ,
' void ' ,
[ param ( ' ns3::Buffer::Iterator ' , ' start ' ) ] ,
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## tcp-header.h: uint32_t ns3::TcpHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Deserialize ' ,
' uint32_t ' ,
[ param ( ' ns3::Buffer::Iterator ' , ' start ' ) ] ,
is_virtual = True )
2008-07-08 10:43:58 -07:00
## tcp-header.h: bool ns3::TcpHeader::IsChecksumOk() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' IsChecksumOk ' ,
' bool ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3UdpHeader_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## udp-header.h: ns3::UdpHeader::UdpHeader(ns3::UdpHeader const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::UdpHeader const & ' , ' arg0 ' ) ] )
2008-10-06 17:39:35 +01:00
## udp-header.h: ns3::UdpHeader::UdpHeader() [constructor]
cls . add_constructor ( [ ] )
## udp-header.h: void ns3::UdpHeader::EnableChecksums() [member function]
cls . add_method ( ' EnableChecksums ' ,
' void ' ,
[ ] )
## udp-header.h: void ns3::UdpHeader::SetDestinationPort(uint16_t port) [member function]
cls . add_method ( ' SetDestinationPort ' ,
' void ' ,
[ param ( ' uint16_t ' , ' port ' ) ] )
## udp-header.h: void ns3::UdpHeader::SetSourcePort(uint16_t port) [member function]
cls . add_method ( ' SetSourcePort ' ,
' void ' ,
[ param ( ' uint16_t ' , ' port ' ) ] )
## udp-header.h: uint16_t ns3::UdpHeader::GetSourcePort() const [member function]
cls . add_method ( ' GetSourcePort ' ,
' uint16_t ' ,
[ ] ,
is_const = True )
## udp-header.h: uint16_t ns3::UdpHeader::GetDestinationPort() const [member function]
cls . add_method ( ' GetDestinationPort ' ,
' uint16_t ' ,
[ ] ,
is_const = True )
## udp-header.h: void ns3::UdpHeader::InitializeChecksum(ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol) [member function]
cls . add_method ( ' InitializeChecksum ' ,
' void ' ,
[ param ( ' ns3::Ipv4Address ' , ' source ' ) , param ( ' ns3::Ipv4Address ' , ' destination ' ) , param ( ' uint8_t ' , ' protocol ' ) ] )
## udp-header.h: static ns3::TypeId ns3::UdpHeader::GetTypeId() [member function]
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
## udp-header.h: ns3::TypeId ns3::UdpHeader::GetInstanceTypeId() const [member function]
cls . add_method ( ' GetInstanceTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_const = True , is_virtual = True )
## udp-header.h: void ns3::UdpHeader::Print(std::ostream & os) const [member function]
cls . add_method ( ' Print ' ,
' void ' ,
[ param ( ' std::ostream & ' , ' os ' ) ] ,
is_const = True , is_virtual = True )
## udp-header.h: uint32_t ns3::UdpHeader::GetSerializedSize() const [member function]
cls . add_method ( ' GetSerializedSize ' ,
' uint32_t ' ,
[ ] ,
is_const = True , is_virtual = True )
## udp-header.h: void ns3::UdpHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
cls . add_method ( ' Serialize ' ,
' void ' ,
[ param ( ' ns3::Buffer::Iterator ' , ' start ' ) ] ,
is_const = True , is_virtual = True )
## udp-header.h: uint32_t ns3::UdpHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
cls . add_method ( ' Deserialize ' ,
' uint32_t ' ,
[ param ( ' ns3::Buffer::Iterator ' , ' start ' ) ] ,
is_virtual = True )
## udp-header.h: bool ns3::UdpHeader::IsChecksumOk() const [member function]
cls . add_method ( ' IsChecksumOk ' ,
' bool ' ,
[ ] ,
is_const = True )
return
2009-05-28 21:38:49 -07:00
def register_Ns3Ipv4StaticRoutingImpl_methods ( root_module , cls ) :
## ipv4-static-routing-impl.h: ns3::Ipv4StaticRoutingImpl::Ipv4StaticRoutingImpl(ns3::Ipv4StaticRoutingImpl const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv4StaticRoutingImpl const & ' , ' arg0 ' ) ] )
## ipv4-static-routing-impl.h: static ns3::TypeId ns3::Ipv4StaticRoutingImpl::GetTypeId() [member function]
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
## ipv4-static-routing-impl.h: ns3::Ipv4StaticRoutingImpl::Ipv4StaticRoutingImpl() [constructor]
cls . add_constructor ( [ ] )
## 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]
cls . add_method ( ' RouteOutput ' ,
' ns3::Ptr< ns3::Ipv4Route > ' ,
[ param ( ' ns3::Ipv4Header const & ' , ' header ' ) , param ( ' uint32_t ' , ' oif ' ) , param ( ' ns3::Socket::SocketErrno & ' , ' sockerr ' ) ] ,
is_virtual = True )
## 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]
cls . add_method ( ' RouteInput ' ,
' bool ' ,
[ 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 ' ) ] ,
is_virtual = True )
## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::AddHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
cls . add_method ( ' AddHostRouteTo ' ,
' void ' ,
[ param ( ' ns3::Ipv4Address ' , ' dest ' ) , param ( ' ns3::Ipv4Address ' , ' nextHop ' ) , param ( ' uint32_t ' , ' interface ' ) ] ,
is_virtual = True )
## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::AddHostRouteTo(ns3::Ipv4Address dest, uint32_t interface) [member function]
cls . add_method ( ' AddHostRouteTo ' ,
' void ' ,
[ param ( ' ns3::Ipv4Address ' , ' dest ' ) , param ( ' uint32_t ' , ' interface ' ) ] ,
is_virtual = True )
## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
cls . add_method ( ' AddNetworkRouteTo ' ,
' void ' ,
[ param ( ' ns3::Ipv4Address ' , ' network ' ) , param ( ' ns3::Ipv4Mask ' , ' networkMask ' ) , param ( ' ns3::Ipv4Address ' , ' nextHop ' ) , param ( ' uint32_t ' , ' interface ' ) ] ,
is_virtual = True )
## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface) [member function]
cls . add_method ( ' AddNetworkRouteTo ' ,
' void ' ,
[ param ( ' ns3::Ipv4Address ' , ' network ' ) , param ( ' ns3::Ipv4Mask ' , ' networkMask ' ) , param ( ' uint32_t ' , ' interface ' ) ] ,
is_virtual = True )
## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::SetDefaultRoute(ns3::Ipv4Address nextHop, uint32_t interface) [member function]
cls . add_method ( ' SetDefaultRoute ' ,
' void ' ,
[ param ( ' ns3::Ipv4Address ' , ' nextHop ' ) , param ( ' uint32_t ' , ' interface ' ) ] ,
is_virtual = True )
## ipv4-static-routing-impl.h: uint32_t ns3::Ipv4StaticRoutingImpl::GetNRoutes() [member function]
cls . add_method ( ' GetNRoutes ' ,
' uint32_t ' ,
[ ] ,
is_virtual = True )
## ipv4-static-routing-impl.h: ns3::Ipv4RoutingTableEntry ns3::Ipv4StaticRoutingImpl::GetDefaultRoute() [member function]
cls . add_method ( ' GetDefaultRoute ' ,
' ns3::Ipv4RoutingTableEntry ' ,
[ ] ,
is_virtual = True )
## ipv4-static-routing-impl.h: ns3::Ipv4RoutingTableEntry ns3::Ipv4StaticRoutingImpl::GetRoute(uint32_t i) [member function]
cls . add_method ( ' GetRoute ' ,
' ns3::Ipv4RoutingTableEntry ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_virtual = True )
## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::RemoveRoute(uint32_t i) [member function]
cls . add_method ( ' RemoveRoute ' ,
' void ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_virtual = True )
## 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]
cls . add_method ( ' AddMulticastRoute ' ,
' void ' ,
[ param ( ' ns3::Ipv4Address ' , ' origin ' ) , param ( ' ns3::Ipv4Address ' , ' group ' ) , param ( ' uint32_t ' , ' inputInterface ' ) , param ( ' std::vector< unsigned int > ' , ' outputInterfaces ' ) ] ,
is_virtual = True )
## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::SetDefaultMulticastRoute(uint32_t outputInterface) [member function]
cls . add_method ( ' SetDefaultMulticastRoute ' ,
' void ' ,
[ param ( ' uint32_t ' , ' outputInterface ' ) ] ,
is_virtual = True )
## ipv4-static-routing-impl.h: uint32_t ns3::Ipv4StaticRoutingImpl::GetNMulticastRoutes() const [member function]
cls . add_method ( ' GetNMulticastRoutes ' ,
' uint32_t ' ,
[ ] ,
is_const = True , is_virtual = True )
## ipv4-static-routing-impl.h: ns3::Ipv4MulticastRoutingTableEntry ns3::Ipv4StaticRoutingImpl::GetMulticastRoute(uint32_t i) const [member function]
cls . add_method ( ' GetMulticastRoute ' ,
' ns3::Ipv4MulticastRoutingTableEntry ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_const = True , is_virtual = True )
## ipv4-static-routing-impl.h: bool ns3::Ipv4StaticRoutingImpl::RemoveMulticastRoute(ns3::Ipv4Address origin, ns3::Ipv4Address group, uint32_t inputInterface) [member function]
cls . add_method ( ' RemoveMulticastRoute ' ,
' bool ' ,
[ param ( ' ns3::Ipv4Address ' , ' origin ' ) , param ( ' ns3::Ipv4Address ' , ' group ' ) , param ( ' uint32_t ' , ' inputInterface ' ) ] ,
is_virtual = True )
## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::RemoveMulticastRoute(uint32_t index) [member function]
cls . add_method ( ' RemoveMulticastRoute ' ,
' void ' ,
[ param ( ' uint32_t ' , ' index ' ) ] ,
is_virtual = True )
## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::SetNode(ns3::Ptr<ns3::Node> node) [member function]
cls . add_method ( ' SetNode ' ,
' void ' ,
[ param ( ' ns3::Ptr< ns3::Node > ' , ' node ' ) ] ,
is_virtual = True )
## ipv4-static-routing-impl.h: ns3::Ptr<ns3::Node> ns3::Ipv4StaticRoutingImpl::GetNode() const [member function]
cls . add_method ( ' GetNode ' ,
' ns3::Ptr< ns3::Node > ' ,
[ ] ,
is_const = True , is_virtual = True )
## ipv4-static-routing-impl.h: void ns3::Ipv4StaticRoutingImpl::DoDispose() [member function]
cls . add_method ( ' DoDispose ' ,
' void ' ,
[ ] ,
visibility = ' protected ' , is_virtual = True )
return
2008-12-02 12:15:18 -08:00
def register_Ns3Ipv4GlobalRouting_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## ipv4-global-routing.h: ns3::Ipv4GlobalRouting::Ipv4GlobalRouting(ns3::Ipv4GlobalRouting const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv4GlobalRouting const & ' , ' arg0 ' ) ] )
2008-12-02 12:15:18 -08:00
## ipv4-global-routing.h: static ns3::TypeId ns3::Ipv4GlobalRouting::GetTypeId() [member function]
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
## ipv4-global-routing.h: ns3::Ipv4GlobalRouting::Ipv4GlobalRouting() [constructor]
cls . add_constructor ( [ ] )
2009-05-28 21:38:49 -07:00
## ipv4-global-routing.h: ns3::Ptr<ns3::Ipv4Route> ns3::Ipv4GlobalRouting::RouteOutput(ns3::Ipv4Header const & header, uint32_t oif, ns3::Socket::SocketErrno & sockerr) [member function]
cls . add_method ( ' RouteOutput ' ,
' ns3::Ptr< ns3::Ipv4Route > ' ,
[ param ( ' ns3::Ipv4Header const & ' , ' header ' ) , param ( ' uint32_t ' , ' oif ' ) , param ( ' ns3::Socket::SocketErrno & ' , ' sockerr ' ) ] ,
2008-12-02 12:15:18 -08:00
is_virtual = True )
2009-05-28 21:38:49 -07:00
## 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]
cls . add_method ( ' RouteInput ' ,
2008-12-02 12:15:18 -08:00
' bool ' ,
2009-05-28 21:38:49 -07:00
[ 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 ' ) ] ,
2008-12-02 12:15:18 -08:00
is_virtual = True )
## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::AddHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
cls . add_method ( ' AddHostRouteTo ' ,
' void ' ,
[ param ( ' ns3::Ipv4Address ' , ' dest ' ) , param ( ' ns3::Ipv4Address ' , ' nextHop ' ) , param ( ' uint32_t ' , ' interface ' ) ] )
## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::AddHostRouteTo(ns3::Ipv4Address dest, uint32_t interface) [member function]
cls . add_method ( ' AddHostRouteTo ' ,
' void ' ,
[ param ( ' ns3::Ipv4Address ' , ' dest ' ) , param ( ' uint32_t ' , ' interface ' ) ] )
## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
cls . add_method ( ' AddNetworkRouteTo ' ,
' void ' ,
[ param ( ' ns3::Ipv4Address ' , ' network ' ) , param ( ' ns3::Ipv4Mask ' , ' networkMask ' ) , param ( ' ns3::Ipv4Address ' , ' nextHop ' ) , param ( ' uint32_t ' , ' interface ' ) ] )
## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface) [member function]
cls . add_method ( ' AddNetworkRouteTo ' ,
' void ' ,
[ param ( ' ns3::Ipv4Address ' , ' network ' ) , param ( ' ns3::Ipv4Mask ' , ' networkMask ' ) , param ( ' uint32_t ' , ' interface ' ) ] )
## ipv4-global-routing.h: uint32_t ns3::Ipv4GlobalRouting::GetNRoutes() [member function]
cls . add_method ( ' GetNRoutes ' ,
' uint32_t ' ,
[ ] )
2009-05-28 21:38:49 -07:00
## ipv4-global-routing.h: ns3::Ipv4RoutingTableEntry * ns3::Ipv4GlobalRouting::GetRoute(uint32_t i) [member function]
2008-12-02 12:15:18 -08:00
cls . add_method ( ' GetRoute ' ,
2009-05-28 21:38:49 -07:00
' ns3::Ipv4RoutingTableEntry * ' ,
2008-12-02 12:15:18 -08:00
[ param ( ' uint32_t ' , ' i ' ) ] )
## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::RemoveRoute(uint32_t i) [member function]
cls . add_method ( ' RemoveRoute ' ,
' void ' ,
[ param ( ' uint32_t ' , ' i ' ) ] )
2009-05-28 21:38:49 -07:00
## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::SetNode(ns3::Ptr<ns3::Node> node) [member function]
cls . add_method ( ' SetNode ' ,
' void ' ,
[ param ( ' ns3::Ptr< ns3::Node > ' , ' node ' ) ] )
## ipv4-global-routing.h: ns3::Ptr<ns3::Node> ns3::Ipv4GlobalRouting::GetNode() const [member function]
cls . add_method ( ' GetNode ' ,
' ns3::Ptr< ns3::Node > ' ,
[ ] ,
is_const = True )
2008-12-02 12:15:18 -08:00
## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::DoDispose() [member function]
cls . add_method ( ' DoDispose ' ,
' void ' ,
[ ] ,
visibility = ' protected ' , is_virtual = True )
2008-07-08 10:43:58 -07:00
return
2009-05-28 21:38:49 -07:00
def register_Ns3Ipv4ListRoutingImpl_methods ( root_module , cls ) :
## ipv4-list-routing-impl.h: ns3::Ipv4ListRoutingImpl::Ipv4ListRoutingImpl(ns3::Ipv4ListRoutingImpl const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv4ListRoutingImpl const & ' , ' arg0 ' ) ] )
## ipv4-list-routing-impl.h: static ns3::TypeId ns3::Ipv4ListRoutingImpl::GetTypeId() [member function]
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
## ipv4-list-routing-impl.h: ns3::Ipv4ListRoutingImpl::Ipv4ListRoutingImpl() [constructor]
cls . add_constructor ( [ ] )
## 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]
cls . add_method ( ' RouteOutput ' ,
' ns3::Ptr< ns3::Ipv4Route > ' ,
[ param ( ' ns3::Ipv4Header const & ' , ' header ' ) , param ( ' uint32_t ' , ' oif ' ) , param ( ' ns3::Socket::SocketErrno & ' , ' sockerr ' ) ] ,
is_virtual = True )
## 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]
cls . add_method ( ' RouteInput ' ,
' bool ' ,
[ 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 ' ) ] ,
is_virtual = True )
## ipv4-list-routing-impl.h: void ns3::Ipv4ListRoutingImpl::AddRoutingProtocol(ns3::Ptr<ns3::Ipv4RoutingProtocol> routingProtocol, int16_t priority) [member function]
cls . add_method ( ' AddRoutingProtocol ' ,
' void ' ,
[ param ( ' ns3::Ptr< ns3::Ipv4RoutingProtocol > ' , ' routingProtocol ' ) , param ( ' int16_t ' , ' priority ' ) ] ,
is_virtual = True )
## ipv4-list-routing-impl.h: uint32_t ns3::Ipv4ListRoutingImpl::GetNRoutingProtocols() const [member function]
cls . add_method ( ' GetNRoutingProtocols ' ,
' uint32_t ' ,
[ ] ,
is_const = True , is_virtual = True )
## ipv4-list-routing-impl.h: ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::Ipv4ListRoutingImpl::GetRoutingProtocol(uint32_t index, int16_t & priority) const [member function]
cls . add_method ( ' GetRoutingProtocol ' ,
' ns3::Ptr< ns3::Ipv4RoutingProtocol > ' ,
[ param ( ' uint32_t ' , ' index ' ) , param ( ' int16_t & ' , ' priority ' ) ] ,
is_const = True , is_virtual = True )
## ipv4-list-routing-impl.h: ns3::Ptr<ns3::Ipv4StaticRouting> ns3::Ipv4ListRoutingImpl::GetStaticRouting() const [member function]
cls . add_method ( ' GetStaticRouting ' ,
' ns3::Ptr< ns3::Ipv4StaticRouting > ' ,
[ ] ,
is_const = True , is_virtual = True )
## ipv4-list-routing-impl.h: void ns3::Ipv4ListRoutingImpl::SetNode(ns3::Ptr<ns3::Node> node) [member function]
cls . add_method ( ' SetNode ' ,
' void ' ,
[ param ( ' ns3::Ptr< ns3::Node > ' , ' node ' ) ] )
## ipv4-list-routing-impl.h: ns3::Ptr<ns3::Node> ns3::Ipv4ListRoutingImpl::GetNode() const [member function]
cls . add_method ( ' GetNode ' ,
' ns3::Ptr< ns3::Node > ' ,
[ ] ,
is_const = True )
## ipv4-list-routing-impl.h: void ns3::Ipv4ListRoutingImpl::DoDispose() [member function]
cls . add_method ( ' DoDispose ' ,
' void ' ,
[ ] ,
visibility = ' protected ' , is_virtual = True )
return
2008-07-08 10:43:58 -07:00
def register_functions ( root_module ) :
module = root_module
register_functions_ns3_Config ( module . get_submodule ( ' Config ' ) , root_module )
2008-11-08 15:00:28 +00:00
register_functions_ns3_TimeStepPrecision ( module . get_submodule ( ' TimeStepPrecision ' ) , root_module )
2009-05-28 21:38:49 -07:00
register_functions_ns3_addressUtils ( module . get_submodule ( ' addressUtils ' ) , root_module )
2008-11-08 15:00:28 +00:00
register_functions_ns3_internal ( module . get_submodule ( ' internal ' ) , root_module )
2008-07-08 10:43:58 -07:00
register_functions_ns3_olsr ( module . get_submodule ( ' olsr ' ) , root_module )
return
2008-11-08 15:00:28 +00:00
def register_functions_ns3_Config ( module , root_module ) :
2008-07-08 10:43:58 -07:00
return
def register_functions_ns3_TimeStepPrecision ( module , root_module ) :
return
2009-05-28 21:38:49 -07:00
def register_functions_ns3_addressUtils ( module , root_module ) :
return
2008-11-08 15:00:28 +00:00
def register_functions_ns3_internal ( module , root_module ) :
2008-07-08 10:43:58 -07:00
return
def register_functions_ns3_olsr ( module , root_module ) :
return