Searched refs:ifas (Results 1 – 1 of 1) sorted by relevance
288 map_newlink (int index, struct ifaddrs_storage *ifas, int *map, int max) in map_newlink() argument298 ifas[i - 1].ifa.ifa_next = &ifas[i].ifa; in map_newlink()320 struct ifaddrs_storage *ifas; in getifaddrs_internal() local417 ifas = (struct ifaddrs_storage *) calloc (1, in getifaddrs_internal()421 if (ifas == NULL) in getifaddrs_internal()431 ifa_data_ptr = (char *) &ifas[newlink + newaddr]; in getifaddrs_internal()469 ifa_index = map_newlink (ifim->ifi_index - 1, ifas, in getifaddrs_internal()475 free (ifas); in getifaddrs_internal()478 ifas[ifa_index].ifa.ifa_flags = ifim->ifi_flags; in getifaddrs_internal()488 if (rta_payload <= sizeof (ifas[ifa_index].addr)) in getifaddrs_internal()[all …]