domain.Ipv4EntryMapper and domain.Ipv6EntryMapper to iptree