Home
last modified time | relevance | path

Searched refs:cinaddr (Results 1 – 1 of 1) sorted by relevance

/curl/docs/examples/
H A Dblock_ip.c243 void *cinaddr = NULL; in opensocket() local
246 cinaddr = &((struct sockaddr_in *)(void *)&address->addr)->sin_addr; in opensocket()
249 cinaddr = &((struct sockaddr_in6 *)(void *)&address->addr)->sin6_addr; in opensocket()
252 if(cinaddr) { in opensocket()
257 is_ipv4_mapped_ipv6_address(address->family, cinaddr); in opensocket()
261 if(ip->family == address->family && ip_match(ip, cinaddr)) in opensocket()
265 ip_match(ip, (unsigned char *)cinaddr + 12)) in opensocket()
273 inet_ntop(address->family, cinaddr, buf, sizeof(buf)); in opensocket()
282 inet_ntop(address->family, cinaddr, buf, sizeof(buf)); in opensocket()

Completed in 6 milliseconds