diff --git a/src/internet/bindings/callbacks_list.py b/src/internet/bindings/callbacks_list.py index ca6bf7093..d8e2683ae 100644 --- a/src/internet/bindings/callbacks_list.py +++ b/src/internet/bindings/callbacks_list.py @@ -2,6 +2,7 @@ callback_classes = [ ['void', 'ns3::Ipv6Address', 'unsigned char', 'unsigned char', 'unsigned char', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['void', 'ns3::Ipv4Address', 'unsigned char', 'unsigned char', 'unsigned char', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['void', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], + ['void', 'ns3::Ptr', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['void', 'ns3::Ptr', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['void', 'ns3::Ptr', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['void', 'ns3::Ptr', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], diff --git a/src/internet/bindings/modulegen__gcc_ILP32.py b/src/internet/bindings/modulegen__gcc_ILP32.py index 045f80bfb..a48acc363 100644 --- a/src/internet/bindings/modulegen__gcc_ILP32.py +++ b/src/internet/bindings/modulegen__gcc_ILP32.py @@ -476,6 +476,8 @@ def register_types(module): module.add_class('TcpOptionUnknown', parent=root_module['ns3::TcpOption']) ## tcp-rx-buffer.h (module 'internet'): ns3::TcpRxBuffer [class] module.add_class('TcpRxBuffer', parent=root_module['ns3::Object']) + ## tcp-scalable.h (module 'internet'): ns3::TcpScalable [class] + module.add_class('TcpScalable', parent=root_module['ns3::TcpNewReno']) ## tcp-socket.h (module 'internet'): ns3::TcpSocket [class] module.add_class('TcpSocket', parent=root_module['ns3::Socket']) ## tcp-socket.h (module 'internet'): ns3::TcpSocket::TcpStates_t [enumeration] @@ -490,6 +492,10 @@ def register_types(module): module.add_enum('TcpCongState_t', ['CA_OPEN', 'CA_DISORDER', 'CA_CWR', 'CA_RECOVERY', 'CA_LOSS', 'CA_LAST_STATE'], outer_class=root_module['ns3::TcpSocketState']) ## tcp-tx-buffer.h (module 'internet'): ns3::TcpTxBuffer [class] module.add_class('TcpTxBuffer', parent=root_module['ns3::Object']) + ## tcp-vegas.h (module 'internet'): ns3::TcpVegas [class] + module.add_class('TcpVegas', parent=root_module['ns3::TcpNewReno']) + ## tcp-veno.h (module 'internet'): ns3::TcpVeno [class] + module.add_class('TcpVeno', parent=root_module['ns3::TcpNewReno']) ## tcp-westwood.h (module 'internet'): ns3::TcpWestwood [class] module.add_class('TcpWestwood', parent=root_module['ns3::TcpNewReno']) ## tcp-westwood.h (module 'internet'): ns3::TcpWestwood::ProtocolType [enumeration] @@ -732,6 +738,8 @@ def register_types(module): module.add_class('RipNg', parent=root_module['ns3::Ipv6RoutingProtocol']) ## ripng.h (module 'internet'): ns3::RipNg::SplitHorizonType_e [enumeration] module.add_enum('SplitHorizonType_e', ['NO_SPLIT_HORIZON', 'SPLIT_HORIZON', 'POISON_REVERSE'], outer_class=root_module['ns3::RipNg']) + ## tcp-bic.h (module 'internet'): ns3::TcpBic [class] + module.add_class('TcpBic', parent=root_module['ns3::TcpCongestionOps']) ## tcp-highspeed.h (module 'internet'): ns3::TcpHighSpeed [class] module.add_class('TcpHighSpeed', parent=root_module['ns3::TcpNewReno']) ## tcp-hybla.h (module 'internet'): ns3::TcpHybla [class] @@ -1085,11 +1093,14 @@ def register_methods(root_module): register_Ns3TcpOption_methods(root_module, root_module['ns3::TcpOption']) register_Ns3TcpOptionUnknown_methods(root_module, root_module['ns3::TcpOptionUnknown']) register_Ns3TcpRxBuffer_methods(root_module, root_module['ns3::TcpRxBuffer']) + register_Ns3TcpScalable_methods(root_module, root_module['ns3::TcpScalable']) register_Ns3TcpSocket_methods(root_module, root_module['ns3::TcpSocket']) register_Ns3TcpSocketBase_methods(root_module, root_module['ns3::TcpSocketBase']) register_Ns3TcpSocketFactory_methods(root_module, root_module['ns3::TcpSocketFactory']) register_Ns3TcpSocketState_methods(root_module, root_module['ns3::TcpSocketState']) register_Ns3TcpTxBuffer_methods(root_module, root_module['ns3::TcpTxBuffer']) + register_Ns3TcpVegas_methods(root_module, root_module['ns3::TcpVegas']) + register_Ns3TcpVeno_methods(root_module, root_module['ns3::TcpVeno']) register_Ns3TcpWestwood_methods(root_module, root_module['ns3::TcpWestwood']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) @@ -1198,6 +1209,7 @@ def register_methods(root_module): register_Ns3QueueItem_methods(root_module, root_module['ns3::QueueItem']) register_Ns3Rip_methods(root_module, root_module['ns3::Rip']) register_Ns3RipNg_methods(root_module, root_module['ns3::RipNg']) + register_Ns3TcpBic_methods(root_module, root_module['ns3::TcpBic']) register_Ns3TcpHighSpeed_methods(root_module, root_module['ns3::TcpHighSpeed']) register_Ns3TcpHybla_methods(root_module, root_module['ns3::TcpHybla']) register_Ns3TcpL4Protocol_methods(root_module, root_module['ns3::TcpL4Protocol']) @@ -7956,6 +7968,11 @@ def register_Ns3Queue_methods(root_module, cls): cls.add_method('ResetStatistics', 'void', []) + ## queue.h (module 'network'): void ns3::Queue::SetDropCallback(ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] + cls.add_method('SetDropCallback', + 'void', + [param('ns3::Callback< void, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], + is_virtual=True) ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function] cls.add_method('SetMaxBytes', 'void', @@ -7968,10 +7985,10 @@ def register_Ns3Queue_methods(root_module, cls): cls.add_method('SetMode', 'void', [param('ns3::Queue::QueueMode', 'mode')]) - ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr p) [member function] + ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr item) [member function] cls.add_method('Drop', 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')], + [param('ns3::Ptr< ns3::QueueItem >', 'item')], visibility='protected') ## queue.h (module 'network'): ns3::Ptr ns3::Queue::DoDequeue() [member function] cls.add_method('DoDequeue', @@ -8121,6 +8138,11 @@ def register_Ns3QueueDisc_methods(root_module, cls): cls.add_method('SetNetDevice', 'void', [param('ns3::Ptr< ns3::NetDevice >', 'device')]) + ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetParentDropCallback(ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] + cls.add_method('SetParentDropCallback', + 'void', + [param('ns3::Callback< void, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], + is_virtual=True) ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetQuota(uint32_t const quota) [member function] cls.add_method('SetQuota', 'void', @@ -8136,10 +8158,10 @@ def register_Ns3QueueDisc_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::Drop(ns3::Ptr item) [member function] + ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::Drop(ns3::Ptr item) [member function] cls.add_method('Drop', 'void', - [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')], + [param('ns3::Ptr< ns3::QueueItem >', 'item')], visibility='protected') ## queue-disc.h (module 'traffic-control'): bool ns3::QueueDisc::CheckConfig() [member function] cls.add_method('CheckConfig', @@ -9488,6 +9510,11 @@ def register_Ns3TcpCongestionOps_methods(root_module, cls): cls.add_constructor([]) ## tcp-congestion-ops.h (module 'internet'): ns3::TcpCongestionOps::TcpCongestionOps(ns3::TcpCongestionOps const & other) [copy constructor] cls.add_constructor([param('ns3::TcpCongestionOps const &', 'other')]) + ## tcp-congestion-ops.h (module 'internet'): void ns3::TcpCongestionOps::CongestionStateSet(ns3::Ptr tcb, ns3::TcpSocketState::TcpCongState_t const newstate) [member function] + cls.add_method('CongestionStateSet', + 'void', + [param('ns3::Ptr< ns3::TcpSocketState >', 'tcb'), param('ns3::TcpSocketState::TcpCongState_t const', 'newstate')], + is_virtual=True) ## tcp-congestion-ops.h (module 'internet'): ns3::Ptr ns3::TcpCongestionOps::Fork() [member function] cls.add_method('Fork', 'ns3::Ptr< ns3::TcpCongestionOps >', @@ -9878,6 +9905,38 @@ def register_Ns3TcpRxBuffer_methods(root_module, cls): is_const=True) return +def register_Ns3TcpScalable_methods(root_module, cls): + ## tcp-scalable.h (module 'internet'): ns3::TcpScalable::TcpScalable() [constructor] + cls.add_constructor([]) + ## tcp-scalable.h (module 'internet'): ns3::TcpScalable::TcpScalable(ns3::TcpScalable const & sock) [copy constructor] + cls.add_constructor([param('ns3::TcpScalable const &', 'sock')]) + ## tcp-scalable.h (module 'internet'): ns3::Ptr ns3::TcpScalable::Fork() [member function] + cls.add_method('Fork', + 'ns3::Ptr< ns3::TcpCongestionOps >', + [], + is_virtual=True) + ## tcp-scalable.h (module 'internet'): std::string ns3::TcpScalable::GetName() const [member function] + cls.add_method('GetName', + 'std::string', + [], + is_const=True, is_virtual=True) + ## tcp-scalable.h (module 'internet'): uint32_t ns3::TcpScalable::GetSsThresh(ns3::Ptr tcb, uint32_t bytesInFlight) [member function] + cls.add_method('GetSsThresh', + 'uint32_t', + [param('ns3::Ptr< ns3::TcpSocketState const >', 'tcb'), param('uint32_t', 'bytesInFlight')], + is_virtual=True) + ## tcp-scalable.h (module 'internet'): static ns3::TypeId ns3::TcpScalable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## tcp-scalable.h (module 'internet'): void ns3::TcpScalable::CongestionAvoidance(ns3::Ptr tcb, uint32_t segmentsAcked) [member function] + cls.add_method('CongestionAvoidance', + 'void', + [param('ns3::Ptr< ns3::TcpSocketState >', 'tcb'), param('uint32_t', 'segmentsAcked')], + visibility='protected', is_virtual=True) + return + def register_Ns3TcpSocket_methods(root_module, cls): ## tcp-socket.h (module 'internet'): ns3::TcpSocket::TcpSocket(ns3::TcpSocket const & arg0) [copy constructor] cls.add_constructor([param('ns3::TcpSocket const &', 'arg0')]) @@ -10182,6 +10241,14 @@ def register_Ns3TcpSocketBase_methods(root_module, cls): cls.add_method('UpdateCwnd', 'void', [param('uint32_t', 'oldValue'), param('uint32_t', 'newValue')]) + ## tcp-socket-base.h (module 'internet'): void ns3::TcpSocketBase::UpdateHighTxMark(ns3::SequenceNumber32 oldValue, ns3::SequenceNumber32 newValue) [member function] + cls.add_method('UpdateHighTxMark', + 'void', + [param('ns3::SequenceNumber32', 'oldValue'), param('ns3::SequenceNumber32', 'newValue')]) + ## tcp-socket-base.h (module 'internet'): void ns3::TcpSocketBase::UpdateNextTxSequence(ns3::SequenceNumber32 oldValue, ns3::SequenceNumber32 newValue) [member function] + cls.add_method('UpdateNextTxSequence', + 'void', + [param('ns3::SequenceNumber32', 'oldValue'), param('ns3::SequenceNumber32', 'newValue')]) ## tcp-socket-base.h (module 'internet'): void ns3::TcpSocketBase::UpdateSsThresh(uint32_t oldValue, uint32_t newValue) [member function] cls.add_method('UpdateSsThresh', 'void', @@ -10190,6 +10257,10 @@ def register_Ns3TcpSocketBase_methods(root_module, cls): cls.add_instance_attribute('m_cWndTrace', 'ns3::TracedCallback< unsigned int, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', is_const=False) ## tcp-socket-base.h (module 'internet'): ns3::TcpSocketBase::m_congStateTrace [variable] cls.add_instance_attribute('m_congStateTrace', 'ns3::TracedCallback< ns3::TcpSocketState::TcpCongState_t, ns3::TcpSocketState::TcpCongState_t, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', is_const=False) + ## tcp-socket-base.h (module 'internet'): ns3::TcpSocketBase::m_highTxMarkTrace [variable] + cls.add_instance_attribute('m_highTxMarkTrace', 'ns3::TracedCallback< ns3::SequenceNumber< unsigned int, int >, ns3::SequenceNumber< unsigned int, int >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', is_const=False) + ## tcp-socket-base.h (module 'internet'): ns3::TcpSocketBase::m_nextTxSequenceTrace [variable] + cls.add_instance_attribute('m_nextTxSequenceTrace', 'ns3::TracedCallback< ns3::SequenceNumber< unsigned int, int >, ns3::SequenceNumber< unsigned int, int >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', is_const=False) ## tcp-socket-base.h (module 'internet'): ns3::TcpSocketBase::m_ssThTrace [variable] cls.add_instance_attribute('m_ssThTrace', 'ns3::TracedCallback< unsigned int, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', is_const=False) ## tcp-socket-base.h (module 'internet'): void ns3::TcpSocketBase::AddOptionTimestamp(ns3::TcpHeader & header) [member function] @@ -10207,10 +10278,10 @@ def register_Ns3TcpSocketBase_methods(root_module, cls): 'void', [param('ns3::TcpHeader &', 'tcpHeader')], visibility='protected', is_virtual=True) - ## tcp-socket-base.h (module 'internet'): uint16_t ns3::TcpSocketBase::AdvertisedWindowSize() const [member function] + ## tcp-socket-base.h (module 'internet'): uint16_t ns3::TcpSocketBase::AdvertisedWindowSize(bool scale=true) const [member function] cls.add_method('AdvertisedWindowSize', 'uint16_t', - [], + [param('bool', 'scale', default_value='true')], is_const=True, visibility='protected', is_virtual=True) ## tcp-socket-base.h (module 'internet'): uint32_t ns3::TcpSocketBase::AvailableWindow() const [member function] cls.add_method('AvailableWindow', @@ -10631,6 +10702,11 @@ def register_Ns3TcpSocketState_methods(root_module, cls): 'uint32_t', [], is_const=True) + ## tcp-socket-base.h (module 'internet'): uint32_t ns3::TcpSocketState::GetSsThreshInSegments() const [member function] + cls.add_method('GetSsThreshInSegments', + 'uint32_t', + [], + is_const=True) ## tcp-socket-base.h (module 'internet'): static ns3::TypeId ns3::TcpSocketState::GetTypeId() [member function] cls.add_method('GetTypeId', 'ns3::TypeId', @@ -10642,10 +10718,16 @@ def register_Ns3TcpSocketState_methods(root_module, cls): cls.add_instance_attribute('m_cWnd', 'ns3::TracedValue< unsigned int >', is_const=False) ## tcp-socket-base.h (module 'internet'): ns3::TcpSocketState::m_congState [variable] cls.add_instance_attribute('m_congState', 'ns3::TracedValue< ns3::TcpSocketState::TcpCongState_t >', is_const=False) + ## tcp-socket-base.h (module 'internet'): ns3::TcpSocketState::m_highTxMark [variable] + cls.add_instance_attribute('m_highTxMark', 'ns3::TracedValue< ns3::SequenceNumber< unsigned int, int > >', is_const=False) ## tcp-socket-base.h (module 'internet'): ns3::TcpSocketState::m_initialCWnd [variable] cls.add_instance_attribute('m_initialCWnd', 'uint32_t', is_const=False) ## tcp-socket-base.h (module 'internet'): ns3::TcpSocketState::m_initialSsThresh [variable] cls.add_instance_attribute('m_initialSsThresh', 'uint32_t', is_const=False) + ## tcp-socket-base.h (module 'internet'): ns3::TcpSocketState::m_lastAckedSeq [variable] + cls.add_instance_attribute('m_lastAckedSeq', 'ns3::SequenceNumber32', is_const=False) + ## tcp-socket-base.h (module 'internet'): ns3::TcpSocketState::m_nextTxSequence [variable] + cls.add_instance_attribute('m_nextTxSequence', 'ns3::TracedValue< ns3::SequenceNumber< unsigned int, int > >', is_const=False) ## tcp-socket-base.h (module 'internet'): ns3::TcpSocketState::m_segmentSize [variable] cls.add_instance_attribute('m_segmentSize', 'uint32_t', is_const=False) ## tcp-socket-base.h (module 'internet'): ns3::TcpSocketState::m_ssThresh [variable] @@ -10714,6 +10796,90 @@ def register_Ns3TcpTxBuffer_methods(root_module, cls): is_const=True) return +def register_Ns3TcpVegas_methods(root_module, cls): + ## tcp-vegas.h (module 'internet'): ns3::TcpVegas::TcpVegas() [constructor] + cls.add_constructor([]) + ## tcp-vegas.h (module 'internet'): ns3::TcpVegas::TcpVegas(ns3::TcpVegas const & sock) [copy constructor] + cls.add_constructor([param('ns3::TcpVegas const &', 'sock')]) + ## tcp-vegas.h (module 'internet'): void ns3::TcpVegas::CongestionStateSet(ns3::Ptr tcb, ns3::TcpSocketState::TcpCongState_t const newState) [member function] + cls.add_method('CongestionStateSet', + 'void', + [param('ns3::Ptr< ns3::TcpSocketState >', 'tcb'), param('ns3::TcpSocketState::TcpCongState_t const', 'newState')], + is_virtual=True) + ## tcp-vegas.h (module 'internet'): ns3::Ptr ns3::TcpVegas::Fork() [member function] + cls.add_method('Fork', + 'ns3::Ptr< ns3::TcpCongestionOps >', + [], + is_virtual=True) + ## tcp-vegas.h (module 'internet'): std::string ns3::TcpVegas::GetName() const [member function] + cls.add_method('GetName', + 'std::string', + [], + is_const=True, is_virtual=True) + ## tcp-vegas.h (module 'internet'): uint32_t ns3::TcpVegas::GetSsThresh(ns3::Ptr tcb, uint32_t bytesInFlight) [member function] + cls.add_method('GetSsThresh', + 'uint32_t', + [param('ns3::Ptr< ns3::TcpSocketState const >', 'tcb'), param('uint32_t', 'bytesInFlight')], + is_virtual=True) + ## tcp-vegas.h (module 'internet'): static ns3::TypeId ns3::TcpVegas::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## tcp-vegas.h (module 'internet'): void ns3::TcpVegas::IncreaseWindow(ns3::Ptr tcb, uint32_t segmentsAcked) [member function] + cls.add_method('IncreaseWindow', + 'void', + [param('ns3::Ptr< ns3::TcpSocketState >', 'tcb'), param('uint32_t', 'segmentsAcked')], + is_virtual=True) + ## tcp-vegas.h (module 'internet'): void ns3::TcpVegas::PktsAcked(ns3::Ptr tcb, uint32_t segmentsAcked, ns3::Time const & rtt) [member function] + cls.add_method('PktsAcked', + 'void', + [param('ns3::Ptr< ns3::TcpSocketState >', 'tcb'), param('uint32_t', 'segmentsAcked'), param('ns3::Time const &', 'rtt')], + is_virtual=True) + return + +def register_Ns3TcpVeno_methods(root_module, cls): + ## tcp-veno.h (module 'internet'): ns3::TcpVeno::TcpVeno() [constructor] + cls.add_constructor([]) + ## tcp-veno.h (module 'internet'): ns3::TcpVeno::TcpVeno(ns3::TcpVeno const & sock) [copy constructor] + cls.add_constructor([param('ns3::TcpVeno const &', 'sock')]) + ## tcp-veno.h (module 'internet'): void ns3::TcpVeno::CongestionStateSet(ns3::Ptr tcb, ns3::TcpSocketState::TcpCongState_t const newState) [member function] + cls.add_method('CongestionStateSet', + 'void', + [param('ns3::Ptr< ns3::TcpSocketState >', 'tcb'), param('ns3::TcpSocketState::TcpCongState_t const', 'newState')], + is_virtual=True) + ## tcp-veno.h (module 'internet'): ns3::Ptr ns3::TcpVeno::Fork() [member function] + cls.add_method('Fork', + 'ns3::Ptr< ns3::TcpCongestionOps >', + [], + is_virtual=True) + ## tcp-veno.h (module 'internet'): std::string ns3::TcpVeno::GetName() const [member function] + cls.add_method('GetName', + 'std::string', + [], + is_const=True, is_virtual=True) + ## tcp-veno.h (module 'internet'): uint32_t ns3::TcpVeno::GetSsThresh(ns3::Ptr tcb, uint32_t bytesInFlight) [member function] + cls.add_method('GetSsThresh', + 'uint32_t', + [param('ns3::Ptr< ns3::TcpSocketState const >', 'tcb'), param('uint32_t', 'bytesInFlight')], + is_virtual=True) + ## tcp-veno.h (module 'internet'): static ns3::TypeId ns3::TcpVeno::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## tcp-veno.h (module 'internet'): void ns3::TcpVeno::IncreaseWindow(ns3::Ptr tcb, uint32_t segmentsAcked) [member function] + cls.add_method('IncreaseWindow', + 'void', + [param('ns3::Ptr< ns3::TcpSocketState >', 'tcb'), param('uint32_t', 'segmentsAcked')], + is_virtual=True) + ## tcp-veno.h (module 'internet'): void ns3::TcpVeno::PktsAcked(ns3::Ptr tcb, uint32_t segmentsAcked, ns3::Time const & rtt) [member function] + cls.add_method('PktsAcked', + 'void', + [param('ns3::Ptr< ns3::TcpSocketState >', 'tcb'), param('uint32_t', 'segmentsAcked'), param('ns3::Time const &', 'rtt')], + is_virtual=True) + return + def register_Ns3TcpWestwood_methods(root_module, cls): ## tcp-westwood.h (module 'internet'): ns3::TcpWestwood::TcpWestwood() [constructor] cls.add_constructor([]) @@ -11013,11 +11179,11 @@ def register_Ns3TrafficControlLayer_methods(root_module, cls): 'ns3::TypeId', [], is_const=True, is_virtual=True) - ## traffic-control-layer.h (module 'traffic-control'): ns3::Ptr ns3::TrafficControlLayer::GetRootQueueDiscOnDevice(ns3::Ptr device) [member function] + ## traffic-control-layer.h (module 'traffic-control'): ns3::Ptr ns3::TrafficControlLayer::GetRootQueueDiscOnDevice(ns3::Ptr device) const [member function] cls.add_method('GetRootQueueDiscOnDevice', 'ns3::Ptr< ns3::QueueDisc >', [param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_virtual=True) + is_const=True, is_virtual=True) ## traffic-control-layer.h (module 'traffic-control'): static ns3::TypeId ns3::TrafficControlLayer::GetTypeId() [member function] cls.add_method('GetTypeId', 'ns3::TypeId', @@ -16512,6 +16678,43 @@ def register_Ns3RipNg_methods(root_module, cls): visibility='protected', is_virtual=True) return +def register_Ns3TcpBic_methods(root_module, cls): + ## tcp-bic.h (module 'internet'): ns3::TcpBic::TcpBic() [constructor] + cls.add_constructor([]) + ## tcp-bic.h (module 'internet'): ns3::TcpBic::TcpBic(ns3::TcpBic const & sock) [copy constructor] + cls.add_constructor([param('ns3::TcpBic const &', 'sock')]) + ## tcp-bic.h (module 'internet'): ns3::Ptr ns3::TcpBic::Fork() [member function] + cls.add_method('Fork', + 'ns3::Ptr< ns3::TcpCongestionOps >', + [], + is_virtual=True) + ## tcp-bic.h (module 'internet'): std::string ns3::TcpBic::GetName() const [member function] + cls.add_method('GetName', + 'std::string', + [], + is_const=True, is_virtual=True) + ## tcp-bic.h (module 'internet'): uint32_t ns3::TcpBic::GetSsThresh(ns3::Ptr tcb, uint32_t bytesInFlight) [member function] + cls.add_method('GetSsThresh', + 'uint32_t', + [param('ns3::Ptr< ns3::TcpSocketState const >', 'tcb'), param('uint32_t', 'bytesInFlight')], + is_virtual=True) + ## tcp-bic.h (module 'internet'): static ns3::TypeId ns3::TcpBic::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## tcp-bic.h (module 'internet'): void ns3::TcpBic::IncreaseWindow(ns3::Ptr tcb, uint32_t segmentsAcked) [member function] + cls.add_method('IncreaseWindow', + 'void', + [param('ns3::Ptr< ns3::TcpSocketState >', 'tcb'), param('uint32_t', 'segmentsAcked')], + is_virtual=True) + ## tcp-bic.h (module 'internet'): uint32_t ns3::TcpBic::Update(ns3::Ptr tcb) [member function] + cls.add_method('Update', + 'uint32_t', + [param('ns3::Ptr< ns3::TcpSocketState >', 'tcb')], + visibility='protected', is_virtual=True) + return + def register_Ns3TcpHighSpeed_methods(root_module, cls): ## tcp-highspeed.h (module 'internet'): ns3::TcpHighSpeed::TcpHighSpeed() [constructor] cls.add_constructor([]) diff --git a/src/internet/bindings/modulegen__gcc_LP64.py b/src/internet/bindings/modulegen__gcc_LP64.py index 045f80bfb..a48acc363 100644 --- a/src/internet/bindings/modulegen__gcc_LP64.py +++ b/src/internet/bindings/modulegen__gcc_LP64.py @@ -476,6 +476,8 @@ def register_types(module): module.add_class('TcpOptionUnknown', parent=root_module['ns3::TcpOption']) ## tcp-rx-buffer.h (module 'internet'): ns3::TcpRxBuffer [class] module.add_class('TcpRxBuffer', parent=root_module['ns3::Object']) + ## tcp-scalable.h (module 'internet'): ns3::TcpScalable [class] + module.add_class('TcpScalable', parent=root_module['ns3::TcpNewReno']) ## tcp-socket.h (module 'internet'): ns3::TcpSocket [class] module.add_class('TcpSocket', parent=root_module['ns3::Socket']) ## tcp-socket.h (module 'internet'): ns3::TcpSocket::TcpStates_t [enumeration] @@ -490,6 +492,10 @@ def register_types(module): module.add_enum('TcpCongState_t', ['CA_OPEN', 'CA_DISORDER', 'CA_CWR', 'CA_RECOVERY', 'CA_LOSS', 'CA_LAST_STATE'], outer_class=root_module['ns3::TcpSocketState']) ## tcp-tx-buffer.h (module 'internet'): ns3::TcpTxBuffer [class] module.add_class('TcpTxBuffer', parent=root_module['ns3::Object']) + ## tcp-vegas.h (module 'internet'): ns3::TcpVegas [class] + module.add_class('TcpVegas', parent=root_module['ns3::TcpNewReno']) + ## tcp-veno.h (module 'internet'): ns3::TcpVeno [class] + module.add_class('TcpVeno', parent=root_module['ns3::TcpNewReno']) ## tcp-westwood.h (module 'internet'): ns3::TcpWestwood [class] module.add_class('TcpWestwood', parent=root_module['ns3::TcpNewReno']) ## tcp-westwood.h (module 'internet'): ns3::TcpWestwood::ProtocolType [enumeration] @@ -732,6 +738,8 @@ def register_types(module): module.add_class('RipNg', parent=root_module['ns3::Ipv6RoutingProtocol']) ## ripng.h (module 'internet'): ns3::RipNg::SplitHorizonType_e [enumeration] module.add_enum('SplitHorizonType_e', ['NO_SPLIT_HORIZON', 'SPLIT_HORIZON', 'POISON_REVERSE'], outer_class=root_module['ns3::RipNg']) + ## tcp-bic.h (module 'internet'): ns3::TcpBic [class] + module.add_class('TcpBic', parent=root_module['ns3::TcpCongestionOps']) ## tcp-highspeed.h (module 'internet'): ns3::TcpHighSpeed [class] module.add_class('TcpHighSpeed', parent=root_module['ns3::TcpNewReno']) ## tcp-hybla.h (module 'internet'): ns3::TcpHybla [class] @@ -1085,11 +1093,14 @@ def register_methods(root_module): register_Ns3TcpOption_methods(root_module, root_module['ns3::TcpOption']) register_Ns3TcpOptionUnknown_methods(root_module, root_module['ns3::TcpOptionUnknown']) register_Ns3TcpRxBuffer_methods(root_module, root_module['ns3::TcpRxBuffer']) + register_Ns3TcpScalable_methods(root_module, root_module['ns3::TcpScalable']) register_Ns3TcpSocket_methods(root_module, root_module['ns3::TcpSocket']) register_Ns3TcpSocketBase_methods(root_module, root_module['ns3::TcpSocketBase']) register_Ns3TcpSocketFactory_methods(root_module, root_module['ns3::TcpSocketFactory']) register_Ns3TcpSocketState_methods(root_module, root_module['ns3::TcpSocketState']) register_Ns3TcpTxBuffer_methods(root_module, root_module['ns3::TcpTxBuffer']) + register_Ns3TcpVegas_methods(root_module, root_module['ns3::TcpVegas']) + register_Ns3TcpVeno_methods(root_module, root_module['ns3::TcpVeno']) register_Ns3TcpWestwood_methods(root_module, root_module['ns3::TcpWestwood']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) @@ -1198,6 +1209,7 @@ def register_methods(root_module): register_Ns3QueueItem_methods(root_module, root_module['ns3::QueueItem']) register_Ns3Rip_methods(root_module, root_module['ns3::Rip']) register_Ns3RipNg_methods(root_module, root_module['ns3::RipNg']) + register_Ns3TcpBic_methods(root_module, root_module['ns3::TcpBic']) register_Ns3TcpHighSpeed_methods(root_module, root_module['ns3::TcpHighSpeed']) register_Ns3TcpHybla_methods(root_module, root_module['ns3::TcpHybla']) register_Ns3TcpL4Protocol_methods(root_module, root_module['ns3::TcpL4Protocol']) @@ -7956,6 +7968,11 @@ def register_Ns3Queue_methods(root_module, cls): cls.add_method('ResetStatistics', 'void', []) + ## queue.h (module 'network'): void ns3::Queue::SetDropCallback(ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] + cls.add_method('SetDropCallback', + 'void', + [param('ns3::Callback< void, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], + is_virtual=True) ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function] cls.add_method('SetMaxBytes', 'void', @@ -7968,10 +7985,10 @@ def register_Ns3Queue_methods(root_module, cls): cls.add_method('SetMode', 'void', [param('ns3::Queue::QueueMode', 'mode')]) - ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr p) [member function] + ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr item) [member function] cls.add_method('Drop', 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')], + [param('ns3::Ptr< ns3::QueueItem >', 'item')], visibility='protected') ## queue.h (module 'network'): ns3::Ptr ns3::Queue::DoDequeue() [member function] cls.add_method('DoDequeue', @@ -8121,6 +8138,11 @@ def register_Ns3QueueDisc_methods(root_module, cls): cls.add_method('SetNetDevice', 'void', [param('ns3::Ptr< ns3::NetDevice >', 'device')]) + ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetParentDropCallback(ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] + cls.add_method('SetParentDropCallback', + 'void', + [param('ns3::Callback< void, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], + is_virtual=True) ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetQuota(uint32_t const quota) [member function] cls.add_method('SetQuota', 'void', @@ -8136,10 +8158,10 @@ def register_Ns3QueueDisc_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::Drop(ns3::Ptr item) [member function] + ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::Drop(ns3::Ptr item) [member function] cls.add_method('Drop', 'void', - [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')], + [param('ns3::Ptr< ns3::QueueItem >', 'item')], visibility='protected') ## queue-disc.h (module 'traffic-control'): bool ns3::QueueDisc::CheckConfig() [member function] cls.add_method('CheckConfig', @@ -9488,6 +9510,11 @@ def register_Ns3TcpCongestionOps_methods(root_module, cls): cls.add_constructor([]) ## tcp-congestion-ops.h (module 'internet'): ns3::TcpCongestionOps::TcpCongestionOps(ns3::TcpCongestionOps const & other) [copy constructor] cls.add_constructor([param('ns3::TcpCongestionOps const &', 'other')]) + ## tcp-congestion-ops.h (module 'internet'): void ns3::TcpCongestionOps::CongestionStateSet(ns3::Ptr tcb, ns3::TcpSocketState::TcpCongState_t const newstate) [member function] + cls.add_method('CongestionStateSet', + 'void', + [param('ns3::Ptr< ns3::TcpSocketState >', 'tcb'), param('ns3::TcpSocketState::TcpCongState_t const', 'newstate')], + is_virtual=True) ## tcp-congestion-ops.h (module 'internet'): ns3::Ptr ns3::TcpCongestionOps::Fork() [member function] cls.add_method('Fork', 'ns3::Ptr< ns3::TcpCongestionOps >', @@ -9878,6 +9905,38 @@ def register_Ns3TcpRxBuffer_methods(root_module, cls): is_const=True) return +def register_Ns3TcpScalable_methods(root_module, cls): + ## tcp-scalable.h (module 'internet'): ns3::TcpScalable::TcpScalable() [constructor] + cls.add_constructor([]) + ## tcp-scalable.h (module 'internet'): ns3::TcpScalable::TcpScalable(ns3::TcpScalable const & sock) [copy constructor] + cls.add_constructor([param('ns3::TcpScalable const &', 'sock')]) + ## tcp-scalable.h (module 'internet'): ns3::Ptr ns3::TcpScalable::Fork() [member function] + cls.add_method('Fork', + 'ns3::Ptr< ns3::TcpCongestionOps >', + [], + is_virtual=True) + ## tcp-scalable.h (module 'internet'): std::string ns3::TcpScalable::GetName() const [member function] + cls.add_method('GetName', + 'std::string', + [], + is_const=True, is_virtual=True) + ## tcp-scalable.h (module 'internet'): uint32_t ns3::TcpScalable::GetSsThresh(ns3::Ptr tcb, uint32_t bytesInFlight) [member function] + cls.add_method('GetSsThresh', + 'uint32_t', + [param('ns3::Ptr< ns3::TcpSocketState const >', 'tcb'), param('uint32_t', 'bytesInFlight')], + is_virtual=True) + ## tcp-scalable.h (module 'internet'): static ns3::TypeId ns3::TcpScalable::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## tcp-scalable.h (module 'internet'): void ns3::TcpScalable::CongestionAvoidance(ns3::Ptr tcb, uint32_t segmentsAcked) [member function] + cls.add_method('CongestionAvoidance', + 'void', + [param('ns3::Ptr< ns3::TcpSocketState >', 'tcb'), param('uint32_t', 'segmentsAcked')], + visibility='protected', is_virtual=True) + return + def register_Ns3TcpSocket_methods(root_module, cls): ## tcp-socket.h (module 'internet'): ns3::TcpSocket::TcpSocket(ns3::TcpSocket const & arg0) [copy constructor] cls.add_constructor([param('ns3::TcpSocket const &', 'arg0')]) @@ -10182,6 +10241,14 @@ def register_Ns3TcpSocketBase_methods(root_module, cls): cls.add_method('UpdateCwnd', 'void', [param('uint32_t', 'oldValue'), param('uint32_t', 'newValue')]) + ## tcp-socket-base.h (module 'internet'): void ns3::TcpSocketBase::UpdateHighTxMark(ns3::SequenceNumber32 oldValue, ns3::SequenceNumber32 newValue) [member function] + cls.add_method('UpdateHighTxMark', + 'void', + [param('ns3::SequenceNumber32', 'oldValue'), param('ns3::SequenceNumber32', 'newValue')]) + ## tcp-socket-base.h (module 'internet'): void ns3::TcpSocketBase::UpdateNextTxSequence(ns3::SequenceNumber32 oldValue, ns3::SequenceNumber32 newValue) [member function] + cls.add_method('UpdateNextTxSequence', + 'void', + [param('ns3::SequenceNumber32', 'oldValue'), param('ns3::SequenceNumber32', 'newValue')]) ## tcp-socket-base.h (module 'internet'): void ns3::TcpSocketBase::UpdateSsThresh(uint32_t oldValue, uint32_t newValue) [member function] cls.add_method('UpdateSsThresh', 'void', @@ -10190,6 +10257,10 @@ def register_Ns3TcpSocketBase_methods(root_module, cls): cls.add_instance_attribute('m_cWndTrace', 'ns3::TracedCallback< unsigned int, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', is_const=False) ## tcp-socket-base.h (module 'internet'): ns3::TcpSocketBase::m_congStateTrace [variable] cls.add_instance_attribute('m_congStateTrace', 'ns3::TracedCallback< ns3::TcpSocketState::TcpCongState_t, ns3::TcpSocketState::TcpCongState_t, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', is_const=False) + ## tcp-socket-base.h (module 'internet'): ns3::TcpSocketBase::m_highTxMarkTrace [variable] + cls.add_instance_attribute('m_highTxMarkTrace', 'ns3::TracedCallback< ns3::SequenceNumber< unsigned int, int >, ns3::SequenceNumber< unsigned int, int >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', is_const=False) + ## tcp-socket-base.h (module 'internet'): ns3::TcpSocketBase::m_nextTxSequenceTrace [variable] + cls.add_instance_attribute('m_nextTxSequenceTrace', 'ns3::TracedCallback< ns3::SequenceNumber< unsigned int, int >, ns3::SequenceNumber< unsigned int, int >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', is_const=False) ## tcp-socket-base.h (module 'internet'): ns3::TcpSocketBase::m_ssThTrace [variable] cls.add_instance_attribute('m_ssThTrace', 'ns3::TracedCallback< unsigned int, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', is_const=False) ## tcp-socket-base.h (module 'internet'): void ns3::TcpSocketBase::AddOptionTimestamp(ns3::TcpHeader & header) [member function] @@ -10207,10 +10278,10 @@ def register_Ns3TcpSocketBase_methods(root_module, cls): 'void', [param('ns3::TcpHeader &', 'tcpHeader')], visibility='protected', is_virtual=True) - ## tcp-socket-base.h (module 'internet'): uint16_t ns3::TcpSocketBase::AdvertisedWindowSize() const [member function] + ## tcp-socket-base.h (module 'internet'): uint16_t ns3::TcpSocketBase::AdvertisedWindowSize(bool scale=true) const [member function] cls.add_method('AdvertisedWindowSize', 'uint16_t', - [], + [param('bool', 'scale', default_value='true')], is_const=True, visibility='protected', is_virtual=True) ## tcp-socket-base.h (module 'internet'): uint32_t ns3::TcpSocketBase::AvailableWindow() const [member function] cls.add_method('AvailableWindow', @@ -10631,6 +10702,11 @@ def register_Ns3TcpSocketState_methods(root_module, cls): 'uint32_t', [], is_const=True) + ## tcp-socket-base.h (module 'internet'): uint32_t ns3::TcpSocketState::GetSsThreshInSegments() const [member function] + cls.add_method('GetSsThreshInSegments', + 'uint32_t', + [], + is_const=True) ## tcp-socket-base.h (module 'internet'): static ns3::TypeId ns3::TcpSocketState::GetTypeId() [member function] cls.add_method('GetTypeId', 'ns3::TypeId', @@ -10642,10 +10718,16 @@ def register_Ns3TcpSocketState_methods(root_module, cls): cls.add_instance_attribute('m_cWnd', 'ns3::TracedValue< unsigned int >', is_const=False) ## tcp-socket-base.h (module 'internet'): ns3::TcpSocketState::m_congState [variable] cls.add_instance_attribute('m_congState', 'ns3::TracedValue< ns3::TcpSocketState::TcpCongState_t >', is_const=False) + ## tcp-socket-base.h (module 'internet'): ns3::TcpSocketState::m_highTxMark [variable] + cls.add_instance_attribute('m_highTxMark', 'ns3::TracedValue< ns3::SequenceNumber< unsigned int, int > >', is_const=False) ## tcp-socket-base.h (module 'internet'): ns3::TcpSocketState::m_initialCWnd [variable] cls.add_instance_attribute('m_initialCWnd', 'uint32_t', is_const=False) ## tcp-socket-base.h (module 'internet'): ns3::TcpSocketState::m_initialSsThresh [variable] cls.add_instance_attribute('m_initialSsThresh', 'uint32_t', is_const=False) + ## tcp-socket-base.h (module 'internet'): ns3::TcpSocketState::m_lastAckedSeq [variable] + cls.add_instance_attribute('m_lastAckedSeq', 'ns3::SequenceNumber32', is_const=False) + ## tcp-socket-base.h (module 'internet'): ns3::TcpSocketState::m_nextTxSequence [variable] + cls.add_instance_attribute('m_nextTxSequence', 'ns3::TracedValue< ns3::SequenceNumber< unsigned int, int > >', is_const=False) ## tcp-socket-base.h (module 'internet'): ns3::TcpSocketState::m_segmentSize [variable] cls.add_instance_attribute('m_segmentSize', 'uint32_t', is_const=False) ## tcp-socket-base.h (module 'internet'): ns3::TcpSocketState::m_ssThresh [variable] @@ -10714,6 +10796,90 @@ def register_Ns3TcpTxBuffer_methods(root_module, cls): is_const=True) return +def register_Ns3TcpVegas_methods(root_module, cls): + ## tcp-vegas.h (module 'internet'): ns3::TcpVegas::TcpVegas() [constructor] + cls.add_constructor([]) + ## tcp-vegas.h (module 'internet'): ns3::TcpVegas::TcpVegas(ns3::TcpVegas const & sock) [copy constructor] + cls.add_constructor([param('ns3::TcpVegas const &', 'sock')]) + ## tcp-vegas.h (module 'internet'): void ns3::TcpVegas::CongestionStateSet(ns3::Ptr tcb, ns3::TcpSocketState::TcpCongState_t const newState) [member function] + cls.add_method('CongestionStateSet', + 'void', + [param('ns3::Ptr< ns3::TcpSocketState >', 'tcb'), param('ns3::TcpSocketState::TcpCongState_t const', 'newState')], + is_virtual=True) + ## tcp-vegas.h (module 'internet'): ns3::Ptr ns3::TcpVegas::Fork() [member function] + cls.add_method('Fork', + 'ns3::Ptr< ns3::TcpCongestionOps >', + [], + is_virtual=True) + ## tcp-vegas.h (module 'internet'): std::string ns3::TcpVegas::GetName() const [member function] + cls.add_method('GetName', + 'std::string', + [], + is_const=True, is_virtual=True) + ## tcp-vegas.h (module 'internet'): uint32_t ns3::TcpVegas::GetSsThresh(ns3::Ptr tcb, uint32_t bytesInFlight) [member function] + cls.add_method('GetSsThresh', + 'uint32_t', + [param('ns3::Ptr< ns3::TcpSocketState const >', 'tcb'), param('uint32_t', 'bytesInFlight')], + is_virtual=True) + ## tcp-vegas.h (module 'internet'): static ns3::TypeId ns3::TcpVegas::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## tcp-vegas.h (module 'internet'): void ns3::TcpVegas::IncreaseWindow(ns3::Ptr tcb, uint32_t segmentsAcked) [member function] + cls.add_method('IncreaseWindow', + 'void', + [param('ns3::Ptr< ns3::TcpSocketState >', 'tcb'), param('uint32_t', 'segmentsAcked')], + is_virtual=True) + ## tcp-vegas.h (module 'internet'): void ns3::TcpVegas::PktsAcked(ns3::Ptr tcb, uint32_t segmentsAcked, ns3::Time const & rtt) [member function] + cls.add_method('PktsAcked', + 'void', + [param('ns3::Ptr< ns3::TcpSocketState >', 'tcb'), param('uint32_t', 'segmentsAcked'), param('ns3::Time const &', 'rtt')], + is_virtual=True) + return + +def register_Ns3TcpVeno_methods(root_module, cls): + ## tcp-veno.h (module 'internet'): ns3::TcpVeno::TcpVeno() [constructor] + cls.add_constructor([]) + ## tcp-veno.h (module 'internet'): ns3::TcpVeno::TcpVeno(ns3::TcpVeno const & sock) [copy constructor] + cls.add_constructor([param('ns3::TcpVeno const &', 'sock')]) + ## tcp-veno.h (module 'internet'): void ns3::TcpVeno::CongestionStateSet(ns3::Ptr tcb, ns3::TcpSocketState::TcpCongState_t const newState) [member function] + cls.add_method('CongestionStateSet', + 'void', + [param('ns3::Ptr< ns3::TcpSocketState >', 'tcb'), param('ns3::TcpSocketState::TcpCongState_t const', 'newState')], + is_virtual=True) + ## tcp-veno.h (module 'internet'): ns3::Ptr ns3::TcpVeno::Fork() [member function] + cls.add_method('Fork', + 'ns3::Ptr< ns3::TcpCongestionOps >', + [], + is_virtual=True) + ## tcp-veno.h (module 'internet'): std::string ns3::TcpVeno::GetName() const [member function] + cls.add_method('GetName', + 'std::string', + [], + is_const=True, is_virtual=True) + ## tcp-veno.h (module 'internet'): uint32_t ns3::TcpVeno::GetSsThresh(ns3::Ptr tcb, uint32_t bytesInFlight) [member function] + cls.add_method('GetSsThresh', + 'uint32_t', + [param('ns3::Ptr< ns3::TcpSocketState const >', 'tcb'), param('uint32_t', 'bytesInFlight')], + is_virtual=True) + ## tcp-veno.h (module 'internet'): static ns3::TypeId ns3::TcpVeno::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## tcp-veno.h (module 'internet'): void ns3::TcpVeno::IncreaseWindow(ns3::Ptr tcb, uint32_t segmentsAcked) [member function] + cls.add_method('IncreaseWindow', + 'void', + [param('ns3::Ptr< ns3::TcpSocketState >', 'tcb'), param('uint32_t', 'segmentsAcked')], + is_virtual=True) + ## tcp-veno.h (module 'internet'): void ns3::TcpVeno::PktsAcked(ns3::Ptr tcb, uint32_t segmentsAcked, ns3::Time const & rtt) [member function] + cls.add_method('PktsAcked', + 'void', + [param('ns3::Ptr< ns3::TcpSocketState >', 'tcb'), param('uint32_t', 'segmentsAcked'), param('ns3::Time const &', 'rtt')], + is_virtual=True) + return + def register_Ns3TcpWestwood_methods(root_module, cls): ## tcp-westwood.h (module 'internet'): ns3::TcpWestwood::TcpWestwood() [constructor] cls.add_constructor([]) @@ -11013,11 +11179,11 @@ def register_Ns3TrafficControlLayer_methods(root_module, cls): 'ns3::TypeId', [], is_const=True, is_virtual=True) - ## traffic-control-layer.h (module 'traffic-control'): ns3::Ptr ns3::TrafficControlLayer::GetRootQueueDiscOnDevice(ns3::Ptr device) [member function] + ## traffic-control-layer.h (module 'traffic-control'): ns3::Ptr ns3::TrafficControlLayer::GetRootQueueDiscOnDevice(ns3::Ptr device) const [member function] cls.add_method('GetRootQueueDiscOnDevice', 'ns3::Ptr< ns3::QueueDisc >', [param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_virtual=True) + is_const=True, is_virtual=True) ## traffic-control-layer.h (module 'traffic-control'): static ns3::TypeId ns3::TrafficControlLayer::GetTypeId() [member function] cls.add_method('GetTypeId', 'ns3::TypeId', @@ -16512,6 +16678,43 @@ def register_Ns3RipNg_methods(root_module, cls): visibility='protected', is_virtual=True) return +def register_Ns3TcpBic_methods(root_module, cls): + ## tcp-bic.h (module 'internet'): ns3::TcpBic::TcpBic() [constructor] + cls.add_constructor([]) + ## tcp-bic.h (module 'internet'): ns3::TcpBic::TcpBic(ns3::TcpBic const & sock) [copy constructor] + cls.add_constructor([param('ns3::TcpBic const &', 'sock')]) + ## tcp-bic.h (module 'internet'): ns3::Ptr ns3::TcpBic::Fork() [member function] + cls.add_method('Fork', + 'ns3::Ptr< ns3::TcpCongestionOps >', + [], + is_virtual=True) + ## tcp-bic.h (module 'internet'): std::string ns3::TcpBic::GetName() const [member function] + cls.add_method('GetName', + 'std::string', + [], + is_const=True, is_virtual=True) + ## tcp-bic.h (module 'internet'): uint32_t ns3::TcpBic::GetSsThresh(ns3::Ptr tcb, uint32_t bytesInFlight) [member function] + cls.add_method('GetSsThresh', + 'uint32_t', + [param('ns3::Ptr< ns3::TcpSocketState const >', 'tcb'), param('uint32_t', 'bytesInFlight')], + is_virtual=True) + ## tcp-bic.h (module 'internet'): static ns3::TypeId ns3::TcpBic::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## tcp-bic.h (module 'internet'): void ns3::TcpBic::IncreaseWindow(ns3::Ptr tcb, uint32_t segmentsAcked) [member function] + cls.add_method('IncreaseWindow', + 'void', + [param('ns3::Ptr< ns3::TcpSocketState >', 'tcb'), param('uint32_t', 'segmentsAcked')], + is_virtual=True) + ## tcp-bic.h (module 'internet'): uint32_t ns3::TcpBic::Update(ns3::Ptr tcb) [member function] + cls.add_method('Update', + 'uint32_t', + [param('ns3::Ptr< ns3::TcpSocketState >', 'tcb')], + visibility='protected', is_virtual=True) + return + def register_Ns3TcpHighSpeed_methods(root_module, cls): ## tcp-highspeed.h (module 'internet'): ns3::TcpHighSpeed::TcpHighSpeed() [constructor] cls.add_constructor([])