Searched refs:hints (Results 1 – 3 of 3) sorted by relevance
222 struct addrinfo hints; in main() local223 memset(&hints, 0, sizeof(hints)); in main()224 hints.ai_family = AF_UNSPEC; in main()225 hints.ai_socktype = SOCK_DGRAM; in main()226 hints.ai_flags = 0; in main()227 hints.ai_protocol = IPPROTO_ICMP; in main()229 if (getaddrinfo(options.host, NULL, &hints, &info)) { in main()
258 const struct addrinfo* __restrict hints, in getaddrinfo() argument286 if (hints == NULL) { in getaddrinfo()289 ht->flags = hints->ai_flags; in getaddrinfo()290 ht->family = hints->ai_family; in getaddrinfo()291 ht->sock_type = hints->ai_socktype; in getaddrinfo()292 ht->protocol = hints->ai_protocol; in getaddrinfo()
70 2: GetAddrInfo(string:256? node, string:256? service, AddrInfoHints? hints)
Completed in 5 milliseconds