Provides a method to translate raw packet data into abstract flow identifier'' and
packet identifier'' parameters.
More...
#include <flow-classifier.h>
Public Member Functions | |
FlowClassifier () | |
virtual | ~FlowClassifier () |
virtual void | SerializeToXmlStream (std::ostream &os, int indent) const =0 |
Serializes the results to an std::ostream in XML format. More... | |
![]() | |
SimpleRefCount () | |
Constructor. More... | |
SimpleRefCount (const SimpleRefCount &o) | |
Copy constructor. More... | |
uint32_t | GetReferenceCount (void) const |
Get the reference count of the object. More... | |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
Assignment. More... | |
void | Ref (void) const |
Increment the reference count. More... | |
void | Unref (void) const |
Decrement the reference count. More... | |
Protected Member Functions | |
FlowId | GetNewFlowId () |
Returns a new, unique Flow Identifier. More... | |
Private Member Functions | |
FlowClassifier (FlowClassifier const &) | |
Defined and not implemented to avoid misuse. More... | |
FlowClassifier & | operator= (FlowClassifier const &) |
Defined and not implemented to avoid misuse. More... | |
Private Attributes | |
FlowId | m_lastNewFlowId |
Last known Flow ID. More... | |
Additional Inherited Members | |
![]() | |
static void | Cleanup (void) |
Noop. More... | |
Provides a method to translate raw packet data into abstract flow identifier'' and
packet identifier'' parameters.
These identifiers are unsigned 32-bit integers that uniquely identify a flow and a packet within that flow, respectively, for the whole simulation, regardless of the point in which the packet was captured. These abstract identifiers are used in the communication between FlowProbe and FlowMonitor, and all collected statistics reference only those abstract identifiers in order to keep the core architecture generic and not tied down to any particular flow capture method or classification system.
Definition at line 53 of file flow-classifier.h.
|
private |
Defined and not implemented to avoid misuse.
ns3::FlowClassifier::FlowClassifier | ( | ) |
Definition at line 25 of file flow-classifier.cc.
|
virtual |
Definition at line 31 of file flow-classifier.cc.
|
protected |
Returns a new, unique Flow Identifier.
Definition at line 36 of file flow-classifier.cc.
References m_lastNewFlowId.
Referenced by ns3::Ipv4FlowClassifier::Classify().
|
private |
Defined and not implemented to avoid misuse.
|
pure virtual |
Serializes the results to an std::ostream in XML format.
os | the output stream |
indent | number of spaces to use as base indentation level |
Implemented in ns3::Ipv4FlowClassifier.
|
private |