Lines Matching refs:hints
1469 struct addrinfo hints, *res;
1474 memset(&hints, 0, sizeof(hints));
1475 hints.ai_family = AF_UNSPEC;
1476 hints.ai_socktype = SOCK_DGRAM;
1477 hints.ai_protocol = 0;
1478 hints.ai_flags = AI_PASSIVE;
1480 rv = getaddrinfo(addr, NULL, &hints, &res);
1725 struct addrinfo hints, *res;
1729 memset(&hints, 0, sizeof(hints));
1730 hints.ai_family = AF_INET6;
1731 hints.ai_socktype = SOCK_DGRAM; /*dummy*/
1744 error = getaddrinfo(s, "0", &hints, &res);