Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ReqOpt.h
Go to the documentation of this file.
1 /*
2  * Dibbler - a portable DHCPv6
3  *
4  * authors: Tomasz Mrugalski <thomson@klub.com.pl>
5  *
6  * released under GNU GPL v2 only licence
7  *
8  * $Id: ReqOpt.h,v 1.3 2008-08-29 00:07:33 thomson Exp $
9  *
10  */
11 
12 #ifndef REQOPT_H
13 #define REQOPT_H
14 
15 #include "Opt.h"
16 #include "OptIAAddress.h"
17 #include "OptDUID.h"
18 #include "OptGeneric.h"
19 
20 class TReqOptAddr : public TOptIAAddress
21 {
22 public:
23  TReqOptAddr(int type, SPtr<TIPv6Addr> addr, TMsg * parent);
24 protected:
25  bool doDuties();
26 };
27 
28 class TReqOptDUID : public TOptDUID
29 {
30 public:
31  TReqOptDUID(int type, SPtr<TDUID> duid, TMsg* parent);
32 protected:
33  bool doDuties();
34 };
35 
37 {
38 public:
39  TReqOptGeneric(int optType, char * data, int dataLen, TMsg* parent);
40 protected:
41  bool doDuties();
42 };
43 
44 #endif
45