Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SrvOptIAAddress.h
Go to the documentation of this file.
1 /*
2  * Dibbler - a portable DHCPv6
3  *
4  * authors: Tomasz Mrugalski <thomson@klub.com.pl>
5  * Marek Senderski <msend@o2.pl>
6  *
7  * released under GNU GPL v2 only licence
8  *
9  * $Id: SrvOptIAAddress.h,v 1.5 2008-08-29 00:07:36 thomson Exp $
10  *
11  * $Log: not supported by cvs2svn $
12  * Revision 1.4 2004-10-27 22:07:56 thomson
13  * Signed/unsigned issues fixed, Lifetime option implemented, INFORMATION-REQUEST
14  * message is now sent properly. Valid lifetime granted by server fixed.
15  *
16  * Revision 1.3 2004/09/07 22:02:34 thomson
17  * pref/valid/IAID is not unsigned, RAPID-COMMIT now works ok.
18  *
19  * Revision 1.2 2004/06/17 23:53:55 thomson
20  * Server Address Assignment rewritten.
21  */
22 
23 #ifndef SRVOPTIAADDRESS_H
24 #define SRVOPTIAADDRESS_H
25 
26 #include "SmartPtr.h"
27 #include "Container.h"
28 #include "OptIAAddress.h"
29 
31  public:
32  TSrvOptIAAddress( char * addr, int n, TMsg* parent);
33 
34  TSrvOptIAAddress(SPtr<TIPv6Addr> addr, unsigned long pref,
35  unsigned long valid, TMsg* parent);
36 
37  bool doDuties();
38 };
39 
40 #endif
41