Searched refs:mainhints (Results 1 – 1 of 1) sorted by relevance
81 static struct addrinfo mainhints; //!< temporary struct to keep settings needed to open the new so… variable190 memset(&mainhints, 0, sizeof(struct addrinfo)); in main()192 mainhints.ai_family = PF_UNSPEC; in main()193 mainhints.ai_flags = AI_PASSIVE; // Ready to a bind() socket in main()194 mainhints.ai_socktype = SOCK_STREAM; in main()208 mainhints.ai_family = PF_INET; // IPv4 server only in main()500 activelist[i].ai_family = mainhints.ai_family; in main_startup()540 …if (sock_initaddress((address[0]) ? address : NULL, port, &mainhints, &addrinfo, errbuf, PCAP_ERRB… in main_startup()