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.c91 char *tmp, *ret, strport[NI_MAXSERV]; in expand_proxy_command() local
95 snprintf(strport, sizeof strport, "%d", port); in expand_proxy_command()
101 "p", strport, in expand_proxy_command()
453 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; in ssh_connect_direct() local
458 memset(strport, 0, sizeof(strport)); in ssh_connect_direct()
477 ntop, sizeof(ntop), strport, sizeof(strport), in ssh_connect_direct()
487 "wrong address family", ntop, strport); in ssh_connect_direct()
493 host, ntop, strport); in ssh_connect_direct()
512 ntop, strport, strerror(errno)); in ssh_connect_direct()
525 host, strport, errno == 0 ? "failure" : strerror(errno)); in ssh_connect_direct()
H A Dchannels.c3838 snprintf(strport, sizeof strport, "%d", fwd->listen_port); in channel_setup_fwd_listener_tcpip()
3875 strport, sizeof(strport), in channel_setup_fwd_listener_tcpip()
3894 ntop, strport); in channel_setup_fwd_listener_tcpip()
4610 strlcpy(strport, sunaddr->sun_path, sizeof(strport)); in connect_next()
4615 ntop, sizeof(ntop), strport, sizeof(strport), in connect_next()
4680 char strport[NI_MAXSERV]; in connect_to_helper() local
4711 snprintf(strport, sizeof strport, "%d", port); in connect_to_helper()
5022 char strport[NI_MAXSERV]; in x11_create_display_inet() local
5036 snprintf(strport, sizeof strport, "%d", port); in x11_create_display_inet()
5179 char strport[NI_MAXSERV]; in x11_connect_display() 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.c367 char strport[NI_MAXSERV]; in tcpconnect() local
370 snprintf(strport, sizeof strport, "%d", ssh_port); in tcpconnect()
374 if ((gaierr = getaddrinfo(host, strport, &hints, &aitop)) != 0) { in tcpconnect()
H A Dsshd.c1045 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; local
1054 ntop, sizeof(ntop), strport, sizeof(strport),
1089 debug("Bind to port %s on %s.", strport, ntop);
1094 strport, ntop, strerror(errno));
1104 ntop, strport, strerror(errno));
1106 ntop, strport,
H A Dservconf.c797 char strport[NI_MAXSERV]; in add_one_listen_addr() local
827 snprintf(strport, sizeof strport, "%d", port); in add_one_listen_addr()
828 if ((gaierr = getaddrinfo(addr, strport, &hints, &aitop)) != 0) in add_one_listen_addr()
H A Dconfigure.ac2546 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
2564 sizeof(ntop), strport, sizeof(strport),
2615 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
2633 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()