Lines Matching defs:serveraddr
1287 srvr_sockaddr_union_t serveraddr;
1328 memset(&serveraddr.sa4, 0, sizeof(serveraddr.sa4));
1329 serveraddr.sa4.sin_family = AF_INET;
1330 serveraddr.sa4.sin_port = htons(port);
1331 if(Curl_inet_pton(AF_INET, ipaddr, &serveraddr.sa4.sin_addr) < 1) {
1337 rc = connect(serverfd, &serveraddr.sa, sizeof(serveraddr.sa4));
1341 memset(&serveraddr.sa6, 0, sizeof(serveraddr.sa6));
1342 serveraddr.sa6.sin6_family = AF_INET6;
1343 serveraddr.sa6.sin6_port = htons(port);
1344 if(Curl_inet_pton(AF_INET6, ipaddr, &serveraddr.sa6.sin6_addr) < 1) {
1350 rc = connect(serverfd, &serveraddr.sa, sizeof(serveraddr.sa6));