/freebsd/crypto/heimdal/appl/test/ |
H A D | common.c | 40 static char *port_str; variable 49 { "port", 'p', arg_string, &port_str, "port to listen to", "port" }, 90 if(port_str){ in common_setup() 91 struct servent *s = roken_getservbyname(port_str, "tcp"); in common_setup() 97 port = strtol (port_str, &ptr, 10); in common_setup() 98 if (port == 0 && ptr == port_str) in common_setup() 99 errx (1, "Bad port `%s'", port_str); in common_setup()
|
H A D | nt_gss_server.c | 52 static char *port_str; variable 57 { "port", 'p', arg_string, &port_str, "port to listen to", "port" }, 209 if(port_str){ in common_setup() 210 struct servent *s = roken_getservbyname(port_str, "tcp"); in common_setup() 216 port = strtol (port_str, &ptr, 10); in common_setup() 217 if (port == 0 && ptr == port_str) in common_setup() 218 errx (1, "Bad port `%s'", port_str); in common_setup()
|
H A D | http_client.c | 116 static char *port_str = "http"; variable 121 { "port", 'p', arg_string, &port_str, "port to connect to", "port" }, 202 s = do_connect(host, port_str); in http_query()
|
/freebsd/crypto/heimdal/kadmin/ |
H A D | kadmind.c | 45 static char *port_str; variable 71 { "ports", 'p', arg_string, &port_str, 170 if(port_str == NULL) in main() 174 debug_port = htons(atoi(port_str)); in main() 179 start_server(context, port_str); in main() 193 start_server(context, port_str); in main()
|
H A D | kadm_conn.c | 225 start_server(krb5_context contextp, const char *port_str) in start_server() argument 234 if (port_str == NULL) in start_server() 235 port_str = "+"; in start_server() 237 parse_ports(contextp, port_str); in start_server()
|
/freebsd/crypto/heimdal/appl/kf/ |
H A D | kfd.c | 42 static char *port_str; variable 48 { "port", 'p', arg_string, &port_str, "port to listen to", "port" }, 80 if(port_str){ in server_setup() 81 struct servent *s = roken_getservbyname(port_str, "tcp"); in server_setup() 87 port = strtol (port_str, &ptr, 10); in server_setup() 88 if (port == 0 && ptr == port_str) in server_setup() 89 errx (1, "Bad port `%s'", port_str); in server_setup()
|
H A D | kf.c | 40 static char *port_str; variable 47 { "port", 'p', arg_string, &port_str, "port to connect to", "port" }, 95 if(port_str) { in client_setup() 96 struct servent *s = roken_getservbyname(port_str, "tcp"); in client_setup() 102 port = strtol (port_str, &ptr, 10); in client_setup() 103 if (port == 0 && ptr == port_str) in client_setup() 104 errx (1, "Bad port `%s'", port_str); in client_setup()
|
/freebsd/crypto/heimdal/kdc/ |
H A D | config.c | 79 { "ports", 'P', arg_string, rk_UNCONST(&port_str), 216 if(port_str == NULL){ in configure() 219 port_str = strdup(p); in configure() 269 if (port_str == NULL) in configure() 270 port_str = "+"; in configure()
|
H A D | kdc_locl.h | 52 extern const char *port_str;
|
/freebsd/crypto/heimdal/lib/kadm5/ |
H A D | ipropd_master.c | 85 make_listen_socket (krb5_context context, const char *port_str) in make_listen_socket() argument 98 if (port_str) { in make_listen_socket() 100 port_str, "tcp", in make_listen_socket() 106 port = strtol (port_str, &ptr, 10); in make_listen_socket() 107 if (port == 0 && ptr == port_str) in make_listen_socket() 108 krb5_errx (context, 1, "bad port `%s'", port_str); in make_listen_socket() 123 make_listen6_socket (krb5_context context, const char *port_str) in make_listen6_socket() argument 136 if (port_str) { in make_listen6_socket() 138 port_str, "tcp", in make_listen6_socket() 144 port = strtol (port_str, &ptr, 10); in make_listen6_socket() [all …]
|
H A D | ipropd_slave.c | 48 const char *port_str) in connect_to_master() argument 59 if (port_str == NULL) { in connect_to_master() 61 port_str = port; in connect_to_master() 64 error = getaddrinfo (master, port_str, &hints, &ai); in connect_to_master() 458 static char *port_str; variable 470 { "port", 0, arg_string, &port_str, 623 master_fd = connect_to_master (context, master, port_str); in main()
|
/freebsd/crypto/heimdal/appl/push/ |
H A D | push.c | 49 static char *port_str; variable 70 { "port", 'p', arg_string, &port_str, "Use this port", 754 if (port_str) { in main() 755 struct servent *s = roken_getservbyname (port_str, "tcp"); in main() 762 port = strtol (port_str, &ptr, 10); in main() 763 if (port == 0 && ptr == port_str) in main() 764 errx (1, "Bad port `%s'", port_str); in main()
|
/freebsd/crypto/heimdal/kpasswd/ |
H A D | kpasswdd.c | 764 static char *port_str; variable 782 { "port", 'p', arg_string, &port_str, "port", NULL }, 826 if (port_str != NULL) { in main() 827 struct servent *s = roken_getservbyname (port_str, "udp"); in main() 834 port = strtol (port_str, &ptr, 10); in main() 835 if (port == 0 && ptr == port_str) in main() 836 krb5_errx (context, 1, "bad port `%s'", port_str); in main()
|
/freebsd/crypto/heimdal/appl/rsh/ |
H A D | rsh.c | 62 static char *port_str; variable 807 { "port", 'p', arg_string, &port_str, "Use this port", 985 if(port_str == NULL) { in main() 990 error = getaddrinfo(host, port_str, &hints, &ai); in main() 1012 if(port_str == NULL) { in main() 1017 error = getaddrinfo(host, port_str, &hints, &ai); in main()
|
H A D | rshd.c | 66 static char *port_str; variable 855 { "port", 'p', arg_string, &port_str, "Use this port", 927 if(port_str != NULL) { in main() 928 error = getaddrinfo (NULL, port_str, &hints, &ai); in main()
|
/freebsd/sys/netinet/libalias/ |
H A D | alias_smedia.c | 234 const char *port_str) in alias_rtsp_out() argument 265 while (port_dlen > (int)strlen(port_str)) { in alias_rtsp_out() 267 pos = search_string(port_data, port_dlen, port_str); in alias_rtsp_out()
|
/freebsd/usr.bin/ctlstat/ |
H A D | ctlstat.c | 552 char *port_str = NULL; in ctlstat_prometheus() local 561 port_str = (char *)realloc(port_str, port_len); in ctlstat_prometheus() 565 list.lun_xml = port_str; in ctlstat_prometheus() 583 retval = XML_Parse(parser, port_str, strlen(port_str), 1); in ctlstat_prometheus()
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | ctrl_iface_udp.c | 398 char port_str[40]; local 467 os_snprintf(port_str, sizeof(port_str), "udp:%d", port); 469 wpa_s->conf->ctrl_interface = os_strdup(port_str);
|
/freebsd/usr.sbin/rpc.statd/ |
H A D | statd.c | 72 static void complete_service(struct netconfig *nconf, char *port_str); 522 complete_service(struct netconfig *nconf, char *port_str) in complete_service() argument 588 if ((aicode = getaddrinfo(NULL, port_str, &hints, in complete_service()
|
/freebsd/crypto/heimdal/appl/gssmask/ |
H A D | gssmask.c | 1166 static char *port_str; variable 1177 { "port", 'p', arg_string, &port_str, "Use this port", 1220 if (port_str) { in main() 1223 port = strtol (port_str, &ptr, 10); in main() 1224 if (port == 0 && ptr == port_str) in main() 1225 errx (1, "Bad port `%s'", port_str); in main()
|
/freebsd/usr.sbin/rpc.lockd/ |
H A D | lockd.c | 101 static void complete_service(struct netconfig *nconf, char *port_str); 723 complete_service(struct netconfig *nconf, char *port_str) in complete_service() argument 801 if ((aicode = getaddrinfo(NULL, port_str, &hints, in complete_service()
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_qos_parser_y.y | 1192 char * port_str; variable 1204 port_str = strrchr(tmp_str, '/'); 1205 if (!port_str || (strlen(port_str) < 3) || 1206 (port_str[1] != 'p' && port_str[1] != 'P')) { 1214 if (!(port_num = strtoul(&port_str[2],NULL,0))) { 1224 port_str[0] = '\0';
|
/freebsd/lib/libtacplus/ |
H A D | taclib.c | 814 char *port_str; in tac_config() local 839 port_str = strsep(&res, ":"); in tac_config() 840 if (port_str != NULL) { in tac_config() 841 port = strtoul(port_str, &end, 10); in tac_config() 842 if (port_str[0] == '\0' || *end != '\0') { in tac_config()
|
/freebsd/lib/libradius/ |
H A D | radlib.c | 522 char *port_str; in rad_config() local 602 port_str = strsep(&res, ":"); in rad_config() 603 if (port_str != NULL) { in rad_config() 604 port = strtoul(port_str, &end, 10); in rad_config()
|
/freebsd/usr.sbin/ctladm/ |
H A D | ctladm.c | 3677 char *port_str = NULL; in cctl_portlist() 3720 port_str = (char *)realloc(port_str, port_len); in cctl_portlist() 3725 list.lun_xml = port_str; in cctl_portlist() 3742 printf("%s", port_str); in cctl_portlist() 3757 retval = XML_Parse(parser, port_str, strlen(port_str), 1); in cctl_portlist() 3812 free(port_str); in cctl_portlist() 3678 char *port_str = NULL; cctl_portlist() local
|