Add IP conversion functions