Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OptReconfigureMsg.h
Go to the documentation of this file.
1 /*
2  * Dibbler - a portable DHCPv6
3  *
4  * authors: Grzegorz Pluto
5  * changes: Tomasz Mrugalski <thomson@klub.com.pl>
6  *
7  * released under GNU GPL v2 only licence
8  */
9 
10 #ifndef OPTRECONFIGURE_H
11 #define OPTRECONFIGURE_H
12 
13 #include "DHCPConst.h"
14 #include "Opt.h"
15 
16 class TOptReconfigureMsg : public TOpt
17 {
18  public:
19  TOptReconfigureMsg(int msgType, TMsg* parent);
20  TOptReconfigureMsg(char *buf, int bufsize, TMsg* parent);
21  size_t getSize();
22 
23  char* storeSelf(char* buf);
24  bool doDuties() { return true; }
25  bool isValid() const;
26  protected:
27  uint8_t MsgType_;
28 };
29 
30 #endif
31