update ip address data type as in_addr_t, instead of u_int32_t