Home
last modified time | relevance | path

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

/curl/lib/
H A Dsocks.c379 struct sockaddr_in *saddr_in; in do_SOCKS4() local
383 saddr_in = (struct sockaddr_in *)(void *)hp->ai_addr; in do_SOCKS4()
384 socksreq[4] = ((unsigned char *)&saddr_in->sin_addr.s_addr)[0]; in do_SOCKS4()
385 socksreq[5] = ((unsigned char *)&saddr_in->sin_addr.s_addr)[1]; in do_SOCKS4()
386 socksreq[6] = ((unsigned char *)&saddr_in->sin_addr.s_addr)[2]; in do_SOCKS4()
387 socksreq[7] = ((unsigned char *)&saddr_in->sin_addr.s_addr)[3]; in do_SOCKS4()
864 struct sockaddr_in *saddr_in; in do_SOCKS5() local
867 saddr_in = (struct sockaddr_in *)(void *)hp->ai_addr; in do_SOCKS5()
869 socksreq[len++] = ((unsigned char *)&saddr_in->sin_addr.s_addr)[i]; in do_SOCKS5()

Completed in 13 milliseconds