this class implements the classifier descriptor as a tlv vector More...
#include "wimax-tlv.h"
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 ClassificationRuleVectorTlvValue * | Copy (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 () |
this class implements the classifier descriptor as a tlv vector
Definition at line 397 of file wimax-tlv.h.
ClassificationRuleTlvType enumeration.
Enumerator | |
---|---|
Priority | |
ToS | |
Protocol | |
IP_src | |
IP_dst | |
Port_src | |
Port_dst | |
Index |
Definition at line 401 of file wimax-tlv.h.
ns3::ClassificationRuleVectorTlvValue::ClassificationRuleVectorTlvValue | ( | ) |
Definition at line 713 of file wimax-tlv.cc.
Referenced by Copy().
|
virtual |
Copy.
Implements ns3::VectorTlvValue.
Definition at line 719 of file wimax-tlv.cc.
References ns3::VectorTlvValue::Add(), ns3::VectorTlvValue::Begin(), ClassificationRuleVectorTlvValue(), and ns3::VectorTlvValue::End().
|
virtual |
Deserialize from a buffer.
start | the iterator |
valueLen | the maximum length of the value |
Implements ns3::VectorTlvValue.
Definition at line 730 of file wimax-tlv.cc.
References ns3::VectorTlvValue::Add(), ns3::U8TlvValue::Deserialize(), ns3::U16TlvValue::Deserialize(), ns3::TosTlvValue::Deserialize(), ns3::PortRangeTlvValue::Deserialize(), ns3::ProtocolTlvValue::Deserialize(), ns3::Ipv4AddressTlvValue::Deserialize(), ns3::TosTlvValue::GetSerializedSize(), ns3::PortRangeTlvValue::GetSerializedSize(), ns3::ProtocolTlvValue::GetSerializedSize(), ns3::Ipv4AddressTlvValue::GetSerializedSize(), Index, IP_dst, IP_src, ns3::Buffer::Iterator::Next(), Port_dst, Port_src, Priority, Protocol, ns3::Buffer::Iterator::ReadU8(), ToS, and WIMAX_TLV_EXTENDED_LENGTH_MASK.
Referenced by ns3::CsParamVectorTlvValue::Deserialize().