def ipNum(w, x, y, z):
 return ((((w << 24) | (x << 16)) | (y << 8)) | z)

def ipNum ( w , x , y , z ) : return ( ( ( ( w << 24 ) | ( x << 16 ) ) | ( y << 8 ) ) | z )
generate unsigned int from components of ip address returns: w << 24 | x << 16 | y << 8 | z .