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

#include <wimax-tlv.h>

+ Inheritance diagram for ns3::Ipv4AddressTlvValue:
+ Collaboration diagram for ns3::Ipv4AddressTlvValue:

Classes

struct  ipv4Addr
 

Public Types

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

Public Member Functions

 Ipv4AddressTlvValue ()
 
 ~Ipv4AddressTlvValue ()
 
void Add (Ipv4Address address, Ipv4Mask Mask)
 
Iterator Begin () const
 
virtual Ipv4AddressTlvValueCopy () 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 ipv4Addr > * m_ipv4Addr
 

Detailed Description

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

Member Typedef Documentation

typedef std::vector<struct ipv4Addr>::const_iterator ns3::Ipv4AddressTlvValue::Iterator

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

Constructor & Destructor Documentation

ns3::Ipv4AddressTlvValue::Ipv4AddressTlvValue ( )

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

References m_ipv4Addr.

Referenced by Copy().

+ Here is the caller graph for this function:

ns3::Ipv4AddressTlvValue::~Ipv4AddressTlvValue ( )

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

References m_ipv4Addr.

Member Function Documentation

void ns3::Ipv4AddressTlvValue::Add ( Ipv4Address  address,
Ipv4Mask  Mask 
)

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

References first::address, ns3::Ipv4AddressTlvValue::ipv4Addr::Address, m_ipv4Addr, and ns3::Ipv4AddressTlvValue::ipv4Addr::Mask.

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

+ Here is the caller graph for this function:

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

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

References m_ipv4Addr.

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

+ Here is the caller graph for this function:

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

Implements ns3::TlvValue.

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

References Add(), Ipv4AddressTlvValue(), and m_ipv4Addr.

+ Here is the call graph for this function:

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

Implements ns3::TlvValue.

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

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

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

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

References m_ipv4Addr.

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

+ Here is the caller graph for this function:

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

Implements ns3::TlvValue.

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

References m_ipv4Addr.

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

+ Here is the caller graph for this function:

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

Implements ns3::TlvValue.

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

References m_ipv4Addr, and ns3::Buffer::Iterator::WriteHtonU32().

+ Here is the call graph for this function:

Member Data Documentation

std::vector<struct ipv4Addr>* ns3::Ipv4AddressTlvValue::m_ipv4Addr
private

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