A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::PortRangeTlvValue Class Reference

#include <wimax-tlv.h>

+ Inheritance diagram for ns3::PortRangeTlvValue:
+ Collaboration diagram for ns3::PortRangeTlvValue:

Classes

struct  PortRange
 

Public Types

typedef std::vector< struct
PortRange >::const_iterator 
Iterator
 

Public Member Functions

 PortRangeTlvValue ()
 
 ~PortRangeTlvValue ()
 
void Add (uint16_t portLow, uint16_t portHigh)
 
Iterator Begin () const
 
virtual PortRangeTlvValueCopy (void) const
 
virtual uint32_t Deserialize (Buffer::Iterator start, uint64_t valueLength)
 
Iterator End () const
 
virtual uint32_t GetSerializedSize (void) const
 
virtual void Serialize (Buffer::Iterator start) const
 
- Public Member Functions inherited from ns3::TlvValue
virtual ~TlvValue ()
 

Private Attributes

std::vector< struct PortRange > * m_portRange
 

Detailed Description

Definition at line 302 of file wimax-tlv.h.

Member Typedef Documentation

typedef std::vector<struct PortRange>::const_iterator ns3::PortRangeTlvValue::Iterator

Definition at line 310 of file wimax-tlv.h.

Constructor & Destructor Documentation

ns3::PortRangeTlvValue::PortRangeTlvValue ( )

Definition at line 868 of file wimax-tlv.cc.

References m_portRange.

Referenced by Copy().

+ Here is the caller graph for this function:

ns3::PortRangeTlvValue::~PortRangeTlvValue ( )

Definition at line 872 of file wimax-tlv.cc.

References m_portRange.

Member Function Documentation

void ns3::PortRangeTlvValue::Add ( uint16_t  portLow,
uint16_t  portHigh 
)

Definition at line 906 of file wimax-tlv.cc.

References m_portRange, ns3::PortRangeTlvValue::PortRange::PortHigh, and ns3::PortRangeTlvValue::PortRange::PortLow.

Referenced by Copy(), Deserialize(), and ns3::IpcsClassifierRecord::ToTlv().

+ Here is the caller graph for this function:

PortRangeTlvValue::Iterator ns3::PortRangeTlvValue::Begin ( void  ) const

Definition at line 914 of file wimax-tlv.cc.

References m_portRange.

Referenced by ns3::IpcsClassifierRecord::IpcsClassifierRecord().

+ Here is the caller graph for this function:

PortRangeTlvValue * ns3::PortRangeTlvValue::Copy ( void  ) const
virtual

Implements ns3::TlvValue.

Definition at line 926 of file wimax-tlv.cc.

References Add(), m_portRange, and PortRangeTlvValue().

+ Here is the call graph for this function:

uint32_t ns3::PortRangeTlvValue::Deserialize ( Buffer::Iterator  start,
uint64_t  valueLength 
)
virtual

Implements ns3::TlvValue.

Definition at line 893 of file wimax-tlv.cc.

References Add(), and ns3::Buffer::Iterator::ReadNtohU16().

Referenced by ns3::ClassificationRuleVectorTlvValue::Deserialize().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PortRangeTlvValue::Iterator ns3::PortRangeTlvValue::End ( void  ) const

Definition at line 920 of file wimax-tlv.cc.

References m_portRange.

Referenced by ns3::IpcsClassifierRecord::IpcsClassifierRecord().

+ Here is the caller graph for this function:

uint32_t ns3::PortRangeTlvValue::GetSerializedSize ( void  ) const
virtual

Implements ns3::TlvValue.

Definition at line 879 of file wimax-tlv.cc.

References m_portRange.

Referenced by ns3::ClassificationRuleVectorTlvValue::Deserialize(), and ns3::IpcsClassifierRecord::ToTlv().

+ Here is the caller graph for this function:

void ns3::PortRangeTlvValue::Serialize ( Buffer::Iterator  start) const
virtual

Implements ns3::TlvValue.

Definition at line 884 of file wimax-tlv.cc.

References m_portRange, and ns3::Buffer::Iterator::WriteHtonU16().

+ Here is the call graph for this function:

Member Data Documentation

std::vector<struct PortRange>* ns3::PortRangeTlvValue::m_portRange
private

The documentation for this class was generated from the following files: