Home
last modified time | relevance | path

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

/freebsd/crypto/openssh/
H A Dauth.c676 struct addrinfo hints, *ai, *aitop; in remote_hostname() local
731 if (getaddrinfo(name, NULL, &hints, &aitop) != 0) { in remote_hostname()
737 for (ai = aitop; ai; ai = ai->ai_next) { in remote_hostname()
743 freeaddrinfo(aitop); in remote_hostname()
H A Dssh-keyscan.c366 struct addrinfo hints, *ai, *aitop; in tcpconnect() local
374 if ((gaierr = getaddrinfo(host, strport, &hints, &aitop)) != 0) { in tcpconnect()
378 for (ai = aitop; ai; ai = ai->ai_next) { in tcpconnect()
394 freeaddrinfo(aitop); in tcpconnect()
H A Dchannels.c3802 struct addrinfo hints, *ai, *aitop; in channel_setup_fwd_listener_tcpip() local
3839 if ((r = getaddrinfo(addr, strport, &hints, &aitop)) != 0) { in channel_setup_fwd_listener_tcpip()
3852 for (ai = aitop; ai; ai = ai->ai_next) { in channel_setup_fwd_listener_tcpip()
3949 freeaddrinfo(aitop); in channel_setup_fwd_listener_tcpip()
4659 if (cctx->aitop) { in channel_connect_ctx_free()
4660 if (cctx->aitop->ai_family == AF_UNIX) in channel_connect_ctx_free()
4661 free(cctx->aitop); in channel_connect_ctx_free()
4663 freeaddrinfo(cctx->aitop); in channel_connect_ctx_free()
4706 cctx->aitop = ai; in connect_to_helper()
4712 if ((gaierr = getaddrinfo(name, strport, &hints, &cctx->aitop)) in connect_to_helper()
[all …]
H A Dchannels.h112 struct addrinfo *ai, *aitop; member
H A Dsshconnect.c447 ssh_connect_direct(struct ssh *ssh, const char *host, struct addrinfo *aitop, in ssh_connect_direct() argument
470 for (ai = aitop; ai; ai = ai->ai_next) { in ssh_connect_direct()
H A Dservconf.c796 struct addrinfo hints, *ai, *aitop; in add_one_listen_addr() local
828 if ((gaierr = getaddrinfo(addr, strport, &hints, &aitop)) != 0) in add_one_listen_addr()
832 for (ai = aitop; ai->ai_next; ai = ai->ai_next) in add_one_listen_addr()
835 options->listen_addrs[i].addrs = aitop; in add_one_listen_addr()
/freebsd/contrib/ntp/sntp/libevent/
H A Dhttp.c4462 struct evutil_addrinfo *aitop = NULL; in bind_socket() local
4468 aitop = make_addrinfo(address, port); in bind_socket()
4470 if (aitop == NULL) in bind_socket()
4473 fd = create_bind_socket_nonblock(aitop, reuse); in bind_socket()
4475 evutil_freeaddrinfo(aitop); in bind_socket()
/freebsd/contrib/libevent/
H A Dhttp.c4462 struct evutil_addrinfo *aitop = NULL; in bind_socket() local
4468 aitop = make_addrinfo(address, port); in bind_socket()
4470 if (aitop == NULL) in bind_socket()
4473 fd = create_bind_socket_nonblock(aitop, reuse); in bind_socket()
4475 evutil_freeaddrinfo(aitop); in bind_socket()
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dregress_http.c182 struct evutil_addrinfo ai, *aitop; in http_connect() local
193 if (evutil_getaddrinfo(address, strport, &ai, &aitop) != 0) { in http_connect()
197 sa = aitop->ai_addr; in http_connect()
198 slen = aitop->ai_addrlen; in http_connect()
217 evutil_freeaddrinfo(aitop); in http_connect()
/freebsd/contrib/libevent/test/
H A Dregress_http.c182 struct evutil_addrinfo ai, *aitop; in http_connect() local
193 if (evutil_getaddrinfo(address, strport, &ai, &aitop) != 0) { in http_connect()
197 sa = aitop->ai_addr; in http_connect()
198 slen = aitop->ai_addrlen; in http_connect()
217 evutil_freeaddrinfo(aitop); in http_connect()