Lines Matching refs:hints
43 struct addrinfo hints, *res, *res0;
68 memset(&hints, 0, sizeof(hints));
69 hints.ai_family = AF_UNSPEC;
70 hints.ai_socktype = SOCK_RAW;
71 hints.ai_protocol = IPPROTO_NONE;
72 error = getaddrinfo(remote, NULL, &hints, &res0);
95 memset(&hints, 0, sizeof(hints));
96 hints.ai_family = res->ai_family;
97 hints.ai_socktype = SOCK_RAW;
98 hints.ai_protocol = IPPROTO_NONE;
99 hints.ai_flags = AI_PASSIVE;
101 error = getaddrinfo(local, NULL, &hints, &res0);