Home
last modified time | relevance | path

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

/external/openssh/
Dcanohost.c376 char strport[NI_MAXSERV]; in get_sock_port() local
404 strport, sizeof(strport), NI_NUMERICSERV)) != 0) in get_sock_port()
407 return atoi(strport); in get_sock_port()
Dsshconnect.c91 char *tmp, *ret, strport[NI_MAXSERV]; in expand_proxy_command() local
93 snprintf(strport, sizeof strport, "%d", port); in expand_proxy_command()
95 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
452 ntop, sizeof(ntop), strport, sizeof(strport), in ssh_connect_direct()
458 host, ntop, strport); in ssh_connect_direct()
473 ntop, strport, strerror(errno)); in ssh_connect_direct()
485 host, strport, strerror(errno)); in ssh_connect_direct()
Dchannels.c2805 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; local
2835 snprintf(strport, sizeof strport, "%d", fwd->listen_port);
2836 if ((r = getaddrinfo(addr, strport, &hints, &aitop)) != 0) {
2871 strport, sizeof(strport), NI_NUMERICHOST|NI_NUMERICSERV) != 0) {
2888 ntop, strport);
3609 char ntop[NI_MAXHOST], strport[MAX(NI_MAXSERV,sizeof(sunaddr->sun_path))]; local
3617 strlcpy(strport, sunaddr->sun_path, sizeof(strport));
3622 ntop, sizeof(ntop), strport, sizeof(strport),
3644 "%.100s", cctx->host, ntop, strport,
3654 "in progress, fd=%d", cctx->host, ntop, strport, sock);
[all …]
Dssh.c247 char strport[NI_MAXSERV]; in resolve_host() local
254 snprintf(strport, sizeof strport, "%u", port); in resolve_host()
261 if ((gaierr = getaddrinfo(name, strport, &hints, &res)) != 0) { in resolve_host()
288 char addr[NI_MAXHOST], strport[NI_MAXSERV]; in resolve_addr() local
294 snprintf(strport, sizeof strport, "%u", port); in resolve_addr()
300 if ((gaierr = getaddrinfo(name, strport, &hints, &res)) != 0) { in resolve_addr()
Dssh-keyscan.c317 char strport[NI_MAXSERV]; in tcpconnect() local
320 snprintf(strport, sizeof strport, "%d", ssh_port); in tcpconnect()
324 if ((gaierr = getaddrinfo(host, strport, &hints, &aitop)) != 0) { in tcpconnect()
Dsshd.c1151 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; local
1160 ntop, sizeof(ntop), strport, sizeof(strport),
1190 debug("Bind to port %s on %s.", strport, ntop);
1195 strport, ntop, strerror(errno));
1205 ntop, strport, strerror(errno));
1206 logit("Server listening on %s port %s.", ntop, strport);
Dservconf.c613 char strport[NI_MAXSERV]; in add_one_listen_addr() local
620 snprintf(strport, sizeof strport, "%d", port); in add_one_listen_addr()
621 if ((gaierr = getaddrinfo(addr, strport, &hints, &aitop)) != 0) in add_one_listen_addr()
Dconfigure.ac2088 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
2106 sizeof(ntop), strport, sizeof(strport),
2156 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
2174 sizeof(ntop), strport, sizeof(strport),
Dconfigure20010 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
20028 sizeof(ntop), strport, sizeof(strport),
20131 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
20149 sizeof(ntop), strport, sizeof(strport),
/external/tcpdump/
Dconfigure.in394 char straddr[INET6_ADDRSTRLEN], strport[16];
410 straddr, sizeof(straddr), strport, sizeof(strport),
416 if (strcmp(strport, "54321") != 0) {
431 if (strcmp(strport, "54321") != 0) {
Dconfigure5109 char straddr[INET6_ADDRSTRLEN], strport[16];
5125 straddr, sizeof(straddr), strport, sizeof(strport),
5131 if (strcmp(strport, "54321") != 0) {
5146 if (strcmp(strport, "54321") != 0) {