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

#include <SrvMsgConfirm.h>

+ Inheritance diagram for TSrvMsgConfirm:
+ Collaboration diagram for TSrvMsgConfirm:

Public Member Functions

 TSrvMsgConfirm (int iface, SPtr< TIPv6Addr > addr, char *buf, int bufSize)
 ~TSrvMsgConfirm ()
bool check ()
void doDuties ()
std::string getName () const
unsigned long getTimeout ()
- Public Member Functions inherited from TSrvMsg
 TSrvMsg (int iface, SPtr< TIPv6Addr > addr, char *buf, int bufSize)
 TSrvMsg (int iface, SPtr< TIPv6Addr > addr, int msgType, long transID)
void addRelayInfo (SPtr< TIPv6Addr > linkAddr, SPtr< TIPv6Addr > peerAddr, int hop, const TOptList &echoList)
void appendAuthenticationOption (SPtr< TDUID > duid)
bool appendMandatoryOptions (SPtr< TOptOptionRequest > oro, bool includeClientID=true)
void appendReconfigureKey ()
bool appendRequestedOptions (SPtr< TDUID > duid, SPtr< TIPv6Addr > addr, int iface, SPtr< TOptOptionRequest > reqOpt)
void appendStatusCode ()
bool appendVendorSpec (SPtr< TDUID > duid, int iface, int vendor, SPtr< TOptOptionRequest > reqOpt)
void clearRelayInfo ()
 clears relay information (used in testing only)
void copyAAASPI (SPtr< TSrvMsg > q)
bool copyClientID (SPtr< TMsg > donor)
void copyRelayInfo (SPtr< TSrvMsg > q)
void copyRemoteID (SPtr< TSrvMsg > q)
SPtr< TDUIDgetClientDUID ()
SPtr< TIPv6AddrgetClientPeer ()
int getPhysicalIface () const
 returns physical interface index
SPtr< TOptVendorDatagetRemoteID ()
void processOptions (SPtr< TSrvMsg > clientMsg, bool quiet)
bool releaseAll (bool quiet)
 Releases all addresses and prefixes specified in this message.
void send (int dstPort=0)
void setMsgType (uint8_t type)
 sets message type (used in testing only)
void setPhysicalIface (int iface)
 sets physical interface index
void setRemoteID (SPtr< TOptVendorData > remoteID)
std::string showRequestedOptions (SPtr< TOptOptionRequest > oro)
bool validateReplayDetection ()
- 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 ()
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 TSrvMsg
std::vector< RelayInfoRelayInfo_
 Relay information.
- Protected Member Functions inherited from TSrvMsg
SPtr< TSrvOptFQDNaddFQDN (int iface, SPtr< TSrvOptFQDN > requestFQDN, SPtr< TDUID > clntDuid, SPtr< TIPv6Addr > clntAddr, std::string hint, bool doRealUpdate)
bool check (bool clntIDmandatory, bool srvIDmandatory)
void delFQDN (SPtr< TSrvCfgIface > cfgIface, SPtr< TAddrIA > ptrIA, SPtr< TFQDN > fqdn)
void getORO (SPtr< TMsg > clientMessage)
void handleDefaultOption (SPtr< TOpt > ptrOpt)
void processFQDN (SPtr< TSrvMsg > clientMsg, SPtr< TSrvOptFQDN > q)
void processIA_NA (SPtr< TSrvMsg > clientMsg, SPtr< TSrvOptIA_NA > q)
void processIA_PD (SPtr< TSrvMsg > clientMsg, SPtr< TSrvOptIA_PD > q)
void processIA_TA (SPtr< TSrvMsg > clientMsg, SPtr< TSrvOptTA > q)
void setDefaults ()
int storeSelfRelay (char *buf, uint8_t relayLevel, ESrvIfaceIdOrder order)
- Protected Attributes inherited from TSrvMsg
unsigned long FirstTimeStamp_
uint8_t forceMsgType_
 used in tests only. If non-zero, send message type is set to that type
unsigned long MRT_
SPtr< TOptOptionRequestORO
int physicalIface_
 physical interface from/to which message was received/should be sent
SPtr< TOptVendorDataRemoteID

Constructor & Destructor Documentation

TSrvMsgConfirm::TSrvMsgConfirm ( int  iface,
SPtr< TIPv6Addr addr,
char *  buf,
int  bufSize 
TSrvMsgConfirm::~TSrvMsgConfirm ( )
this is obsolete

Member Function Documentation

bool TSrvMsgConfirm::check ( )

Implements TSrvMsg.

void TSrvMsgConfirm::doDuties ( )

Reimplemented from TSrvMsg.

std::string TSrvMsgConfirm::getName ( void  ) const

Implements TMsg.

unsigned long TSrvMsgConfirm::getTimeout ( )

Reimplemented from TSrvMsg.

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