Home | History | Annotate | Download | only in bio

Lines Matching defs:ip

115 static int get_ip(const char *str,unsigned char *ip);
120 int BIO_get_host_ip(const char *str, unsigned char *ip)
127 i=get_ip(str,ip);
139 /* If the string actually contained an IP address, we need not do
160 ip[i]=he->h_addr_list[0][i];
587 static int get_ip(const char *str, unsigned char ip[4])
615 ip[0]=tmp[0];
616 ip[1]=tmp[1];
617 ip[2]=tmp[2];
618 ip[3]=tmp[3];
633 unsigned char ip[4];
728 if (!BIO_get_host_ip(h,&(ip[0]))) goto err;
730 ((unsigned long)ip[0]<<24L)|
731 ((unsigned long)ip[1]<<16L)|
732 ((unsigned long)ip[2]<< 8L)|
733 ((unsigned long)ip[3]);