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

#include <RelMsgRelayRepl.h>

+ Inheritance diagram for TRelMsgRelayRepl:
+ Collaboration diagram for TRelMsgRelayRepl:

Public Member Functions

 TRelMsgRelayRepl (int iface, SPtr< TIPv6Addr > addr, char *data, int dataLen)
bool check ()
std::string getName () const
int getSize ()
int storeSelf (char *buffer)
- 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)
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)
bool validateAuthInfo (char *buf, int bufSize, AuthProtocols proto, const DigestTypesLst &acceptedDigestTypes)

Private Attributes

SPtr< TIPv6AddrLinkAddr
SPtr< TIPv6AddrPeerAddr

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

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

Member Function Documentation

bool TRelMsgRelayRepl::check ( )
virtual

Implements TRelMsg.

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

Implements TMsg.

int TRelMsgRelayRepl::getSize ( )
virtual

Reimplemented from TMsg.

int TRelMsgRelayRepl::storeSelf ( char *  buffer)
virtual

Reimplemented from TMsg.

Member Data Documentation

SPtr<TIPv6Addr> TRelMsgRelayRepl::LinkAddr
private
SPtr<TIPv6Addr> TRelMsgRelayRepl::PeerAddr
private

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