adt_get_local_address
static int adt_get_local_address(int, struct ifaddrlist *);
if (adt_get_local_address(family, &al) != 0) {