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: SrvOptServerUnicast.h,v 1.3 2004/10/25 20:45:54 thomson Exp $ 00010 * 00011 * $Log: SrvOptServerUnicast.h,v $ 00012 * Revision 1.3 2004/10/25 20:45:54 thomson 00013 * Option support, parsers rewritten. ClntIfaceMgr now handles options. 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 #ifndef SRVOPTSERVERUNICAST_H 00021 #define SRVOPTSERVERUNICAST_H 00022 00023 #include "Opt.h" 00024 #include "DHCPConst.h" 00025 #include "OptAddr.h" 00026 00027 class TSrvOptServerUnicast : public TOptAddr { 00028 public: 00029 TSrvOptServerUnicast( char * buf, int n, TMsg* parent); 00030 TSrvOptServerUnicast(SmartPtr<TIPv6Addr> addr, TMsg* parent); 00031 bool doDuties(); 00032 }; 00033 00034 00035 00036 #endif 00037