Home | History | Annotate | Download | only in src

Lines Matching defs:hints

629 	struct addrinfo hints, *res0, *res;
632 memset(&hints, 0, sizeof(hints));
633 hints.ai_family = af;
634 hints.ai_socktype = SOCK_STREAM;
635 hints.ai_protocol = IPPROTO_TCP;
637 if (getaddrinfo(addr, port, &hints, &res0))
638 if(getaddrinfo(NULL, port, &hints, &res0)) {
745 struct addrinfo hints;
749 hints, 0, sizeof (hints));
750 hints.ai_flags = AI_PASSIVE | AI_ADDRCONFIG;
751 hints.ai_socktype = SOCK_STREAM;
752 hints.ai_protocol = IPPROTO_TCP;
754 err = getaddrinfo(dump_addr, dump_port, &hints, &ai);