Lines Matching defs:addrinfo
81 static struct addrinfo mainhints; //!< temporary struct to keep settings needed to open the new socket
187 memset(&mainhints, 0, sizeof(struct addrinfo));
497 struct addrinfo *addrinfo; // keeps the addrinfo chain; required to open a new socket
506 addrinfo = NULL;
547 struct addrinfo *tempaddrinfo;
552 if (sock_initaddress((address[0]) ? address : NULL, port, &mainhints, &addrinfo, errbuf, PCAP_ERRBUF_SIZE) == -1)
558 for (tempaddrinfo = addrinfo; tempaddrinfo;
616 freeaddrinfo(addrinfo);
1268 struct addrinfo hints; // temporary struct to keep settings needed to open the new socket
1269 struct addrinfo *addrinfo; // keeps the addrinfo chain; required to open a new socket
1275 memset(&hints, 0, sizeof(struct addrinfo));
1289 if (sock_initaddress(activepars->address, activepars->port, &hints, &addrinfo, errbuf, PCAP_ERRBUF_SIZE) == -1)
1299 if ((sockctrl = sock_open(addrinfo, SOCKOPEN_CLIENT, 0, errbuf, PCAP_ERRBUF_SIZE)) == INVALID_SOCKET)
1336 freeaddrinfo(addrinfo);