Home | History | Annotate | Download | only in libnetutils

Lines Matching refs:hints

96     struct addrinfo hints, *ai;
103 memset(&hints, 0, sizeof(hints));
104 hints.ai_family = AF_UNSPEC;
105 hints.ai_flags = AI_NUMERICHOST;
106 hints.ai_socktype = SOCK_DGRAM;
108 ret = getaddrinfo(string, NULL, &hints, &ai);
873 struct addrinfo hints, *addr_ai, *gw_ai;
875 memset(&hints, 0, sizeof(hints));
876 hints.ai_family = AF_UNSPEC; /* Allow IPv4 or IPv6 */
877 hints.ai_flags = AI_NUMERICHOST;
879 ret = getaddrinfo(dst, NULL, &hints, &addr_ai);
901 ret = getaddrinfo(gw, NULL, &hints, &gw_ai);