Lines Matching refs:sa4
291 memset(&me.sa4, 0, sizeof(me.sa4)); in socksconnect()
292 me.sa4.sin_family = AF_INET; in socksconnect()
293 me.sa4.sin_port = htons(connectport); in socksconnect()
294 me.sa4.sin_addr.s_addr = INADDR_ANY; in socksconnect()
295 Curl_inet_pton(AF_INET, connectaddr, &me.sa4.sin_addr); in socksconnect()
297 rc = connect(sock, &me.sa, sizeof(me.sa4)); in socksconnect()
859 memset(&listener.sa4, 0, sizeof(listener.sa4)); in sockdaemon()
860 listener.sa4.sin_family = AF_INET; in sockdaemon()
861 listener.sa4.sin_addr.s_addr = INADDR_ANY; in sockdaemon()
862 listener.sa4.sin_port = htons(*listenport); in sockdaemon()
863 rc = bind(sock, &listener.sa, sizeof(listener.sa4)); in sockdaemon()
908 la_size = sizeof(localaddr.sa4); in sockdaemon()
919 *listenport = ntohs(localaddr.sa4.sin_port); in sockdaemon()