Home
last modified time | relevance | path

Searched refs:strport (Results 1 – 12 of 12) 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.c2824 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; local
2858 snprintf(strport, sizeof strport, "%d", fwd->listen_port);
2859 if ((r = getaddrinfo(addr, strport, &hints, &aitop)) != 0) {
2894 strport, sizeof(strport), NI_NUMERICHOST|NI_NUMERICSERV) != 0) {
2911 ntop, strport);
3632 char ntop[NI_MAXHOST], strport[MAX(NI_MAXSERV,sizeof(sunaddr->sun_path))]; local
3640 strlcpy(strport, sunaddr->sun_path, sizeof(strport));
3645 ntop, sizeof(ntop), strport, sizeof(strport),
3667 "%.100s", cctx->host, ntop, strport,
3677 "in progress, fd=%d", cctx->host, ntop, strport, sock);
[all …]
Dssh.c248 char strport[NI_MAXSERV]; in resolve_host() local
255 snprintf(strport, sizeof strport, "%u", port); in resolve_host()
262 if ((gaierr = getaddrinfo(name, strport, &hints, &res)) != 0) { in resolve_host()
289 char addr[NI_MAXHOST], strport[NI_MAXSERV]; in resolve_addr() local
295 snprintf(strport, sizeof strport, "%u", port); in resolve_addr()
301 if ((gaierr = getaddrinfo(name, strport, &hints, &res)) != 0) { in resolve_addr()
Dssh-keyscan.c320 char strport[NI_MAXSERV]; in tcpconnect() local
323 snprintf(strport, sizeof strport, "%d", ssh_port); in tcpconnect()
327 if ((gaierr = getaddrinfo(host, strport, &hints, &aitop)) != 0) { in tcpconnect()
Dsshd.c1161 char ntop[NI_MAXHOST], strport[NI_MAXSERV]; local
1170 ntop, sizeof(ntop), strport, sizeof(strport),
1200 debug("Bind to port %s on %s.", strport, ntop);
1205 strport, ntop, strerror(errno));
1215 ntop, strport, strerror(errno));
1216 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.ac2121 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
2139 sizeof(ntop), strport, sizeof(strport),
2189 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
2207 sizeof(ntop), strport, sizeof(strport),
Dconfigure20251 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
20269 sizeof(ntop), strport, sizeof(strport),
20372 char ntop[NI_MAXHOST], strport[NI_MAXSERV], *name = NULL;
20390 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/tcpdump/
Dconfigure.in422 char straddr[INET6_ADDRSTRLEN], strport[16];
438 straddr, sizeof(straddr), strport, sizeof(strport),
444 if (strcmp(strport, "54321") != 0) {
459 if (strcmp(strport, "54321") != 0) {
Dconfigure5138 char straddr[INET6_ADDRSTRLEN], strport[16];
5154 straddr, sizeof(straddr), strport, sizeof(strport),
5160 if (strcmp(strport, "54321") != 0) {
5175 if (strcmp(strport, "54321") != 0) {