Add 'family' and 'prefix' slots to IPXML.
As ip xml may contains both ipv4 and ipv6 family, there is no need to del_ip in set_ip function.