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

/freebsd-12-stable/contrib/libpcap/rpcapd/
H A Drpcapd.c81 static struct addrinfo mainhints; //!< temporary struct to keep settings needed to open the new socket variable in typeref:struct:addrinfo
187 memset(&mainhints, 0, sizeof(struct addrinfo));
189 mainhints.ai_family = PF_UNSPEC;
190 mainhints.ai_flags = AI_PASSIVE; // Ready to a bind() socket
191 mainhints.ai_socktype = SOCK_STREAM;
209 mainhints.ai_family = PF_INET; // IPv4 server only
512 activelist[i].ai_family = mainhints.ai_family;
552 if (sock_initaddress((address[0]) ? address : NULL, port, &mainhints, &addrinfo, errbuf, PCAP_ERRBUF_SIZE) == -1)

Completed in 120 milliseconds