Home
last modified time | relevance | path

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

/freebsd/crypto/openssh/
H A Dcanohost.c162 char strport[NI_MAXSERV]; in get_sock_port() local
192 strport, sizeof(strport), NI_NUMERICSERV)) != 0) in get_sock_port()
195 return atoi(strport); in get_sock_port()
H A Dsshconnect.c78 char *tmp, *ret, strport[NI_MAXSERV]; in expand_proxy_command() local
82 snprintf(strport, sizeof strport, "%d", port); in expand_proxy_command()
88 "p", strport, in expand_proxy_command()
440 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; in ssh_connect_direct() local
445 memset(strport, 0, sizeof(strport)); in ssh_connect_direct()
466 ntop, sizeof(ntop), strport, sizeof(strport), in ssh_connect_direct()
476 "unsupported address family", ntop, strport); in ssh_connect_direct()
483 "wrong address family", ntop, strport); in ssh_connect_direct()
489 host, ntop, strport); in ssh_connect_direct()
508 ntop, strport, strerror(errno)); in ssh_connect_direct()
[all …]
H A Dchannels.c3879 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; in channel_setup_fwd_listener_tcpip() local
3913 snprintf(strport, sizeof strport, "%d", fwd->listen_port); in channel_setup_fwd_listener_tcpip()
3914 if ((r = getaddrinfo(addr, strport, &hints, &aitop)) != 0) { in channel_setup_fwd_listener_tcpip()
3950 strport, sizeof(strport), in channel_setup_fwd_listener_tcpip()
3959 verbose("socket [%s]:%s: %.100s", ntop, strport, in channel_setup_fwd_listener_tcpip()
3969 ntop, strport); in channel_setup_fwd_listener_tcpip()
3979 ntop, strport, strerror(errno)); in channel_setup_fwd_listener_tcpip()
3982 ntop, strport, strerror(errno)); in channel_setup_fwd_listener_tcpip()
3989 error("listen [%s]:%s: %.100s", ntop, strport, in channel_setup_fwd_listener_tcpip()
4667 char strport[MAXIMUM(NI_MAXSERV, sizeof(sunaddr->sun_path))]; in connect_next() local
[all …]
H A Dssh.c243 char strport[NI_MAXSERV]; in resolve_host() local
255 snprintf(strport, sizeof strport, "%d", port); in resolve_host()
262 if ((gaierr = getaddrinfo(name, strport, &hints, &res)) != 0) { in resolve_host()
295 char strport[NI_MAXSERV]; in is_addr() local
301 snprintf(strport, sizeof strport, "%u", default_ssh_port()); in is_addr()
307 if (getaddrinfo(name, strport, &hints, &res) != 0) in is_addr()
326 char addr[NI_MAXHOST], strport[NI_MAXSERV]; in resolve_addr() local
332 snprintf(strport, sizeof strport, "%u", port); in resolve_addr()
338 if ((gaierr = getaddrinfo(name, strport, &hints, &res)) != 0) { in resolve_addr()
H A Dssh-keyscan.c351 char strport[NI_MAXSERV]; in tcpconnect() local
354 snprintf(strport, sizeof strport, "%d", ssh_port); in tcpconnect()
358 if ((gaierr = getaddrinfo(host, strport, &hints, &aitop)) != 0) { in tcpconnect()
H A Dsshd.c833 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; in listen_on_addrs() local
842 ntop, sizeof(ntop), strport, sizeof(strport), in listen_on_addrs()
877 debug("Bind to port %s on %s.", strport, ntop); in listen_on_addrs()
882 strport, ntop, strerror(errno)); in listen_on_addrs()
892 ntop, strport, strerror(errno)); in listen_on_addrs()
894 ntop, strport, in listen_on_addrs()
H A Dservconf.c853 char strport[NI_MAXSERV]; in add_one_listen_addr() local
883 snprintf(strport, sizeof strport, "%d", port); in add_one_listen_addr()
884 if ((gaierr = getaddrinfo(addr, strport, &hints, &aitop)) != 0) in add_one_listen_addr()
H A Dconfigure.ac2777 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
2795 sizeof(ntop), strport, sizeof(strport),
2846 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
2864 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()