Divide two IPv6 addresses
<p>I have a a number which is 128 bit (IPv6 ip address). I created a structure which consists of two unsigned long long to accommodate the upper and lower halfs of the ip.
I now need to divide this by another number of this type.</p>

<p>I overloaded the division operator in the following way. Iterate and decrement the numerator number from the denominator number and increase quotient by one till the numerator is less than denominator.</p>

<p>This is working but is taking too long to process.</p>

<p>Is there a simpler and faster way to do this?</p>

<p>Thanks,</p>

<p>Really appreciate the help.</p>

<p>-Ak</p>
