Lines Matching defs:str
103 static int host_ip(char *str, unsigned char ip[4]);
472 int extract_host_port(char *str, char **host_ptr, unsigned char *ip,
477 h=str;
478 p=strchr(str,':');
486 if ((ip != NULL) && !host_ip(str,ip))
497 static int host_ip(char *str, unsigned char ip[4])
502 if (sscanf(str,"%u.%u.%u.%u",&(in[0]),&(in[1]),&(in[2]),&(in[3])) == 4)
521 he=GetHostByName(str);
543 int extract_port(char *str, short *port_ptr)
548 i=atoi(str);
553 s=getservbyname(str,"tcp");
556 BIO_printf(bio_err,"getservbyname failure for %s\n",str);