NS-3 based Named Data Networking (NDN) simulator
ndnSIM: NDN, CCN, CCNx, content centric networks
API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
ns3::Ipv4SeqsAppTracer Class Reference

Helper to track application-level sequence numbers (approximated from TCP ACKs) More...

#include <ipv4-seqs-app-tracer.h>

Inheritance diagram for ns3::Ipv4SeqsAppTracer:
Collaboration diagram for ns3::Ipv4SeqsAppTracer:

Public Member Functions

 Ipv4SeqsAppTracer (boost::shared_ptr< std::ostream > os, Ptr< Node > node)
 
virtual void PrintHeader (std::ostream &os) const
 
virtual void Print (std::ostream &os) const
 
virtual void Rx (std::string context, const Ipv4Header &, Ptr< const Packet >, uint32_t)
 
virtual void Tx (std::string context, const Ipv4Header &, Ptr< const Packet >, uint32_t)
 
- Public Member Functions inherited from ns3::Ipv4AppTracer
 Ipv4AppTracer (Ptr< Node > node)
 
void Connect ()
 

Static Public Member Functions

static boost::tuple
< boost::shared_ptr
< std::ostream >, std::list
< Ptr< Ipv4SeqsAppTracer > > > 
InstallAll (const std::string &file)
 Helper method to install tracers on all simulation nodes. More...
 

Protected Member Functions

void Reset ()
 

Protected Attributes

boost::shared_ptr< std::ostream > m_os
 
- Protected Attributes inherited from ns3::Ipv4AppTracer
std::string m_node
 
Ptr< Node > m_nodePtr
 

Detailed Description

Helper to track application-level sequence numbers (approximated from TCP ACKs)

Definition at line 34 of file ipv4-seqs-app-tracer.h.

Member Function Documentation

boost::tuple< boost::shared_ptr< std::ostream >, std::list< Ptr< Ipv4SeqsAppTracer > > > ns3::Ipv4SeqsAppTracer::InstallAll ( const std::string &  file)
static

Helper method to install tracers on all simulation nodes.

Parameters
fileFile to which traces will be written
Returns
a tuple of reference to output stream and list of tracers. !!! Attention !!! This tuple needs to be preserved for the lifetime of simulation, otherwise SEGFAULTs are inevitable

Definition at line 52 of file ipv4-seqs-app-tracer.cc.


The documentation for this class was generated from the following files: