Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TAddrPrefix Class Reference

#include <AddrPrefix.h>

+ Inheritance diagram for TAddrPrefix:
+ Collaboration diagram for TAddrPrefix:

Public Member Functions

 TAddrPrefix (SPtr< TIPv6Addr > addr, long pref, long valid, int length)
int getLength ()
- Public Member Functions inherited from TAddrAddr
 TAddrAddr (SPtr< TIPv6Addr > addr, long pref, long valid)
 AddrAddr constructor for addresses.
 TAddrAddr (SPtr< TIPv6Addr > addr, long pref, long valid, int prefix)
 AddrAddr constructor for prefixes.
SPtr< TIPv6Addrget ()
unsigned long getPref ()
int getPrefix ()
unsigned long getPrefTimeout ()
 returns preferred lifetime left
enum EAddrStatus getTentative ()
long getTimestamp ()
unsigned long getValid ()
unsigned long getValidTimeout ()
 returns valid lifetime
void setPref (unsigned long pref)
void setTentative (enum EAddrStatus state)
void setTimestamp (long ts)
void setTimestamp ()
void setValid (unsigned long valid)

Private Attributes

int Length


std::ostream & operator<< (std::ostream &strum, TAddrPrefix &x)

Additional Inherited Members

- Protected Attributes inherited from TAddrAddr
SPtr< TIPv6AddrAddr
unsigned long Prefered
int Prefix
enum EAddrStatus Tentative
unsigned long Timestamp
unsigned long Valid

Constructor & Destructor Documentation

TAddrPrefix::TAddrPrefix ( SPtr< TIPv6Addr addr,
long  pref,
long  valid,
int  length 

Member Function Documentation

int TAddrPrefix::getLength ( )

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  strum,
TAddrPrefix x 

Member Data Documentation

int TAddrPrefix::Length

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