ns-3
ns3::PbbAddressBlockIpv4 Class Reference

Concrete IPv4 specific PbbAddressBlock. More...

#include <packetbb.h>

Inheritance diagram for ns3::PbbAddressBlockIpv4:
Collaboration diagram for ns3::PbbAddressBlockIpv4:

List of all members.

Protected Member Functions

virtual uint8_t GetAddressLength (void) const
virtual void SerializeAddress (uint8_t *buffer, ConstAddressIterator iter) const
virtual Address DeserializeAddress (uint8_t *buffer) const
virtual void PrintAddress (std::ostream &os, ConstAddressIterator iter) const

Additional Inherited Members

- Public Types inherited from ns3::PbbAddressBlock
typedef std::list< Address >
::iterator 
AddressIterator
typedef std::list< Address >
::const_iterator 
ConstAddressIterator
typedef std::list< uint8_t >
::iterator 
PrefixIterator
typedef std::list< uint8_t >
::const_iterator 
ConstPrefixIterator
typedef
PbbAddressTlvBlock::Iterator 
TlvIterator
typedef
PbbAddressTlvBlock::ConstIterator 
ConstTlvIterator
- Public Member Functions inherited from ns3::PbbAddressBlock
AddressIterator AddressBegin (void)
ConstAddressIterator AddressBegin (void) const
AddressIterator AddressEnd (void)
ConstAddressIterator AddressEnd (void) const
int AddressSize (void) const
bool AddressEmpty (void) const
Address AddressFront (void) const
Address AddressBack (void) const
void AddressPushFront (Address address)
 Prepends an address to the front of this block.
void AddressPopFront (void)
 Removes an address from the front of this block.
void AddressPushBack (Address address)
 Appends an address to the back of this block.
void AddressPopBack (void)
 Removes an address from the back of this block.
AddressIterator AddressInsert (AddressIterator position, const Address value)
 Inserts an address at the specified position in this block.
AddressIterator AddressErase (AddressIterator position)
 Removes the address at the specified position.
AddressIterator AddressErase (AddressIterator first, AddressIterator last)
 Removes all addresses from [first, last) (includes first, not includes last).
void AddressClear (void)
 Removes all addresses from this block.
PrefixIterator PrefixBegin (void)
ConstPrefixIterator PrefixBegin (void) const
PrefixIterator PrefixEnd (void)
ConstPrefixIterator PrefixEnd (void) const
int PrefixSize (void) const
bool PrefixEmpty (void) const
uint8_t PrefixFront (void) const
uint8_t PrefixBack (void) const
void PrefixPushFront (uint8_t prefix)
 Prepends a prefix to the front of this block.
void PrefixPopFront (void)
 Removes a prefix from the front of this block.
void PrefixPushBack (uint8_t prefix)
 Appends a prefix to the back of this block.
void PrefixPopBack (void)
 Removes a prefix from the back of this block.
PrefixIterator PrefixInsert (PrefixIterator position, const uint8_t value)
 Inserts a prefix at the specified position in this block.
PrefixIterator PrefixErase (PrefixIterator position)
 Removes the prefix at the specified position.
PrefixIterator PrefixErase (PrefixIterator first, PrefixIterator last)
 Removes all prefixes from [first, last) (includes first, not includes last).
void PrefixClear (void)
 Removes all prefixes from this block.
TlvIterator TlvBegin (void)
ConstTlvIterator TlvBegin (void) const
TlvIterator TlvEnd (void)
ConstTlvIterator TlvEnd (void) const
int TlvSize (void) const
bool TlvEmpty (void) const
Ptr< PbbAddressTlvTlvFront (void)
const Ptr< PbbAddressTlvTlvFront (void) const
Ptr< PbbAddressTlvTlvBack (void)
const Ptr< PbbAddressTlvTlvBack (void) const
void TlvPushFront (Ptr< PbbAddressTlv > address)
 Prepends an address TLV to the front of this message.
void TlvPopFront (void)
 Removes an address TLV from the front of this message.
void TlvPushBack (Ptr< PbbAddressTlv > address)
 Appends an address TLV to the back of this message.
void TlvPopBack (void)
 Removes an address TLV from the back of this message.
TlvIterator TlvInsert (TlvIterator position, const Ptr< PbbTlv > value)
 Inserts an address TLV at the specified position in this block.
TlvIterator TlvErase (TlvIterator position)
 Removes the address TLV at the specified position.
TlvIterator TlvErase (TlvIterator first, TlvIterator last)
 Removes all address TLVs from [first, last) (includes first, not includes last).
void TlvClear (void)
 Removes all address TLVs from this block.
uint32_t GetSerializedSize (void) const
void Serialize (Buffer::Iterator &start) const
 Serializes this address block into the specified buffer.
void Deserialize (Buffer::Iterator &start)
 Deserializes an address block from the specified buffer.
void Print (std::ostream &os) const
 Pretty-prints the contents of this address block.
void Print (std::ostream &os, int level) const
 Pretty-prints the contents of this address block, with specified indentation.
bool operator== (const PbbAddressBlock &other) const
bool operator!= (const PbbAddressBlock &other) const
- Public Member Functions inherited from ns3::SimpleRefCount< PbbAddressBlock >
 SimpleRefCount (const SimpleRefCount &o)
SimpleRefCountoperator= (const SimpleRefCount &o)
void Ref (void) const
void Unref (void) const
uint32_t GetReferenceCount (void) const

Detailed Description

Concrete IPv4 specific PbbAddressBlock.

This address block will only contain IPv4 addresses.


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