Home
last modified time | relevance | path

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

/external/openssh/
Dcanohost.c160 char strport[NI_MAXSERV]; in get_sock_port() local
188 strport, sizeof(strport), NI_NUMERICSERV)) != 0) in get_sock_port()
191 return atoi(strport); in get_sock_port()
Dsshconnect.c90 char *tmp, *ret, strport[NI_MAXSERV]; in expand_proxy_command() local
92 snprintf(strport, sizeof strport, "%d", port); in expand_proxy_command()
94 ret = percent_expand(tmp, "h", host, "p", strport, in expand_proxy_command()
432 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; in ssh_connect_direct() local
437 memset(strport, 0, sizeof(strport)); in ssh_connect_direct()
454 ntop, sizeof(ntop), strport, sizeof(strport), in ssh_connect_direct()
460 host, ntop, strport); in ssh_connect_direct()
475 ntop, strport, strerror(errno)); in ssh_connect_direct()
487 host, strport, strerror(errno)); in ssh_connect_direct()
Dchannels.c3190 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; local
3224 snprintf(strport, sizeof strport, "%d", fwd->listen_port);
3225 if ((r = getaddrinfo(addr, strport, &hints, &aitop)) != 0) {
3260 strport, sizeof(strport), NI_NUMERICHOST|NI_NUMERICSERV) != 0) {
3277 ntop, strport);
3964 char ntop[NI_MAXHOST], strport[MAXIMUM(NI_MAXSERV,sizeof(sunaddr->sun_path))]; local
3972 strlcpy(strport, sunaddr->sun_path, sizeof(strport));
3977 ntop, sizeof(ntop), strport, sizeof(strport),
3999 "%.100s", cctx->host, ntop, strport,
4009 "in progress, fd=%d", cctx->host, ntop, strport, sock);
[all …]
Dssh.c240 char strport[NI_MAXSERV]; in resolve_host() local
247 snprintf(strport, sizeof strport, "%d", port); in resolve_host()
254 if ((gaierr = getaddrinfo(name, strport, &hints, &res)) != 0) { in resolve_host()
281 char addr[NI_MAXHOST], strport[NI_MAXSERV]; in resolve_addr() local
287 snprintf(strport, sizeof strport, "%u", port); in resolve_addr()
293 if ((gaierr = getaddrinfo(name, strport, &hints, &res)) != 0) { in resolve_addr()
Dssh-keyscan.c363 char strport[NI_MAXSERV]; in tcpconnect() local
366 snprintf(strport, sizeof strport, "%d", ssh_port); in tcpconnect()
370 if ((gaierr = getaddrinfo(host, strport, &hints, &aitop)) != 0) { in tcpconnect()
Dsshd.c1022 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; local
1031 ntop, sizeof(ntop), strport, sizeof(strport),
1066 debug("Bind to port %s on %s.", strport, ntop);
1071 strport, ntop, strerror(errno));
1081 ntop, strport, strerror(errno));
1082 logit("Server listening on %s port %s.", ntop, strport);
Dservconf.c636 char strport[NI_MAXSERV]; in add_one_listen_addr() local
643 snprintf(strport, sizeof strport, "%d", port); in add_one_listen_addr()
644 if ((gaierr = getaddrinfo(addr, strport, &hints, &aitop)) != 0) in add_one_listen_addr()
Dconfigure.ac2213 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
2231 sizeof(ntop), strport, sizeof(strport),
2281 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
2299 sizeof(ntop), strport, sizeof(strport),
Dconfigure11953 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
11971 sizeof(ntop), strport, sizeof(strport),
12044 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
12062 sizeof(ntop), strport, sizeof(strport),
/external/libevent/
Dhttp.c3788 char strport[NI_MAXSERV]; in name_from_addr() local
3793 ntop, sizeof(ntop), strport, sizeof(strport), in name_from_addr()
3808 ntop, sizeof(ntop), strport, sizeof(strport), in name_from_addr()
3815 *pport = mm_strdup(strport); in name_from_addr()
3868 char strport[NI_MAXSERV]; in make_addrinfo() local
3877 evutil_snprintf(strport, sizeof(strport), "%d", port); in make_addrinfo()
3878 if ((ai_result = evutil_getaddrinfo(address, strport, &hints, &ai)) in make_addrinfo()
/external/python/cpython2/
Dconfigure.ac3429 char straddr[INET6_ADDRSTRLEN], strport[16];
3445 straddr, sizeof(straddr), strport, sizeof(strport),
3451 if (strcmp(strport, "54321") != 0) {
3466 if (strcmp(strport, "54321") != 0) {
Dconfigure11846 char straddr[INET6_ADDRSTRLEN], strport[16];
11862 straddr, sizeof(straddr), strport, sizeof(strport),
11868 if (strcmp(strport, "54321") != 0) {
11883 if (strcmp(strport, "54321") != 0) {