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

#include <SrvCfgTA.h>

+ Collaboration diagram for TSrvCfgTA:

Public Member Functions

 TSrvCfgTA ()
virtual ~TSrvCfgTA ()
bool addrInPool (SPtr< TIPv6Addr > addr)
bool clntPrefered (SPtr< TDUID > duid, SPtr< TIPv6Addr > clntAddr)
bool clntSupported (SPtr< TDUID > duid, SPtr< TIPv6Addr > clntAddr)
bool clntSupported (SPtr< TDUID > duid, SPtr< TIPv6Addr > clntAddr, SPtr< TSrvMsg > msg)
unsigned long countAddrInPool ()
long decrAssigned (int count=1)
unsigned long getAssignedCount ()
unsigned long getClassMaxLease ()
unsigned long getID ()
unsigned long getPref ()
SPtr< TIPv6AddrgetRandomAddr ()
unsigned long getValid ()
long incrAssigned (int count=1)
void mapAllowDenyList (TContainer< SPtr< TSrvCfgClientClass > > clientClassLst)
void setOptions (SPtr< TSrvParsGlobalOpt > opt)

Private Member Functions

 List (std::string) allowLst
 List (std::string) denyLst

Private Attributes

TContainer< SPtr< THostRange > > AcceptClnt
unsigned long AddrsAssigned
unsigned long AddrsCount
TContainer< SPtr
< TSrvCfgClientClass > > 
allowClientClassLst
unsigned long ClassMaxLease
TContainer< SPtr
< TSrvCfgClientClass > > 
denyClientClassLst
unsigned long ID
SPtr< THostRangePool
unsigned long Pref
TContainer< SPtr< THostRange > > RejedClnt
unsigned long Valid

Static Private Attributes

static unsigned long staticID = 0

Friends

std::ostream & operator<< (std::ostream &out, TSrvCfgTA &iface)

Constructor & Destructor Documentation

TSrvCfgTA::TSrvCfgTA ( )
TSrvCfgTA::~TSrvCfgTA ( )
virtual

Member Function Documentation

bool TSrvCfgTA::addrInPool ( SPtr< TIPv6Addr addr)
bool TSrvCfgTA::clntPrefered ( SPtr< TDUID duid,
SPtr< TIPv6Addr clntAddr 
)
bool TSrvCfgTA::clntSupported ( SPtr< TDUID clntDuid,
SPtr< TIPv6Addr clntAddr 
)

is client allowed to use this class? (it can be rejected on DUID or address basis)

Parameters
clntDuid
clntAddr
Returns
bool TSrvCfgTA::clntSupported ( SPtr< TDUID duid,
SPtr< TIPv6Addr clntAddr,
SPtr< TSrvMsg msg 
)
unsigned long TSrvCfgTA::countAddrInPool ( )
long TSrvCfgTA::decrAssigned ( int  count = 1)
unsigned long TSrvCfgTA::getAssignedCount ( )
unsigned long TSrvCfgTA::getClassMaxLease ( )
unsigned long TSrvCfgTA::getID ( void  )
unsigned long TSrvCfgTA::getPref ( )
SPtr< TIPv6Addr > TSrvCfgTA::getRandomAddr ( )
unsigned long TSrvCfgTA::getValid ( )
long TSrvCfgTA::incrAssigned ( int  count = 1)
TSrvCfgTA::List ( std::string  )
private
TSrvCfgTA::List ( std::string  )
private
void TSrvCfgTA::mapAllowDenyList ( TContainer< SPtr< TSrvCfgClientClass > >  clientClassLst)
void TSrvCfgTA::setOptions ( SPtr< TSrvParsGlobalOpt opt)

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
TSrvCfgTA iface 
)
friend

Member Data Documentation

TContainer<SPtr<THostRange> > TSrvCfgTA::AcceptClnt
private
unsigned long TSrvCfgTA::AddrsAssigned
private
unsigned long TSrvCfgTA::AddrsCount
private
TContainer< SPtr<TSrvCfgClientClass> > TSrvCfgTA::allowClientClassLst
private
unsigned long TSrvCfgTA::ClassMaxLease
private
TContainer< SPtr<TSrvCfgClientClass> > TSrvCfgTA::denyClientClassLst
private
unsigned long TSrvCfgTA::ID
private
SPtr<THostRange> TSrvCfgTA::Pool
private
unsigned long TSrvCfgTA::Pref
private
TContainer<SPtr<THostRange> > TSrvCfgTA::RejedClnt
private
unsigned long TSrvCfgTA::staticID = 0
staticprivate
unsigned long TSrvCfgTA::Valid
private

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