Home | History | Annotate | Download | only in dropbear

Lines Matching defs:hints

189 	struct addrinfo hints, *res = NULL, *res0 = NULL;
198 memset(&hints, 0, sizeof(hints));
199 hints.ai_family = AF_UNSPEC; /* TODO: let them flag v4 only etc */
200 hints.ai_socktype = SOCK_STREAM;
213 hints.ai_flags = AI_PASSIVE;
215 err = getaddrinfo(address, port, &hints, &res0);
306 struct addrinfo *res0 = NULL, *res = NULL, hints;
316 memset(&hints, 0, sizeof(hints));
317 hints.ai_socktype = SOCK_STREAM;
318 hints.ai_family = PF_UNSPEC;
320 err = getaddrinfo(remotehost, remoteport, &hints, &res0);