Lines Matching defs:str
113 static int host_ip(char *str, unsigned char ip[4]);
480 int extract_host_port(char *str, char **host_ptr, unsigned char *ip,
485 h = str;
486 p = strchr(str, ':');
493 if ((ip != NULL) && !host_ip(str, ip))
505 static int host_ip(char *str, unsigned char ip[4])
510 if (sscanf(str, "%u.%u.%u.%u", &(in[0]), &(in[1]), &(in[2]), &(in[3])) ==
527 he = GetHostByName(str);
547 int extract_port(char *str, short *port_ptr)
552 i = atoi(str);
556 s = getservbyname(str, "tcp");
558 BIO_printf(bio_err, "getservbyname failure for %s\n", str);