Searched refs:hints (Results 1 – 9 of 9) sorted by relevance
/libuv/src/unix/ |
H A D | getaddrinfo.c | 103 err = getaddrinfo(req->hostname, req->service, req->hints, &req->addrinfo); in uv__getaddrinfo_work() 115 if (req->hints) in uv__getaddrinfo_done() 116 uv__free(req->hints); in uv__getaddrinfo_done() 124 req->hints = NULL; in uv__getaddrinfo_done() 143 const struct addrinfo* hints) { in uv_getaddrinfo() argument 174 hints_len = hints ? sizeof(*hints) : 0; in uv_getaddrinfo() 184 req->hints = NULL; in uv_getaddrinfo() 192 if (hints) { in uv_getaddrinfo() 193 req->hints = memcpy(buf + len, hints, sizeof(*hints)); in uv_getaddrinfo() 194 len += sizeof(*hints); in uv_getaddrinfo()
|
/libuv/docs/code/dns/ |
H A D | main.c | 65 struct addrinfo hints; in main() local 66 hints.ai_family = PF_INET; in main() 67 hints.ai_socktype = SOCK_STREAM; in main() 68 hints.ai_protocol = IPPROTO_TCP; in main() 69 hints.ai_flags = 0; in main() 73 int r = uv_getaddrinfo(loop, &resolver, on_resolved, "irc.libera.chat", "6667", &hints); in main()
|
/libuv/src/win/ |
H A D | getaddrinfo.c | 68 const ADDRINFOW* hints, 84 struct addrinfoW* hints; in uv__getaddrinfo_work() local 88 hints = req->addrinfow; in uv__getaddrinfo_work() 90 err = GetAddrInfoW(req->node, req->service, hints, &req->addrinfow); in uv__getaddrinfo_work() 245 const struct addrinfo* hints) { in uv_getaddrinfo() argument 288 if (hints != NULL) { in uv_getaddrinfo() 319 if (hints != NULL) { in uv_getaddrinfo() 321 req->addrinfow->ai_family = hints->ai_family; in uv_getaddrinfo() 322 req->addrinfow->ai_socktype = hints->ai_socktype; in uv_getaddrinfo() 323 req->addrinfow->ai_protocol = hints->ai_protocol; in uv_getaddrinfo() [all …]
|
/libuv/docs/src/ |
H A D | dns.rst | 72 …getaddrinfo_cb getaddrinfo_cb, const char* node, const char* service, const struct addrinfo* hints) 78 `hints` is a pointer to a struct addrinfo with additional address type
|
H A D | errors.rst | 60 invalid value for hints
|
/libuv/test/ |
H A D | test-threadpool-cancel.c | 203 struct addrinfo hints; in TEST_IMPL() local 220 r = uv_getaddrinfo(loop, reqs + 3, getaddrinfo_cb, "fail", NULL, &hints); in TEST_IMPL()
|
/libuv/include/uv/ |
H A D | unix.h | 342 struct addrinfo* hints; \
|
/libuv/docs/src/guide/ |
H A D | networking.rst | 207 after ``uv_getaddrinfo`` returns. The `hostname`, `servname` and `hints`
|
/libuv/include/ |
H A D | uv.h | 989 const struct addrinfo* hints);
|
Completed in 16 milliseconds