Lines Matching refs:sa4
1266 memset(&listener.sa4, 0, sizeof(listener.sa4)); in sockdaemon()
1267 listener.sa4.sin_family = AF_INET; in sockdaemon()
1268 listener.sa4.sin_addr.s_addr = INADDR_ANY; in sockdaemon()
1269 listener.sa4.sin_port = htons(*listenport); in sockdaemon()
1270 rc = bind(sock, &listener.sa, sizeof(listener.sa4)); in sockdaemon()
1297 la_size = sizeof(localaddr.sa4); in sockdaemon()
1312 *listenport = ntohs(localaddr.sa4.sin_port); in sockdaemon()
1502 memset(&me.sa4, 0, sizeof(me.sa4)); in main()
1503 me.sa4.sin_family = AF_INET; in main()
1504 me.sa4.sin_port = htons(connectport); in main()
1505 me.sa4.sin_addr.s_addr = INADDR_ANY; in main()
1508 Curl_inet_pton(AF_INET, addr, &me.sa4.sin_addr); in main()
1510 rc = connect(sock, &me.sa, sizeof(me.sa4)); in main()