Maybe we can rename this to `ip_to_int` and then `ip2str` can be changed to `int_to_ip`--just so it's immediately evident that the two functions are very much related.