Home
last modified time | relevance | path

Searched refs:ai_hint (Results 1 – 2 of 2) sorted by relevance

/freebsd/tests/sys/netinet/
H A Dip6_v4mapped_test.c220 struct addrinfo ai_hint, *aip; in ATF_TC_BODY() local
255 memset(&ai_hint, 0, sizeof(ai_hint)); in ATF_TC_BODY()
256 ai_hint.ai_family = AF_INET6; in ATF_TC_BODY()
257 ai_hint.ai_flags = AI_NUMERICHOST | AI_V4MAPPED; in ATF_TC_BODY()
258 error = getaddrinfo("127.0.0.1", NULL, &ai_hint, &aip); in ATF_TC_BODY()
329 struct addrinfo ai_hint, *aip; in ATF_TC_BODY() local
341 memset(&ai_hint, 0, sizeof(ai_hint)); in ATF_TC_BODY()
342 ai_hint.ai_family = AF_INET; in ATF_TC_BODY()
343 ai_hint.ai_flags = AI_NUMERICHOST; in ATF_TC_BODY()
344 error = getaddrinfo("127.0.0.1", NULL, &ai_hint, &aip); in ATF_TC_BODY()
[all …]
/freebsd/contrib/ntp/ntpd/
H A Drefclock_nmea.c1771 struct addrinfo ai_hint; /* resolution hint */ in nmead_open()
1797 ZERO(ai_hint); in nmead_open()
1798 ai_hint.ai_protocol = IPPROTO_TCP; in nmead_open()
1799 ai_hint.ai_socktype = SOCK_STREAM; in nmead_open()
1800 if (getaddrinfo(host, port, &ai_hint, &ai_list)) in nmead_open()
1769 struct addrinfo ai_hint; /* resolution hint */ nmead_open() local