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: ClntOptDNSServers.h,v 1.5 2004/10/27 22:07:56 thomson Exp $ 00010 * 00011 * $Log: ClntOptDNSServers.h,v $ 00012 * Revision 1.5 2004/10/27 22:07:56 thomson 00013 * Signed/unsigned issues fixed, Lifetime option implemented, INFORMATION-REQUEST 00014 * message is now sent properly. Valid lifetime granted by server fixed. 00015 * 00016 * Revision 1.4 2004/10/25 20:45:53 thomson 00017 * Option support, parsers rewritten. ClntIfaceMgr now handles options. 00018 * 00019 */ 00020 00021 #ifndef CLNTOPTDNSSERVERS_H 00022 #define CLNTOPTDNSSERVERS_H 00023 00024 #include "OptAddrLst.h" 00025 #include "DUID.h" 00026 #include "IPv6Addr.h" 00027 #include "SmartPtr.h" 00028 #include "Msg.h" 00029 00030 class TClntOptDNSServers : public TOptAddrLst 00031 { 00032 public: 00033 TClntOptDNSServers( TContainer< SmartPtr<TIPv6Addr> > * lst, TMsg* parent); 00034 TClntOptDNSServers(char* buf, int size, TMsg* parent); 00035 bool doDuties(); 00036 private: 00037 }; 00038 #endif 00039