Home | History | Annotate | Download | only in ns-tools

Lines Matching refs:hints

440 	struct addrinfo hints;	/* hints for getaddrinfo() */
444 memset(&hints, '\0', sizeof(struct addrinfo));
445 hints.ai_family = family;
446 hints.ai_socktype = SOCK_DGRAM;
447 hints.ai_protocol = IPPROTO_UDP;
448 hints.ai_flags |= AI_NUMERICHOST;
450 err = getaddrinfo(maddr, portnum, &hints, &res);
515 struct addrinfo hints; /* hints for getaddrinfo() */
542 memset(&hints, '\0', sizeof(struct addrinfo));
543 hints.ai_family = mainfo_p->ai_family;
544 hints.ai_socktype = SOCK_DGRAM;
545 hints.ai_protocol = IPPROTO_UDP;
546 hints.ai_flags |= AI_NUMERICHOST;
549 memset(&hints, '\0', sizeof(struct addrinfo));
550 hints.ai_family = mainfo_p->ai_family;
551 hints.ai_socktype = SOCK_DGRAM;
552 hints.ai_protocol = IPPROTO_UDP;
553 hints.ai_flags |= AI_NUMERICHOST;
563 err = getaddrinfo(sp, NULL, &hints, &res);