Home
last modified time | relevance | path

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

/external/libpcap/
Dsockutils.c420 struct addrinfo *tempaddrinfo; local
424 tempaddrinfo = addrinfo;
434 while (tempaddrinfo)
437 if (connect(sock, tempaddrinfo->ai_addr, (int) tempaddrinfo->ai_addrlen) == -1)
450 …sock_getascii_addrport((struct sockaddr_storage *) tempaddrinfo->ai_addr, TmpBuffer, sizeof(TmpBuf…
464 tempaddrinfo = tempaddrinfo->ai_next;
474 if (tempaddrinfo == NULL)
/external/libpcap/rpcapd/
Drpcapd.c535 struct addrinfo *tempaddrinfo; in main_startup() local
546 for (tempaddrinfo = addrinfo; tempaddrinfo; in main_startup()
547 tempaddrinfo = tempaddrinfo->ai_next) in main_startup()
552 …if ((sock = sock_open(tempaddrinfo, SOCKOPEN_SERVER, SOCKET_MAXCONN, errbuf, PCAP_ERRBUF_SIZE)) ==… in main_startup()
554 switch (tempaddrinfo->ai_family) in main_startup()
561 in = (struct sockaddr_in *)tempaddrinfo->ai_addr; in main_startup()
575 in6 = (struct sockaddr_in6 *)tempaddrinfo->ai_addr; in main_startup()
586 tempaddrinfo->ai_family, in main_startup()