Minor, hash is calculated swapping the masqueraded ip in host-byte order.