/freebsd-9.3-release/contrib/ntp/libntp/ |
H A D | decodenetnum.c | 33 const char *port_str; local 44 port_str = NULL; 61 port_str = pp + 1; 70 port_str = &cp[2]; 82 if (NULL == port_str || 1 != sscanf(port_str, "%hu", &port))
|
/freebsd-9.3-release/crypto/heimdal/kdc/ |
H A D | kdc_locl.h | 50 extern const char *port_str;
|
H A D | config.c | 99 { "ports", 'P', arg_string, &port_str, 228 if(port_str == NULL){ 231 port_str = strdup(p); 289 if (port_str == NULL) 290 port_str = "+";
|
/freebsd-9.3-release/crypto/heimdal/appl/test/ |
H A D | common.c | 40 static char *port_str; variable 48 { "port", 'p', arg_string, &port_str, "port to listen to", "port" }, 88 if(port_str){ 89 struct servent *s = roken_getservbyname(port_str, "tcp"); 95 port = strtol (port_str, &ptr, 10); 96 if (port == 0 && ptr == port_str) 97 errx (1, "Bad port `%s'", port_str);
|
H A D | nt_gss_server.c | 50 static char *port_str; variable 55 { "port", 'p', arg_string, &port_str, "port to listen to", "port" }, 212 if(port_str){ 213 struct servent *s = roken_getservbyname(port_str, "tcp"); 219 port = strtol (port_str, &ptr, 10); 220 if (port == 0 && ptr == port_str) 221 errx (1, "Bad port `%s'", port_str);
|
H A D | http_client.c | 114 static char *port_str = "http"; variable 119 { "port", 'p', arg_string, &port_str, "port to connect to", "port" }, 200 s = do_connect(host, port_str);
|
/freebsd-9.3-release/crypto/heimdal/kadmin/ |
H A D | kadmind.c | 46 static char *port_str; variable 72 { "ports", 'p', arg_string, &port_str, 170 if(port_str == NULL) 174 debug_port = htons(atoi(port_str)); 178 parse_ports(context, port_str ? port_str : "+");
|
/freebsd-9.3-release/contrib/gdb/gdb/ |
H A D | ser-tcp.c | 60 char *port_str, hostname[100]; local 75 port_str = strchr (name, ':'); 77 if (!port_str) 80 tmp = min (port_str - name, (int) sizeof hostname - 1); 83 port = atoi (port_str + 1);
|
/freebsd-9.3-release/crypto/heimdal/appl/kf/ |
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) { 96 struct servent *s = roken_getservbyname(port_str, "tcp"); 102 port = strtol (port_str, &ptr, 10); 103 if (port == 0 && ptr == port_str) 104 errx (1, "Bad port `%s'", port_str);
|
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){ 81 struct servent *s = roken_getservbyname(port_str, "tcp"); 87 port = strtol (port_str, &ptr, 10); 88 if (port == 0 && ptr == port_str) 89 errx (1, "Bad port `%s'", port_str);
|
/freebsd-9.3-release/crypto/heimdal/lib/kadm5/ |
H A D | ipropd_slave.c | 45 const char *port_str) 56 if (port_str) { 58 port_str, "tcp", 64 port = strtol (port_str, &ptr, 10); 65 if (port == 0 && ptr == port_str) 66 krb5_errx (context, 1, "bad port `%s'", port_str); 433 static char *port_str; variable 443 { "port", 0, arg_string, &port_str, 542 master_fd = connect_to_master (context, master, port_str); 44 connect_to_master(krb5_context context, const char *master, const char *port_str) argument
|
H A D | ipropd_master.c | 72 make_listen_socket (krb5_context context, const char *port_str) argument 85 if (port_str) { 87 port_str, "tcp", 93 port = strtol (port_str, &ptr, 10); 94 if (port == 0 && ptr == port_str) 95 krb5_errx (context, 1, "bad port `%s'", port_str); 708 static char *port_str; variable 723 { "port", 0, arg_string, &port_str, 819 listen_fd = make_listen_socket (context, port_str);
|
/freebsd-9.3-release/contrib/gdb/gdb/gdbserver/ |
H A D | gdbreplay.c | 105 char *port_str; local 111 port_str = strchr (name, ':'); 113 port = atoi (port_str + 1);
|
H A D | remote-utils.c | 111 char *port_str; local 117 port_str = strchr (name, ':'); 119 port = atoi (port_str + 1);
|
/freebsd-9.3-release/crypto/heimdal/appl/push/ |
H A D | push.c | 46 static char *port_str; variable 71 { "port", 'p', arg_string, &port_str, "Use this port", 804 if (port_str) { 805 struct servent *s = roken_getservbyname (port_str, "tcp"); 812 port = strtol (port_str, &ptr, 10); 813 if (port == 0 && ptr == port_str) 814 errx (1, "Bad port `%s'", port_str);
|
/freebsd-9.3-release/crypto/heimdal/appl/rsh/ |
H A D | rsh.c | 69 static char *port_str; variable 862 { "port", 'p', arg_string, &port_str, "Use this port", 1050 if(port_str == NULL) { 1055 error = getaddrinfo(host, port_str, &hints, &ai); 1078 if(port_str == NULL) { 1089 error = getaddrinfo(host, port_str, &hints, &ai); 1104 if(port_str == NULL) { 1109 error = getaddrinfo(host, port_str, &hints, &ai);
|
H A D | rshd.c | 71 static char *port_str; variable 939 { "port", 'p', arg_string, &port_str, "Use this port", 1011 if(port_str != NULL) { 1012 error = getaddrinfo (NULL, port_str, &hints, &ai);
|
/freebsd-9.3-release/crypto/heimdal/kpasswd/ |
H A D | kpasswdd.c | 721 static char *port_str; variable 739 { "port", 'p', arg_string, &port_str, "port" }, 784 if (port_str != NULL) { 785 struct servent *s = roken_getservbyname (port_str, "udp"); 792 port = strtol (port_str, &ptr, 10); 793 if (port == 0 && ptr == port_str) 794 krb5_errx (context, 1, "bad port `%s'", port_str);
|
/freebsd-9.3-release/sys/netinet/libalias/ |
H A D | alias_smedia.c | 238 const char *port_str) 269 while (port_dlen > (int)strlen(port_str)) { 271 pos = search_string(port_data, port_dlen, port_str); 235 alias_rtsp_out(struct libalias *la, struct ip *pip, struct alias_link *lnk, char *data, const char *port_str) argument
|
/freebsd-9.3-release/usr.sbin/rpc.statd/ |
H A D | statd.c | 72 static void complete_service(struct netconfig *nconf, char *port_str); 513 complete_service(struct netconfig *nconf, char *port_str) argument 579 if ((aicode = getaddrinfo(NULL, port_str, &hints,
|
/freebsd-9.3-release/crypto/heimdal/appl/gssmask/ |
H A D | gssmask.c | 1001 static char *port_str; variable 1012 { "port", 'p', arg_string, &port_str, "Use this port", 1055 if (port_str) { 1058 port = strtol (port_str, &ptr, 10); 1059 if (port == 0 && ptr == port_str) 1060 errx (1, "Bad port `%s'", port_str);
|
/freebsd-9.3-release/usr.sbin/rpc.lockd/ |
H A D | lockd.c | 100 static void complete_service(struct netconfig *nconf, char *port_str); 695 complete_service(struct netconfig *nconf, char *port_str) argument 773 if ((aicode = getaddrinfo(NULL, port_str, &hints,
|
/freebsd-9.3-release/contrib/ofed/management/opensm/opensm/ |
H A D | osm_qos_parser_y.y | 1095 char * port_str; 1107 port_str = strrchr(tmp_str, '/'); 1108 if (!port_str || (strlen(port_str) < 3) || 1109 (port_str[1] != 'p' && port_str[1] != 'P')) { 1117 if (!(port_num = strtoul(&port_str[2],NULL,0))) { 1127 port_str[0] = '\0';
|
/freebsd-9.3-release/lib/libtacplus/ |
H A D | taclib.c | 844 char *port_str; local 891 port_str = strsep(&res, ":"); 892 if (port_str != NULL) { 893 port = strtoul(port_str, &end, 10); 894 if (port_str[0] == '\0' || *end != '\0') {
|
/freebsd-9.3-release/lib/libradius/ |
H A D | radlib.c | 467 char *port_str; local 541 port_str = strsep(&res, ":"); 542 if (port_str != NULL) { 543 port = strtoul(port_str, &end, 10);
|