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

OptAddr.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 licence
00008  *
00009  * $Id: OptAddr.h,v 1.1 2004/10/26 22:36:57 thomson Exp $
00010  *
00011  * $Log: OptAddr.h,v $
00012  * Revision 1.1  2004/10/26 22:36:57  thomson
00013  * *** empty log message ***
00014  *
00015  * Revision 1.2  2004/09/05 15:27:49  thomson
00016  * Data receive switched from recvfrom to recvmsg, unicast partially supported.
00017  *
00018  *
00019  */
00020 
00021 #ifndef OPTSERVERUNICAST_H
00022 #define OPTSERVERUNICAST_H
00023 
00024 #include "Opt.h"
00025 #include "DHCPConst.h"
00026 #include "SmartPtr.h"
00027 #include "IPv6Addr.h"
00028 
00029 class TOptAddr : public TOpt
00030 {
00031  public:
00032     TOptAddr(int type, char * &buf,  int &n, TMsg* parent);
00033     TOptAddr(int type, SmartPtr<TIPv6Addr> addr, TMsg * parent);
00034     int getSize();
00035     char * storeSelf( char* buf);
00036     SmartPtr<TIPv6Addr> getAddr();
00037  protected:
00038     SmartPtr<TIPv6Addr> Addr;
00039 };
00040 
00041 #endif
00042 

Generated on Mon Dec 27 21:55:22 2004 for Dibbler - a portable DHCPv6 by  doxygen 1.3.9.1