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. | |
Public Member Functions | |
| ClassificationRuleVectorTlvValue () | |
| ClassificationRuleVectorTlvValue * | 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 classifier descriptor as a tlv vector
Definition at line 396 of file wimax-tlv.h.
ClassificationRuleTlvType enumeration.
| Enumerator | |
|---|---|
| Priority | |
| ToS | |
| Protocol | |
| IP_src | |
| IP_dst | |
| Port_src | |
| Port_dst | |
| Index | |
Definition at line 400 of file wimax-tlv.h.
| ns3::ClassificationRuleVectorTlvValue::ClassificationRuleVectorTlvValue | ( | ) |
Definition at line 685 of file wimax-tlv.cc.
Referenced by Copy().
|
overridevirtual |
Copy.
Implements ns3::VectorTlvValue.
Definition at line 690 of file wimax-tlv.cc.
References ClassificationRuleVectorTlvValue(), 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 701 of file wimax-tlv.cc.
References ns3::VectorTlvValue::Add(), ns3::Ipv4AddressTlvValue::Deserialize(), ns3::PortRangeTlvValue::Deserialize(), ns3::ProtocolTlvValue::Deserialize(), ns3::TosTlvValue::Deserialize(), ns3::U16TlvValue::Deserialize(), ns3::U8TlvValue::Deserialize(), ns3::Ipv4AddressTlvValue::GetSerializedSize(), ns3::PortRangeTlvValue::GetSerializedSize(), ns3::ProtocolTlvValue::GetSerializedSize(), ns3::TosTlvValue::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().