this class implements the convergence sub-layer descriptor as a tlv vector More...
#include "wimax-tlv.h"
Public Types | |
enum | Type { Classifier_DSC_Action = 1 , Packet_Classification_Rule = 3 } |
Type enumeration. More... | |
Public Types inherited from ns3::VectorTlvValue | |
typedef std::vector< Tlv * >::const_iterator | Iterator |
TLV vector iterator typedef. | |
Public Member Functions | |
CsParamVectorTlvValue () | |
CsParamVectorTlvValue * | Copy () const override |
Copy. | |
uint32_t | Deserialize (Buffer::Iterator start, uint64_t valueLength) override |
Deserialize from a buffer. | |
Public Member Functions inherited from ns3::VectorTlvValue | |
VectorTlvValue () | |
~VectorTlvValue () override | |
void | Add (const Tlv &val) |
Add a TLV. | |
Iterator | Begin () const |
Begin iterator. | |
Iterator | End () const |
End iterator. | |
uint32_t | GetSerializedSize () const override |
Get serialized size in bytes. | |
void | Serialize (Buffer::Iterator start) const override |
Serialize to a buffer. | |
Public Member Functions inherited from ns3::TlvValue | |
virtual | ~TlvValue () |
this class implements the convergence sub-layer descriptor as a tlv vector
Definition at line 373 of file wimax-tlv.h.
Type enumeration.
Enumerator | |
---|---|
Classifier_DSC_Action | |
Packet_Classification_Rule |
Definition at line 377 of file wimax-tlv.h.
ns3::CsParamVectorTlvValue::CsParamVectorTlvValue | ( | ) |
Definition at line 668 of file wimax-tlv.cc.
Referenced by Copy().
|
overridevirtual |
Copy.
Implements ns3::VectorTlvValue.
Definition at line 673 of file wimax-tlv.cc.
References CsParamVectorTlvValue(), ns3::VectorTlvValue::Begin(), and ns3::VectorTlvValue::End().
|
overridevirtual |
Deserialize from a buffer.
start | the iterator |
valueLen | the maximum length of the value |
Implements ns3::VectorTlvValue.
Definition at line 622 of file wimax-tlv.cc.
References ns3::VectorTlvValue::Add(), Classifier_DSC_Action, ns3::ClassificationRuleVectorTlvValue::Deserialize(), ns3::U8TlvValue::Deserialize(), ns3::VectorTlvValue::GetSerializedSize(), ns3::Buffer::Iterator::Next(), Packet_Classification_Rule, and ns3::Buffer::Iterator::ReadU8().
Referenced by ns3::SfVectorTlvValue::Deserialize().