added list_ipv4s and get_aids_by_ipv4 functions