Home
last modified time | relevance | path

Searched refs:bindport (Results 1 – 14 of 14) sorted by relevance

/netbsd-src/crypto/external/bsd/openssl.old/dist/apps/
H A Ds_socket.c63 const char *bindhost, const char *bindport, in init_client() argument
83 if (bindhost != NULL || bindport != NULL) { in init_client()
84 ret = BIO_lookup_ex(bindhost, bindport, BIO_LOOKUP_CLIENT, in init_client()
167 bindport != NULL ? ":" : "", in init_client()
168 bindport != NULL ? bindport : ""); in init_client()
H A Ds_apps.h32 const char *bindhost, const char *bindport,
H A Ds_client.c905 char *bindhost = NULL, *bindport = NULL; in s_client_main() local
1621 res = BIO_parse_hostserv(bindstr, &bindhost, &bindport, in s_client_main()
2062 if (init_client(&s, host, port, bindhost, bindport, socket_family, in s_client_main()
3166 OPENSSL_free(bindport); in s_client_main()
/netbsd-src/crypto/external/bsd/openssl/dist/apps/lib/
H A Ds_socket.c78 const char *bindhost, const char *bindport, in init_client() argument
98 if (bindhost != NULL || bindport != NULL) { in init_client()
99 ret = BIO_lookup_ex(bindhost, bindport, BIO_LOOKUP_CLIENT, in init_client()
184 bindport != NULL ? ":" : "", in init_client()
185 bindport != NULL ? bindport : ""); in init_client()
/netbsd-src/external/bsd/unbound/dist/testcode/
H A Ddelayer.c958 service(const char* bind_str, int bindport, const char* serv_str, argument
1005 if(bindport == 0) {
1006 bindport = 1024 + ((int)arc4random())%64000;
1010 if(!ipstrtoaddr(bind_str, bindport, &bind_addr, &bind_len)) {
1018 bindport = 1024 + ((int)arc4random())%64000;
1043 printf("listening on port: %d\n", bindport);
1069 int bindport = 0; local
1103 bindport = atoi(optarg);
1117 bindto, bindport, server, delay);
1118 service(bindto, bindport, server, memsize, delay);
/netbsd-src/dist/pf/libexec/tftp-proxy/
H A Dtftp-proxy.c99 in_port_t bindport; in main() local
167 bindport = ((struct sockaddr_in *)&s_in)->sin_port; in main()
248 ((struct sockaddr_in *)&proxy)->sin_port = bindport; in main()
/netbsd-src/libexec/httpd/
H A Ddaemon-bozo.c138 portnum = (httpd->bindport) ? httpd->bindport : "http"; in bozo_daemon_init()
H A Dssl-bozo.c370 if (!httpd->bindport) in bozo_ssl_set_opts()
371 httpd->bindport = bozostrdup(httpd, NULL, BOZO_HTTPS_PORT); in bozo_ssl_set_opts()
H A Dbozohttpd.c673 if (httpd->bindport) { in bozo_read_request()
674 if (strcmp(httpd->bindport, BOZO_HTTP_PORT) != 0) in bozo_read_request()
675 port = httpd->bindport; in bozo_read_request()
2593 httpd->bindport = bozostrdup(httpd, NULL, portnum); in bozo_setup()
2736 free(httpd->bindport); in bozo_cleanup()
H A Dbozohttpd.h112 char *bindport; /* bind port; default "http" */ member
/netbsd-src/crypto/external/bsd/openssl/dist/apps/include/
H A Ds_apps.h34 const char *bindhost, const char *bindport,
/netbsd-src/usr.sbin/syslogd/
H A Dsyslogd.h402 char *bindport; /* port/service to bind to */ member
H A Dsyslogd.c3086 FREEPTR(tls_opt.bindport); in store_sign_delim_sg2()
3192 {"tls_bindport", &tls_opt.bindport}, in read_config_file()
3682 tls_opt.bindhost, tls_opt.bindport, in init()
3740 socksetup_tls(PF_UNSPEC, tls_opt.bindhost, tls_opt.bindport); in cfline()
/netbsd-src/crypto/external/bsd/openssl/dist/apps/
H A Ds_client.c808 char *bindhost = NULL, *bindport = NULL; in s_client_main() local
1567 res = BIO_parse_hostserv(bindstr, &bindhost, &bindport, in s_client_main()
2017 if (init_client(&sock, host, port, bindhost, bindport, socket_family, in s_client_main()
3108 OPENSSL_free(bindport); in s_client_main()