Home
last modified time | relevance | path

Searched refs:aitop (Results 1 – 10 of 10) sorted by relevance

/external/openssh/
Dcanohost.c53 struct addrinfo hints, *ai, *aitop; in get_remote_hostname() local
121 if (getaddrinfo(name, NULL, &hints, &aitop) != 0) { in get_remote_hostname()
127 for (ai = aitop; ai; ai = ai->ai_next) { in get_remote_hostname()
133 freeaddrinfo(aitop); in get_remote_hostname()
Dchannels.c2644 struct addrinfo hints, *ai, *aitop; local
2704 if ((r = getaddrinfo(addr, strport, &hints, &aitop)) != 0) {
2718 for (ai = aitop; ai; ai = ai->ai_next) {
2801 freeaddrinfo(aitop);
3126 if (cctx->aitop)
3127 freeaddrinfo(cctx->aitop);
3130 cctx->ai = cctx->aitop = NULL;
3149 if ((gaierr = getaddrinfo(host, strport, &hints, &cctx.aitop)) != 0) {
3157 cctx.ai = cctx.aitop;
3257 struct addrinfo hints, *ai, *aitop; local
[all …]
Dssh-keyscan.c291 struct addrinfo hints, *ai, *aitop; in tcpconnect() local
299 if ((gaierr = getaddrinfo(host, strport, &hints, &aitop)) != 0) in tcpconnect()
301 for (ai = aitop; ai; ai = ai->ai_next) { in tcpconnect()
317 freeaddrinfo(aitop); in tcpconnect()
Dsshconnect.c345 struct addrinfo hints, *ai, *aitop; in ssh_connect() local
359 if ((gaierr = getaddrinfo(host, strport, &hints, &aitop)) != 0) in ssh_connect()
373 for (ai = aitop; ai; ai = ai->ai_next) { in ssh_connect()
407 freeaddrinfo(aitop); in ssh_connect()
Dchannels.h84 struct addrinfo *ai, *aitop; member
Dservconf.c524 struct addrinfo hints, *ai, *aitop; in add_one_listen_addr() local
533 if ((gaierr = getaddrinfo(addr, strport, &hints, &aitop)) != 0) in add_one_listen_addr()
537 for (ai = aitop; ai->ai_next; ai = ai->ai_next) in add_one_listen_addr()
540 options->listen_addrs = aitop; in add_one_listen_addr()
/external/chromium/third_party/libevent/
Dhttp.c2626 struct addrinfo ai, *aitop;
2633 if ((ai_result = getaddrinfo(address, NULL, &ai, &aitop)) != 0) {
2640 return (aitop);
2728 struct addrinfo *aitop = NULL; in make_addrinfo() local
2740 if ((ai_result = getaddrinfo(address, strport, &ai, &aitop)) != 0) { in make_addrinfo()
2756 aitop = &ai[cur]; in make_addrinfo()
2757 ((struct sockaddr_in *) aitop->ai_addr)->sin_port = htons(port); in make_addrinfo()
2760 return (aitop); in make_addrinfo()
2767 struct addrinfo *aitop = NULL; in bind_socket() local
2773 aitop = make_addrinfo(address, port); in bind_socket()
[all …]
/external/chromium/third_party/libevent/test/
Dregress_http.c117 struct addrinfo ai, *aitop; in http_connect()
138 if (getaddrinfo(address, strport, &ai, &aitop) != 0) { in http_connect()
142 sa = aitop->ai_addr; in http_connect()
143 slen = aitop->ai_addrlen; in http_connect()
154 freeaddrinfo(aitop); in http_connect()
/external/tcpdump/
Dconfigure.in324 struct addrinfo hints, *ai, *aitop;
333 if ((gaierr = getaddrinfo(NULL, "54321", &hints, &aitop)) != 0) {
337 for (ai = aitop; ai; ai = ai->ai_next) {
399 if (aitop)
400 freeaddrinfo(aitop);
404 if (aitop)
405 freeaddrinfo(aitop);
Dconfigure5023 struct addrinfo hints, *ai, *aitop;
5032 if ((gaierr = getaddrinfo(NULL, "54321", &hints, &aitop)) != 0) {
5036 for (ai = aitop; ai; ai = ai->ai_next) {
5098 if (aitop)
5099 freeaddrinfo(aitop);
5103 if (aitop)
5104 freeaddrinfo(aitop);