Home
last modified time | relevance | path

Searched refs:aplist (Results 1 – 1 of 1) sorted by relevance

/external/tcpdump/missing/
Dgetaddrinfo.c517 char **aplist = NULL, *apbuf = NULL; local
595 aplist = hp->h_addr_list;
604 aplist = (char **)malloc(sizeof(aplist[0]) * naddrs);
606 if (aplist == NULL || apbuf == NULL) {
610 memset(aplist, 0, sizeof(aplist[0]) * naddrs);
613 aplist[i] = NULL;
618 aplist[i] = &apbuf[i * hp->h_length];
622 for (i = 0; aplist[i] != NULL; i++) {
624 ap = aplist[i];
667 if (aplist)
[all …]