Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

OptIA_NA.h

Go to the documentation of this file.
00001 /*
00002  * Dibbler - a portable DHCPv6
00003  *
00004  * authors: Tomasz Mrugalski <thomson@klub.com.pl>
00005  *          Marek Senderski <msend@o2.pl>
00006  *
00007  * released under GNU GPL v2 or later licence
00008  *
00009  * $Id: OptIA_NA.h,v 1.4 2004/09/07 22:02:33 thomson Exp $
00010  *
00011  * $Log: OptIA_NA.h,v $
00012  * Revision 1.4  2004/09/07 22:02:33  thomson
00013  * pref/valid/IAID is not unsigned, RAPID-COMMIT now works ok.
00014  *
00015  * Revision 1.3  2004/06/17 23:53:54  thomson
00016  * Server Address Assignment rewritten.
00017  */
00018 
00019 class TOptIA_NA;
00020 #ifndef OPTIA_NA_H
00021 #define OPTIA_NA_H
00022 
00023 #include "Opt.h"
00024 
00025 class TOptIA_NA : public TOpt
00026 {
00027   public:
00028     TOptIA_NA( long IAID, long t1,  long t2, TMsg* parent);
00029     TOptIA_NA( char * &buf, int &bufsize, TMsg* parent);
00030     int getSize();
00031     int getStatusCode();
00032     
00033     unsigned long getIAID();
00034     unsigned long getT1();
00035     unsigned long getT2();
00036     unsigned long getMaxValid();
00037     int countAddrs();
00038     
00039     char * storeSelf( char* buf);
00040     bool isValid();
00041  protected:
00042     bool Valid;
00043     unsigned long IAID;
00044     unsigned long T1;
00045     unsigned long T2;
00046 };
00047 
00048 
00049 #endif /*  */
00050 

Generated on Wed Mar 16 00:10:26 2005 for Dibbler - a portable DHCPv6 by  doxygen 1.3.9.1