00001 /* 00002 * Dibbler - a portable DHCPv6 00003 * 00004 * authors: Tomasz Mrugalski <thomson@klub.com.pl> 00005 * Marek Senderski <msend@o2.pl> 00006 * 00007 * $Id: long128.h,v 1.3 2004/03/29 22:06:49 thomson Exp $ 00008 * 00009 * $Log: long128.h,v $ 00010 * Revision 1.3 2004/03/29 22:06:49 thomson 00011 * 0.1.1 version 00012 * 00013 * 00014 * Released under GNU GPL v2 licence 00015 * 00016 */ 00017 00018 #ifndef LONG128_H 00019 #define LONG128_H 00020 #include "IPv6Addr.h" 00021 #include "SmartPtr.h" 00022 00023 class ulong128 00024 { 00025 public: 00026 ulong128(); 00027 ulong128(SmartPtr<TIPv6Addr> addr); 00028 ulong128 operator+(ulong128& other); 00029 00030 private: 00031 unsigned char bytes[16]; 00032 }; 00033 #endif 00034