Home
last modified time | relevance | path

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

/curl/lib/
H A Dsocketpair.c135 struct sockaddr_in inaddr; in Curl_socketpair() member
139 curl_socklen_t addrlen = sizeof(a.inaddr); in Curl_socketpair()
151 a.inaddr.sin_family = AF_INET; in Curl_socketpair()
152 a.inaddr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in Curl_socketpair()
153 a.inaddr.sin_port = 0; in Curl_socketpair()
173 if(bind(listener, &a.addr, sizeof(a.inaddr)) == -1) in Curl_socketpair()
176 addrlen < (int)sizeof(a.inaddr)) in Curl_socketpair()
183 if(connect(socks[0], &a.addr, sizeof(a.inaddr)) == -1) in Curl_socketpair()
H A Dcurl_addrinfo.h80 Curl_ip2addr(int af, const void *inaddr, const char *hostname, int port);
H A Dcurl_addrinfo.c366 Curl_ip2addr(int af, const void *inaddr, const char *hostname, int port) in Curl_ip2addr() argument
376 DEBUGASSERT(inaddr && hostname); in Curl_ip2addr()
407 memcpy(&addr->sin_addr, inaddr, sizeof(struct in_addr)); in Curl_ip2addr()
420 memcpy(&addr6->sin6_addr, inaddr, sizeof(struct in6_addr)); in Curl_ip2addr()

Completed in 6 milliseconds