If you're calculating the maximum number for an unsigned short integer then it is 256 * 256 - 1 = 65535. I think most of the variables in jj2 are defined as (32 bit signed) integers, which makes up to 4294967296 different numbers (2147483648 being negative).
__________________
<a href="http://nmap.org/"><img border="0" alt="Nmap Security Scanner" src="http://images.insecure.org/nmap/images/prop/nmap_bnr_matrix_pfos.gif"/></a>
|