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

#include <ReqMsg.h>

+ Inheritance diagram for TReqMsg:
+ Collaboration diagram for TReqMsg:

Public Member Functions

 TReqMsg (int iface, SPtr< TIPv6Addr > addr, int msgType)
 TReqMsg (int iface, SPtr< TIPv6Addr > addr, char *&buf, int &bufSize)
void addOption (SPtr< TOpt > opt)
std::string getName () const
- Public Member Functions inherited from TMsg
 TMsg (int iface, SPtr< TIPv6Addr > addr, int msgType)
 TMsg (int iface, SPtr< TIPv6Addr > addr, int msgType, long transID)
 TMsg (int iface, SPtr< TIPv6Addr > addr, char *&buf, int &bufSize)
virtual ~TMsg ()
void calculateDigests (char *buffer, size_t len)
int countOption ()
void firstOption ()
TKey getAuthKey ()
SPtr< TOptDUIDgetClientID () const
 returns client-id option (if present)
int getIface ()
SPtr< TIPv6AddrgetLocalAddr ()
void * getNotifyScriptParams ()
SPtr< TOptgetOption (int type) const
virtual SPtr< TOptgetOption ()
TOptListgetOptLst ()
SPtr< TOptOptionRequestgetORO () const
 returns ORO (if present)
SPtr< TIPv6AddrgetRemoteAddr ()
SPtr< TOptDUIDgetServerID () const
 returns server-id option (if present)
virtual int getSize ()
uint32_t getSPI ()
virtual unsigned long getTimeout ()
long getTransID ()
long getType ()
bool isDone ()
bool isDone (bool done)
bool loadAuthKey ()
void setAuthDigestPtr (char *ptr, unsigned len)
void setAuthKey (const TKey &key)
void setLocalAddr (SPtr< TIPv6Addr > myaddr)
void setSPI (uint32_t val)
virtual int storeSelf (char *buffer)
bool validateAuthInfo (char *buf, int bufSize, AuthProtocols proto, const DigestTypesLst &acceptedDigestTypes)

Additional Inherited Members

- Public Attributes inherited from TMsg
DigestTypes DigestType_
- Protected Member Functions inherited from TMsg
virtual bool check (bool clntIDmandatory, bool srvIDmandatory)
bool delOption (int code)
void setAttribs (int iface, SPtr< TIPv6Addr > addr, int msgType, long transID)
- Protected Attributes inherited from TMsg
unsigned AuthDigestLen_
char * AuthDigestPtr_
TKey AuthKey_
int Iface
bool IsDone
SPtr< TIPv6AddrLocalAddr_
 Address the packet was received on.
int MsgType
TOptList::iterator NextOpt
TNotifyScriptParamsNotifyScripts
TOptList Options
SPtr< TIPv6AddrPeerAddr_
uint32_t SPI_
long TransID

Constructor & Destructor Documentation

TReqMsg::TReqMsg ( int  iface,
SPtr< TIPv6Addr addr,
int  msgType 
)
TReqMsg::TReqMsg ( int  iface,
SPtr< TIPv6Addr addr,
char *&  buf,
int &  bufSize 
)

Member Function Documentation

void TReqMsg::addOption ( SPtr< TOpt opt)

Reimplemented from TMsg.

std::string TReqMsg::getName ( void  ) const
virtual

Implements TMsg.


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