Bug 1991 - PcapFileWrapper::CaptureSize attribute (snaplen) has no effect.
This commit is contained in:
@@ -24,6 +24,7 @@ New user-visible features
|
||||
|
||||
Bugs fixed
|
||||
----------
|
||||
- Bug 1991 - PcapFileWrapper::CaptureSize attribute (snaplen) has no effect.
|
||||
|
||||
Known issues
|
||||
------------
|
||||
|
||||
@@ -766,8 +766,8 @@ def register_methods(root_module):
|
||||
|
||||
def register_Ns3Address_methods(root_module, cls):
|
||||
cls.add_binary_comparison_operator('!=')
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('<')
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('==')
|
||||
## address.h (module 'network'): ns3::Address::Address() [constructor]
|
||||
cls.add_constructor([])
|
||||
@@ -1737,8 +1737,8 @@ def register_Ns3InetSocketAddress_methods(root_module, cls):
|
||||
|
||||
def register_Ns3Ipv4Address_methods(root_module, cls):
|
||||
cls.add_binary_comparison_operator('!=')
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('<')
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('==')
|
||||
## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Ipv4Address const &', 'arg0')])
|
||||
@@ -1908,8 +1908,8 @@ def register_Ns3Ipv4Mask_methods(root_module, cls):
|
||||
|
||||
def register_Ns3Ipv6Address_methods(root_module, cls):
|
||||
cls.add_binary_comparison_operator('!=')
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('<')
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('==')
|
||||
## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address() [constructor]
|
||||
cls.add_constructor([])
|
||||
@@ -2165,8 +2165,8 @@ def register_Ns3Ipv6Prefix_methods(root_module, cls):
|
||||
|
||||
def register_Ns3Mac16Address_methods(root_module, cls):
|
||||
cls.add_binary_comparison_operator('!=')
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('<')
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('==')
|
||||
## mac16-address.h (module 'network'): ns3::Mac16Address::Mac16Address(ns3::Mac16Address const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Mac16Address const &', 'arg0')])
|
||||
@@ -2202,8 +2202,8 @@ def register_Ns3Mac16Address_methods(root_module, cls):
|
||||
|
||||
def register_Ns3Mac48Address_methods(root_module, cls):
|
||||
cls.add_binary_comparison_operator('!=')
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('<')
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('==')
|
||||
## mac48-address.h (module 'network'): ns3::Mac48Address::Mac48Address(ns3::Mac48Address const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Mac48Address const &', 'arg0')])
|
||||
@@ -2274,8 +2274,8 @@ def register_Ns3Mac48Address_methods(root_module, cls):
|
||||
|
||||
def register_Ns3Mac64Address_methods(root_module, cls):
|
||||
cls.add_binary_comparison_operator('!=')
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('<')
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('==')
|
||||
## mac64-address.h (module 'network'): ns3::Mac64Address::Mac64Address(ns3::Mac64Address const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Mac64Address const &', 'arg0')])
|
||||
@@ -3124,10 +3124,10 @@ def register_Ns3PcapHelper_methods(root_module, cls):
|
||||
cls.add_constructor([param('ns3::PcapHelper const &', 'arg0')])
|
||||
## trace-helper.h (module 'network'): ns3::PcapHelper::PcapHelper() [constructor]
|
||||
cls.add_constructor([])
|
||||
## trace-helper.h (module 'network'): ns3::Ptr<ns3::PcapFileWrapper> ns3::PcapHelper::CreateFile(std::string filename, std::_Ios_Openmode filemode, uint32_t dataLinkType, uint32_t snapLen=65535, int32_t tzCorrection=0) [member function]
|
||||
## trace-helper.h (module 'network'): ns3::Ptr<ns3::PcapFileWrapper> ns3::PcapHelper::CreateFile(std::string filename, std::_Ios_Openmode filemode, uint32_t dataLinkType, uint32_t snapLen=std::numeric_limits<unsigned int>::max(), int32_t tzCorrection=0) [member function]
|
||||
cls.add_method('CreateFile',
|
||||
'ns3::Ptr< ns3::PcapFileWrapper >',
|
||||
[param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode'), param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='65535'), param('int32_t', 'tzCorrection', default_value='0')])
|
||||
[param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode'), param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='std::numeric_limits<unsigned int>::max()'), param('int32_t', 'tzCorrection', default_value='0')])
|
||||
## trace-helper.h (module 'network'): std::string ns3::PcapHelper::GetFilenameFromDevice(std::string prefix, ns3::Ptr<ns3::NetDevice> device, bool useObjectNames=true) [member function]
|
||||
cls.add_method('GetFilenameFromDevice',
|
||||
'std::string',
|
||||
@@ -3545,8 +3545,8 @@ def register_Ns3TimeWithUnit_methods(root_module, cls):
|
||||
|
||||
def register_Ns3TypeId_methods(root_module, cls):
|
||||
cls.add_binary_comparison_operator('!=')
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('<')
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('==')
|
||||
## type-id.h (module 'core'): ns3::TypeId::TypeId(char const * name) [constructor]
|
||||
cls.add_constructor([param('char const *', 'name')])
|
||||
@@ -3740,10 +3740,8 @@ def register_Ns3Empty_methods(root_module, cls):
|
||||
return
|
||||
|
||||
def register_Ns3Int64x64_t_methods(root_module, cls):
|
||||
cls.add_binary_comparison_operator('<=')
|
||||
cls.add_binary_comparison_operator('!=')
|
||||
cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', u'right'))
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
|
||||
cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
|
||||
cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
|
||||
@@ -3754,6 +3752,8 @@ def register_Ns3Int64x64_t_methods(root_module, cls):
|
||||
cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', u'right'))
|
||||
cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', u'right'))
|
||||
cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', u'right'))
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('<=')
|
||||
cls.add_binary_comparison_operator('==')
|
||||
cls.add_binary_comparison_operator('>=')
|
||||
## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor]
|
||||
@@ -5385,10 +5385,8 @@ def register_Ns3SocketSetDontFragmentTag_methods(root_module, cls):
|
||||
return
|
||||
|
||||
def register_Ns3Time_methods(root_module, cls):
|
||||
cls.add_binary_comparison_operator('<=')
|
||||
cls.add_binary_comparison_operator('!=')
|
||||
cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', u'right'))
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_numeric_operator('*', root_module['ns3::Time'], root_module['ns3::Time'], param('int64_t const &', u'right'))
|
||||
cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', u'right'))
|
||||
cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', u'right'))
|
||||
@@ -5396,6 +5394,8 @@ def register_Ns3Time_methods(root_module, cls):
|
||||
cls.add_binary_comparison_operator('<')
|
||||
cls.add_binary_comparison_operator('>')
|
||||
cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', u'right'))
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('<=')
|
||||
cls.add_binary_comparison_operator('==')
|
||||
cls.add_binary_comparison_operator('>=')
|
||||
## nstime.h (module 'core'): ns3::Time::Time() [constructor]
|
||||
|
||||
@@ -766,8 +766,8 @@ def register_methods(root_module):
|
||||
|
||||
def register_Ns3Address_methods(root_module, cls):
|
||||
cls.add_binary_comparison_operator('!=')
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('<')
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('==')
|
||||
## address.h (module 'network'): ns3::Address::Address() [constructor]
|
||||
cls.add_constructor([])
|
||||
@@ -1737,8 +1737,8 @@ def register_Ns3InetSocketAddress_methods(root_module, cls):
|
||||
|
||||
def register_Ns3Ipv4Address_methods(root_module, cls):
|
||||
cls.add_binary_comparison_operator('!=')
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('<')
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('==')
|
||||
## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Ipv4Address const &', 'arg0')])
|
||||
@@ -1908,8 +1908,8 @@ def register_Ns3Ipv4Mask_methods(root_module, cls):
|
||||
|
||||
def register_Ns3Ipv6Address_methods(root_module, cls):
|
||||
cls.add_binary_comparison_operator('!=')
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('<')
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('==')
|
||||
## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address() [constructor]
|
||||
cls.add_constructor([])
|
||||
@@ -2165,8 +2165,8 @@ def register_Ns3Ipv6Prefix_methods(root_module, cls):
|
||||
|
||||
def register_Ns3Mac16Address_methods(root_module, cls):
|
||||
cls.add_binary_comparison_operator('!=')
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('<')
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('==')
|
||||
## mac16-address.h (module 'network'): ns3::Mac16Address::Mac16Address(ns3::Mac16Address const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Mac16Address const &', 'arg0')])
|
||||
@@ -2202,8 +2202,8 @@ def register_Ns3Mac16Address_methods(root_module, cls):
|
||||
|
||||
def register_Ns3Mac48Address_methods(root_module, cls):
|
||||
cls.add_binary_comparison_operator('!=')
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('<')
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('==')
|
||||
## mac48-address.h (module 'network'): ns3::Mac48Address::Mac48Address(ns3::Mac48Address const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Mac48Address const &', 'arg0')])
|
||||
@@ -2274,8 +2274,8 @@ def register_Ns3Mac48Address_methods(root_module, cls):
|
||||
|
||||
def register_Ns3Mac64Address_methods(root_module, cls):
|
||||
cls.add_binary_comparison_operator('!=')
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('<')
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('==')
|
||||
## mac64-address.h (module 'network'): ns3::Mac64Address::Mac64Address(ns3::Mac64Address const & arg0) [copy constructor]
|
||||
cls.add_constructor([param('ns3::Mac64Address const &', 'arg0')])
|
||||
@@ -3124,10 +3124,10 @@ def register_Ns3PcapHelper_methods(root_module, cls):
|
||||
cls.add_constructor([param('ns3::PcapHelper const &', 'arg0')])
|
||||
## trace-helper.h (module 'network'): ns3::PcapHelper::PcapHelper() [constructor]
|
||||
cls.add_constructor([])
|
||||
## trace-helper.h (module 'network'): ns3::Ptr<ns3::PcapFileWrapper> ns3::PcapHelper::CreateFile(std::string filename, std::_Ios_Openmode filemode, uint32_t dataLinkType, uint32_t snapLen=65535, int32_t tzCorrection=0) [member function]
|
||||
## trace-helper.h (module 'network'): ns3::Ptr<ns3::PcapFileWrapper> ns3::PcapHelper::CreateFile(std::string filename, std::_Ios_Openmode filemode, uint32_t dataLinkType, uint32_t snapLen=std::numeric_limits<unsigned int>::max(), int32_t tzCorrection=0) [member function]
|
||||
cls.add_method('CreateFile',
|
||||
'ns3::Ptr< ns3::PcapFileWrapper >',
|
||||
[param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode'), param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='65535'), param('int32_t', 'tzCorrection', default_value='0')])
|
||||
[param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode'), param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='std::numeric_limits<unsigned int>::max()'), param('int32_t', 'tzCorrection', default_value='0')])
|
||||
## trace-helper.h (module 'network'): std::string ns3::PcapHelper::GetFilenameFromDevice(std::string prefix, ns3::Ptr<ns3::NetDevice> device, bool useObjectNames=true) [member function]
|
||||
cls.add_method('GetFilenameFromDevice',
|
||||
'std::string',
|
||||
@@ -3545,8 +3545,8 @@ def register_Ns3TimeWithUnit_methods(root_module, cls):
|
||||
|
||||
def register_Ns3TypeId_methods(root_module, cls):
|
||||
cls.add_binary_comparison_operator('!=')
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('<')
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('==')
|
||||
## type-id.h (module 'core'): ns3::TypeId::TypeId(char const * name) [constructor]
|
||||
cls.add_constructor([param('char const *', 'name')])
|
||||
@@ -3740,10 +3740,8 @@ def register_Ns3Empty_methods(root_module, cls):
|
||||
return
|
||||
|
||||
def register_Ns3Int64x64_t_methods(root_module, cls):
|
||||
cls.add_binary_comparison_operator('<=')
|
||||
cls.add_binary_comparison_operator('!=')
|
||||
cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', u'right'))
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
|
||||
cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
|
||||
cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
|
||||
@@ -3754,6 +3752,8 @@ def register_Ns3Int64x64_t_methods(root_module, cls):
|
||||
cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', u'right'))
|
||||
cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', u'right'))
|
||||
cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', u'right'))
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('<=')
|
||||
cls.add_binary_comparison_operator('==')
|
||||
cls.add_binary_comparison_operator('>=')
|
||||
## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor]
|
||||
@@ -5385,10 +5385,8 @@ def register_Ns3SocketSetDontFragmentTag_methods(root_module, cls):
|
||||
return
|
||||
|
||||
def register_Ns3Time_methods(root_module, cls):
|
||||
cls.add_binary_comparison_operator('<=')
|
||||
cls.add_binary_comparison_operator('!=')
|
||||
cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', u'right'))
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_numeric_operator('*', root_module['ns3::Time'], root_module['ns3::Time'], param('int64_t const &', u'right'))
|
||||
cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', u'right'))
|
||||
cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', u'right'))
|
||||
@@ -5396,6 +5394,8 @@ def register_Ns3Time_methods(root_module, cls):
|
||||
cls.add_binary_comparison_operator('<')
|
||||
cls.add_binary_comparison_operator('>')
|
||||
cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', u'right'))
|
||||
cls.add_output_stream_operator()
|
||||
cls.add_binary_comparison_operator('<=')
|
||||
cls.add_binary_comparison_operator('==')
|
||||
cls.add_binary_comparison_operator('>=')
|
||||
## nstime.h (module 'core'): ns3::Time::Time() [constructor]
|
||||
|
||||
@@ -100,7 +100,7 @@ public:
|
||||
* @returns a smart pointer to the Pcap file
|
||||
*/
|
||||
Ptr<PcapFileWrapper> CreateFile (std::string filename, std::ios::openmode filemode,
|
||||
uint32_t dataLinkType, uint32_t snapLen = 65535, int32_t tzCorrection = 0);
|
||||
uint32_t dataLinkType, uint32_t snapLen = std::numeric_limits<uint32_t>::max (), int32_t tzCorrection = 0);
|
||||
/**
|
||||
* @brief Hook a trace source to the default trace sink
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user