Home
last modified time | relevance | path

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

/external/libpcap/Win32/Src/
Dgetaddrinfo.c524 char **aplist = NULL, *apbuf = NULL; local
602 aplist = hp->h_addr_list;
611 aplist = (char **)malloc(sizeof(aplist[0]) * naddrs);
613 if (aplist == NULL || apbuf == NULL) {
617 memset(aplist, 0, sizeof(aplist[0]) * naddrs);
620 aplist[i] = NULL;
625 aplist[i] = &apbuf[i * hp->h_length];
629 for (i = 0; aplist[i] != NULL; i++) {
631 ap = aplist[i];
674 if (aplist)
[all …]