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

/netbsd-current/external/bsd/libpcap/dist/rpcapd/
H A Drpcapd.c609 struct addrinfo *tempaddrinfo; local
620 for (tempaddrinfo = addrinfo; tempaddrinfo;
621 tempaddrinfo = tempaddrinfo->ai_next)
626 if ((sock = sock_open(NULL, tempaddrinfo, SOCKOPEN_SERVER, SOCKET_MAXCONN, errbuf, PCAP_ERRBUF_SIZE)) == INVALID_SOCKET)
628 switch (tempaddrinfo->ai_family)
635 in = (struct sockaddr_in *)tempaddrinfo->ai_addr;
649 in6 = (struct sockaddr_in6 *)tempaddrinfo->ai_addr;
660 tempaddrinfo
[all...]
/netbsd-current/external/bsd/libpcap/dist/
H A Dsockutils.c602 struct addrinfo *tempaddrinfo; local
616 for (tempaddrinfo = addrinfo; tempaddrinfo != NULL;
617 tempaddrinfo = tempaddrinfo->ai_next)
640 for (tempaddrinfo = addrinfo, i = 0; tempaddrinfo != NULL;
641 tempaddrinfo = tempaddrinfo->ai_next, i++)
643 addrs_to_try[i].info = tempaddrinfo;
[all...]

Completed in 186 milliseconds