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

#include <RelMsgGeneric.h>

+ Inheritance diagram for TRelMsgGeneric:
+ Collaboration diagram for TRelMsgGeneric:

Public Member Functions

 TRelMsgGeneric (int iface, SPtr< TIPv6Addr > addr, char *data, int dataLen)
bool check ()
std::string getName () const
- Public Member Functions inherited from TRelMsg
 TRelMsg (int iface, SPtr< TIPv6Addr > addr, char *data, int dataLen)
void decodeOpts (char *data, int dataLen)
SPtr< TIPv6AddrgetDestAddr ()
int getDestIface ()
int getHopCount ()
void setDestination (int ifindex, SPtr< TIPv6Addr > dest)
- 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 addOption (SPtr< TOpt > opt)
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 TRelMsg
SPtr< TIPv6AddrDestAddr
int DestIface
int HopCount

Constructor & Destructor Documentation

TRelMsgGeneric::TRelMsgGeneric ( int  iface,
SPtr< TIPv6Addr addr,
char *  data,
int  dataLen 
)

Member Function Documentation

bool TRelMsgGeneric::check ( )
virtual

Implements TRelMsg.

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

Implements TMsg.


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