Home
last modified time | relevance | path

Searched refs:strport (Results 1 – 12 of 12) sorted by relevance

/freebsd/crypto/openssh/
H A Dcanohost.c163 char strport[NI_MAXSERV]; in get_sock_port() local
193 strport, sizeof(strport), NI_NUMERICSERV)) != 0) in get_sock_port()
196 return atoi(strport); in get_sock_port()
H A Dsshconnect.c92 char *tmp, *ret, strport[NI_MAXSERV]; in expand_proxy_command() local
96 snprintf(strport, sizeof strport, "%d", port); in expand_proxy_command()
102 "p", strport, in expand_proxy_command()
454 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; in ssh_connect_direct() local
459 memset(strport, 0, sizeof(strport)); in ssh_connect_direct()
478 ntop, sizeof(ntop), strport, sizeof(strport), in ssh_connect_direct()
488 "wrong address family", ntop, strport); in ssh_connect_direct()
494 host, ntop, strport); in ssh_connect_direct()
513 ntop, strport, strerror(errno)); in ssh_connect_direct()
526 host, strport, errno == 0 ? "failure" : strerror(errno)); in ssh_connect_direct()
H A Dchannels.c3799 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; in channel_setup_fwd_listener_tcpip() local
3833 snprintf(strport, sizeof strport, "%d", fwd->listen_port); in channel_setup_fwd_listener_tcpip()
3834 if ((r = getaddrinfo(addr, strport, &hints, &aitop)) != 0) { in channel_setup_fwd_listener_tcpip()
3870 strport, sizeof(strport), in channel_setup_fwd_listener_tcpip()
3879 verbose("socket [%s]:%s: %.100s", ntop, strport, in channel_setup_fwd_listener_tcpip()
3889 ntop, strport); in channel_setup_fwd_listener_tcpip()
3899 ntop, strport, strerror(errno)); in channel_setup_fwd_listener_tcpip()
3902 ntop, strport, strerror(errno)); in channel_setup_fwd_listener_tcpip()
3909 error("listen [%s]:%s: %.100s", ntop, strport, in channel_setup_fwd_listener_tcpip()
4584 char strport[MAXIMUM(NI_MAXSERV, sizeof(sunaddr->sun_path))]; in connect_next() local
[all …]
H A Dssh.c255 char strport[NI_MAXSERV]; in resolve_host() local
267 snprintf(strport, sizeof strport, "%d", port); in resolve_host()
274 if ((gaierr = getaddrinfo(name, strport, &hints, &res)) != 0) { in resolve_host()
307 char strport[NI_MAXSERV]; in is_addr() local
313 snprintf(strport, sizeof strport, "%u", default_ssh_port()); in is_addr()
319 if (getaddrinfo(name, strport, &hints, &res) != 0) in is_addr()
338 char addr[NI_MAXHOST], strport[NI_MAXSERV]; in resolve_addr() local
344 snprintf(strport, sizeof strport, "%u", port); in resolve_addr()
350 if ((gaierr = getaddrinfo(name, strport, &hints, &res)) != 0) { in resolve_addr()
H A Dssh-keyscan.c364 char strport[NI_MAXSERV]; in tcpconnect() local
367 snprintf(strport, sizeof strport, "%d", ssh_port); in tcpconnect()
371 if ((gaierr = getaddrinfo(host, strport, &hints, &aitop)) != 0) { in tcpconnect()
H A Dsshd.c773 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; in listen_on_addrs() local
782 ntop, sizeof(ntop), strport, sizeof(strport), in listen_on_addrs()
817 debug("Bind to port %s on %s.", strport, ntop); in listen_on_addrs()
822 strport, ntop, strerror(errno)); in listen_on_addrs()
832 ntop, strport, strerror(errno)); in listen_on_addrs()
834 ntop, strport, in listen_on_addrs()
H A Dservconf.c850 char strport[NI_MAXSERV]; in add_one_listen_addr() local
880 snprintf(strport, sizeof strport, "%d", port); in add_one_listen_addr()
881 if ((gaierr = getaddrinfo(addr, strport, &hints, &aitop)) != 0) in add_one_listen_addr()
H A Dconfigure.ac2551 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
2569 sizeof(ntop), strport, sizeof(strport),
2620 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
2638 sizeof(ntop), strport, sizeof(strport),
/freebsd/contrib/ntp/sntp/libevent/
H A Dhttp.c4360 char strport[NI_MAXSERV]; in name_from_addr() local
4365 ntop, sizeof(ntop), strport, sizeof(strport), in name_from_addr()
4380 ntop, sizeof(ntop), strport, sizeof(strport), in name_from_addr()
4387 *pport = mm_strdup(strport); in name_from_addr()
4435 char strport[NI_MAXSERV]; in make_addrinfo() local
4444 evutil_snprintf(strport, sizeof(strport), "%d", port); in make_addrinfo()
4445 if ((ai_result = evutil_getaddrinfo(address, strport, &hints, &ai)) in make_addrinfo()
/freebsd/contrib/libevent/
H A Dhttp.c4360 char strport[NI_MAXSERV]; in name_from_addr() local
4365 ntop, sizeof(ntop), strport, sizeof(strport), in name_from_addr()
4380 ntop, sizeof(ntop), strport, sizeof(strport), in name_from_addr()
4387 *pport = mm_strdup(strport); in name_from_addr()
4435 char strport[NI_MAXSERV]; in make_addrinfo() local
4444 evutil_snprintf(strport, sizeof(strport), "%d", port); in make_addrinfo()
4445 if ((ai_result = evutil_getaddrinfo(address, strport, &hints, &ai)) in make_addrinfo()
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dregress_http.c183 char strport[NI_MAXSERV]; in http_connect() local
192 evutil_snprintf(strport, sizeof(strport), "%d", port); in http_connect()
193 if (evutil_getaddrinfo(address, strport, &ai, &aitop) != 0) { in http_connect()
/freebsd/contrib/libevent/test/
H A Dregress_http.c183 char strport[NI_MAXSERV]; in http_connect() local
192 evutil_snprintf(strport, sizeof(strport), "%d", port); in http_connect()
193 if (evutil_getaddrinfo(address, strport, &ai, &aitop) != 0) { in http_connect()