/freebsd/crypto/heimdal/lib/roken/ |
H A D | getaddrinfo_hostspec.c | 47 char portstr[NI_MAXSERV]; in roken_getaddrinfo_hostspec2() local 89 snprintf (portstr, sizeof(portstr), "%u", port); in roken_getaddrinfo_hostspec2() 92 return getaddrinfo (host, portstr, &hints, ai); in roken_getaddrinfo_hostspec2()
|
H A D | mini_inetd.c | 180 char portstr[NI_MAXSERV]; in mini_inetd() local 187 snprintf (portstr, sizeof(portstr), "%d", ntohs(port)); in mini_inetd() 189 error = getaddrinfo (NULL, portstr, &hints, &ai); in mini_inetd()
|
/freebsd/crypto/heimdal/appl/test/ |
H A D | common.c | 145 char portstr[NI_MAXSERV]; in client_doit() local 151 snprintf (portstr, sizeof(portstr), "%u", ntohs(port)); in client_doit() 153 error = getaddrinfo (hostname, portstr, &hints, &ai); in client_doit()
|
/freebsd/crypto/heimdal/kadmin/ |
H A D | kadm_conn.c | 241 char portstr[32]; in start_server() local 248 snprintf(portstr, sizeof(portstr), "%u", p->def_port); in start_server() 249 e = getaddrinfo(NULL, portstr, &hints, &ai); in start_server() 254 "%s", portstr); in start_server()
|
/freebsd/tools/tools/kttcp/ |
H A D | kttcp.c | 109 char *portstr; in main() local 122 portstr = KTTCP_PORT; in main() 152 portstr = optarg; in main() 200 error = getaddrinfo(host, portstr, &hints, &addr); in main() 238 printf("kttcp: listening on port %s\n", portstr); in main()
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | krbhst.c | 334 char portstr[7] = ""; in krb5_krbhst_format_string() local 340 snprintf(portstr, sizeof(portstr), ":%d", host->port); in krb5_krbhst_format_string() 341 snprintf(hostname, hostlen, "%s%s%s", proto, host->hostname, portstr); in krb5_krbhst_format_string() 383 char portstr[NI_MAXSERV]; in krb5_krbhst_get_addrinfo() local 386 snprintf (portstr, sizeof(portstr), "%d", host->port); in krb5_krbhst_get_addrinfo() 396 ret = getaddrinfo(host->hostname, portstr, &hints, &host->ai); in krb5_krbhst_get_addrinfo() 414 ret = getaddrinfo(hostname, portstr, &hints, &host->ai); in krb5_krbhst_get_addrinfo() 499 char portstr[NI_MAXSERV]; in fallback_get_hosts() local 523 snprintf(portstr, sizeof(portstr), "%d", port); in fallback_get_hosts() 524 ret = getaddrinfo(host, portstr, &hints, &ai); in fallback_get_hosts()
|
H A D | send_to_kdc.c | 270 char portstr[NI_MAXSERV]; in send_via_proxy() local 283 snprintf (portstr, sizeof(portstr), "%d", in send_via_proxy() 285 ret = getaddrinfo (proxy, portstr, &hints, &ai); in send_via_proxy()
|
/freebsd/crypto/openssh/ |
H A D | sshconnect.h | 40 char *portstr; member 61 "p", conn_info->portstr, \
|
H A D | readconf.h | 236 const char *portstr, const char *user, const char *jump_host);
|
H A D | readconf.c | 354 ssh_connection_hash(const char *thishost, const char *host, const char *portstr, in ssh_connection_hash() argument 363 ssh_digest_update(md, portstr, strlen(portstr)) < 0 || in ssh_connection_hash() 659 char thishost[NI_MAXHOST], shorthost[NI_MAXHOST], portstr[NI_MAXSERV]; in match_cfg_line() local 776 snprintf(portstr, sizeof(portstr), "%d", port); in match_cfg_line() 780 portstr, ruser, jmphost); in match_cfg_line() 792 "p", portstr, in match_cfg_line()
|
H A D | ssh.c | 620 free(cinfo->portstr); in ssh_conn_info_free() 1426 xasprintf(&cinfo->portstr, "%d", options.port); in main() 1439 cinfo->remhost, cinfo->portstr, cinfo->remuser, cinfo->jmphost); in main()
|
/freebsd/crypto/heimdal/appl/rsh/ |
H A D | rshd.c | 920 char portstr[NI_MAXSERV]; in main() local 938 snprintf(portstr, sizeof(portstr), "%d", 545); in main() 939 error = getaddrinfo(NULL, portstr, &hints, &ai); in main() 946 snprintf(portstr, sizeof(portstr), "%d", 544); in main() 947 error = getaddrinfo(NULL, portstr, &hints, &ai); in main() 957 snprintf(portstr, sizeof(portstr), "%d", 514); in main() 958 error = getaddrinfo(NULL, portstr, &hints, &ai); in main()
|
/freebsd/crypto/heimdal/appl/kf/ |
H A D | kf.c | 290 char portstr[NI_MAXSERV]; in doit() local 296 snprintf (portstr, sizeof(portstr), "%u", ntohs(port)); in doit() 298 error = getaddrinfo (hostname, portstr, &hints, &ai); in doit()
|
/freebsd/lib/libc/tests/resolv/ |
H A D | resolv_test.c | 102 char portstr[6], hbuf[NI_MAXHOST], pbuf[NI_MAXSERV]; in resolv_getaddrinfo() local 106 snprintf(portstr, sizeof(portstr), "%d", port); in resolv_getaddrinfo() 111 error = getaddrinfo(host, portstr, &hints, &res); in resolv_getaddrinfo()
|
/freebsd/sbin/hastd/ |
H A D | proto_tcp.c | 101 char iporhost[MAXHOSTNAMELEN], portstr[6]; in tcp_addr() local 156 (void)snprintf(portstr, sizeof(portstr), "%jd", (intmax_t)port); in tcp_addr() 174 error = getaddrinfo(iporhost, portstr, &hints, &res); in tcp_addr() 177 portstr, gai_strerror(error)); in tcp_addr()
|
/freebsd/crypto/heimdal/kdc/ |
H A D | hprop.c | 289 char *port, portstr[NI_MAXSERV]; in propagate_database() local 294 snprintf(portstr, sizeof(portstr), "%u", in propagate_database() 297 port = portstr; in propagate_database()
|
/freebsd/contrib/openbsm/bin/auditdistd/ |
H A D | proto_tcp.c | 107 char iporhost[MAXHOSTNAMELEN], portstr[6]; in tcp_addr() local 162 (void)snprintf(portstr, sizeof(portstr), "%jd", (intmax_t)port); in tcp_addr() 180 error = getaddrinfo(iporhost, portstr, &hints, &res); in tcp_addr() 183 portstr, gai_strerror(error)); in tcp_addr()
|
/freebsd/crypto/heimdal/appl/push/ |
H A D | push.c | 101 char portstr[NI_MAXSERV]; in do_connect() local 107 snprintf (portstr, sizeof(portstr), "%u", ntohs(port)); in do_connect() 109 error = getaddrinfo (hostname, portstr, &hints, &ai); in do_connect()
|
/freebsd/crypto/heimdal/lib/kadm5/ |
H A D | init_c.c | 415 char portstr[NI_MAXSERV]; in kadm_connect() local 424 snprintf (portstr, sizeof(portstr), "%u", ntohs(ctx->kadmind_port)); in kadm_connect() 431 error = getaddrinfo (hostname, portstr, &hints, &ai); in kadm_connect()
|
/freebsd/sbin/setkey/ |
H A D | parse.y | 132 %type <val> PL_REQUESTS portstr key_string 560 : SPDADD ipaddropts STRING prefix portstr STRING prefix portstr upper_spec upper_misc_spec policy_spec spd_hwif EOT 602 : SPDDELETE ipaddropts STRING prefix portstr STRING prefix portstr upper_spec upper_misc_spec policy_spec EOT 713 portstr
|
/freebsd/crypto/heimdal/appl/ftp/ftp/ |
H A D | ftp.c | 62 char portstr[NI_MAXSERV]; in hookup() local 71 snprintf (portstr, sizeof(portstr), "%u", ntohs(port)); in hookup() 73 error = getaddrinfo (host, portstr, &hints, &ai); in hookup()
|
/freebsd/crypto/heimdal/appl/telnet/telnet/ |
H A D | commands.c | 2159 char portstr[NI_MAXSERV]; in tn() local 2166 snprintf (portstr, sizeof(portstr), "%u", ntohs(port)); in tn() 2168 error = getaddrinfo (hostname, portstr, &hints, &ai); in tn()
|
/freebsd/contrib/unbound/services/ |
H A D | rpz.c | 1635 char ip[128], txt[512], portstr[32]; in log_rpz_apply() local 1659 snprintf(portstr, sizeof(portstr), "@%u", (unsigned)port); in log_rpz_apply() 1665 (ip[0]?ip:""), (ip[0]?portstr:"")); in log_rpz_apply()
|