TosTlvValue class. More...
#include "wimax-tlv.h"
Inheritance diagram for ns3::TosTlvValue:
Collaboration diagram for ns3::TosTlvValue:Public Member Functions | |
| TosTlvValue () | |
| TosTlvValue (uint8_t low, uint8_t high, uint8_t mask) | |
| Constructor. | |
| ~TosTlvValue () override | |
| TosTlvValue * | Copy () const override |
| Copy. | |
| uint32_t | Deserialize (Buffer::Iterator start, uint64_t valueLength) override |
| Deserialize from a buffer. | |
| uint8_t | GetHigh () const |
| Get high part. | |
| uint8_t | GetLow () const |
| Get low part. | |
| uint8_t | GetMask () const |
| Get the mask. | |
| 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 () |
Private Attributes | |
| uint8_t | m_high |
| high | |
| uint8_t | m_low |
| low | |
| uint8_t | m_mask |
| mask | |
TosTlvValue class.
Definition at line 424 of file wimax-tlv.h.
| ns3::TosTlvValue::TosTlvValue | ( | ) |
| ns3::TosTlvValue::TosTlvValue | ( | uint8_t | low, |
| uint8_t | high, | ||
| uint8_t | mask ) |
Constructor.
| low | low value |
| high | high value |
| mask | the mask |
Definition at line 791 of file wimax-tlv.cc.
|
override |
Definition at line 798 of file wimax-tlv.cc.
|
overridevirtual |
Copy.
Implements ns3::TlvValue.
Definition at line 844 of file wimax-tlv.cc.
References TosTlvValue(), m_high, m_low, and m_mask.
Here is the call graph for this function:
|
overridevirtual |
Deserialize from a buffer.
| start | the iterator |
| valueLen | the maximum length of the value |
Implements ns3::TlvValue.
Definition at line 817 of file wimax-tlv.cc.
References m_high, m_low, m_mask, and ns3::Buffer::Iterator::ReadU8().
Referenced by ns3::ClassificationRuleVectorTlvValue::Deserialize().
Here is the call graph for this function:
Here is the caller graph for this function:| uint8_t ns3::TosTlvValue::GetHigh | ( | ) | const |
| uint8_t ns3::TosTlvValue::GetLow | ( | ) | const |
| uint8_t ns3::TosTlvValue::GetMask | ( | ) | const |
|
overridevirtual |
Get serialized size in bytes.
Implements ns3::TlvValue.
Definition at line 803 of file wimax-tlv.cc.
Referenced by ns3::ClassificationRuleVectorTlvValue::Deserialize().
Here is the caller graph for this function:
|
overridevirtual |
Serialize to a buffer.
| start | the iterator |
Implements ns3::TlvValue.
Definition at line 809 of file wimax-tlv.cc.
References m_high, m_low, m_mask, and ns3::Buffer::Iterator::WriteU8().
Here is the call graph for this function:
|
private |
high
Definition at line 463 of file wimax-tlv.h.
Referenced by TosTlvValue(), TosTlvValue(), Copy(), Deserialize(), GetHigh(), and Serialize().
|
private |
low
Definition at line 462 of file wimax-tlv.h.
Referenced by TosTlvValue(), TosTlvValue(), Copy(), Deserialize(), GetLow(), and Serialize().
|
private |
mask
Definition at line 464 of file wimax-tlv.h.
Referenced by TosTlvValue(), TosTlvValue(), Copy(), Deserialize(), GetMask(), and Serialize().