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 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... | |
| virtual VectorTlvValue * | Copy (void) const =0 |
| Copy. More... | |
| virtual uint32_t | Deserialize (Buffer::Iterator start, uint64_t valueLength)=0 |
| Deserialize from a buffer. 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 () |
| virtual TlvValue * | Copy (void) const =0 |
| Copy function. More... | |
| virtual uint32_t | Deserialize (Buffer::Iterator start, uint64_t valueLen)=0 |
| Deserialize from a buffer. More... | |
| virtual uint32_t | GetSerializedSize (void) const =0 |
| Get serialized size in bytes. More... | |
| virtual void | Serialize (Buffer::Iterator start) const =0 |
| Serialize to a buffer. More... | |
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().
Here is the caller graph for this function:
|
virtual |
Copy.
Implements ns3::VectorTlvValue.
Definition at line 719 of file wimax-tlv.cc.
References ClassificationRuleVectorTlvValue(), ns3::VectorTlvValue::Add(), ns3::VectorTlvValue::Begin(), and ns3::VectorTlvValue::End().
Here is the call graph for this function:
|
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(), and ToS.
Referenced by ns3::CsParamVectorTlvValue::Deserialize().
Here is the call graph for this function:
Here is the caller graph for this function: