A Discrete-Event Network Simulator
API
ns3::ClassificationRuleVectorTlvValue Class Reference

this class implements the classifier descriptor as a tlv vector More...

#include "wimax-tlv.h"

+ Inheritance diagram for ns3::ClassificationRuleVectorTlvValue:
+ Collaboration diagram for ns3::ClassificationRuleVectorTlvValue:

Public Types

enum  ClassificationRuleTlvType {
  Priority = 1, ToS = 2, Protocol = 3, IP_src = 4,
  IP_dst = 5, Port_src = 6, Port_dst = 7, Index = 14
}
 ClassificationRuleTlvType enumeration. More...
 
- Public Types inherited from ns3::VectorTlvValue
typedef std::vector< Tlv * >::const_iterator Iterator
 TLV vector iterator typedef. More...
 

Public Member Functions

 ClassificationRuleVectorTlvValue ()
 
virtual ClassificationRuleVectorTlvValueCopy (void) const
 Copy. More...
 
virtual uint32_t Deserialize (Buffer::Iterator start, uint64_t valueLength)
 Deserialize from a buffer. More...
 
- Public Member Functions inherited from ns3::VectorTlvValue
 VectorTlvValue (void)
 
 ~VectorTlvValue (void)
 
void Add (const Tlv &val)
 Add a TLV. More...
 
Iterator Begin () const
 Begin iterator. More...
 
Iterator End () const
 End iterator. More...
 
virtual uint32_t GetSerializedSize (void) const
 Get serialized size in bytes. More...
 
virtual void Serialize (Buffer::Iterator start) const
 Serialize to a buffer. More...
 
- Public Member Functions inherited from ns3::TlvValue
virtual ~TlvValue ()
 

Detailed Description

this class implements the classifier descriptor as a tlv vector

Definition at line 397 of file wimax-tlv.h.

Member Enumeration Documentation

◆ ClassificationRuleTlvType

ClassificationRuleTlvType enumeration.

Enumerator
Priority 
ToS 
Protocol 
IP_src 
IP_dst 
Port_src 
Port_dst 
Index 

Definition at line 401 of file wimax-tlv.h.

Constructor & Destructor Documentation

◆ ClassificationRuleVectorTlvValue()

ns3::ClassificationRuleVectorTlvValue::ClassificationRuleVectorTlvValue ( )

Definition at line 713 of file wimax-tlv.cc.

Referenced by Copy().

+ Here is the caller graph for this function:

Member Function Documentation

◆ Copy()

ClassificationRuleVectorTlvValue * ns3::ClassificationRuleVectorTlvValue::Copy ( void  ) const
virtual

Copy.

Returns
the vector TLV value

Implements ns3::VectorTlvValue.

Definition at line 719 of file wimax-tlv.cc.

References ns3::VectorTlvValue::Add(), ns3::VectorTlvValue::Begin(), ClassificationRuleVectorTlvValue(), and ns3::VectorTlvValue::End().

+ Here is the call graph for this function:

◆ Deserialize()


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