Lines Matching refs:serveraddr
1292 srvr_sockaddr_union_t serveraddr; in connect_to() local
1333 memset(&serveraddr.sa4, 0, sizeof(serveraddr.sa4)); in connect_to()
1334 serveraddr.sa4.sin_family = AF_INET; in connect_to()
1335 serveraddr.sa4.sin_port = htons(port); in connect_to()
1336 if(Curl_inet_pton(AF_INET, ipaddr, &serveraddr.sa4.sin_addr) < 1) { in connect_to()
1342 rc = connect(serverfd, &serveraddr.sa, sizeof(serveraddr.sa4)); in connect_to()
1346 memset(&serveraddr.sa6, 0, sizeof(serveraddr.sa6)); in connect_to()
1347 serveraddr.sa6.sin6_family = AF_INET6; in connect_to()
1348 serveraddr.sa6.sin6_port = htons(port); in connect_to()
1349 if(Curl_inet_pton(AF_INET6, ipaddr, &serveraddr.sa6.sin6_addr) < 1) { in connect_to()
1355 rc = connect(serverfd, &serveraddr.sa, sizeof(serveraddr.sa6)); in connect_to()