Searched refs:saddr_in (Results 1 – 2 of 2) sorted by relevance
178 struct sockaddr_in *saddr_in; in Curl_SOCKS4() local180 saddr_in = (struct sockaddr_in *)(void *)hp->ai_addr; in Curl_SOCKS4()181 socksreq[4] = ((unsigned char *)&saddr_in->sin_addr.s_addr)[0]; in Curl_SOCKS4()182 socksreq[5] = ((unsigned char *)&saddr_in->sin_addr.s_addr)[1]; in Curl_SOCKS4()183 socksreq[6] = ((unsigned char *)&saddr_in->sin_addr.s_addr)[2]; in Curl_SOCKS4()184 socksreq[7] = ((unsigned char *)&saddr_in->sin_addr.s_addr)[3]; in Curl_SOCKS4()624 struct sockaddr_in *saddr_in; in Curl_SOCKS5() local627 saddr_in = (struct sockaddr_in *)(void *)hp->ai_addr; in Curl_SOCKS5()629 socksreq[len++] = ((unsigned char *)&saddr_in->sin_addr.s_addr)[i]; in Curl_SOCKS5()
4402 struct sockaddr_in *saddr_in; local4407 saddr_in = (struct sockaddr_in *)&saddr_storage;4421 saddr_in->sin_port = IPSEC_PORT_ANY;4422 memcpy(&saddr_in->sin_addr,4519 saddr_in->sin_port = IPSEC_PORT_ANY;4520 memcpy(&saddr_in->sin_addr,