/external/compiler-rt/test/asan/TestCases/Linux/ |
recvfrom.cc | 35 struct sockaddr_in serveraddr; local 36 socklen_t addrlen = sizeof(serveraddr); 38 int succeeded = getsockname(sockfd, (struct sockaddr *)&serveraddr, &addrlen); 41 succeeded = sendto(sockfd, buf, kBufSize, 0, (struct sockaddr *)&serveraddr, 42 sizeof(serveraddr)); 56 struct sockaddr_in serveraddr; 61 memset(&serveraddr, 0, sizeof(serveraddr)); 62 serveraddr.sin_family = AF_INET; 63 serveraddr.sin_addr.s_addr = htonl(INADDR_ANY) [all...] |
/external/compiler-rt/test/msan/Linux/ |
sendmsg.cc | 35 struct sockaddr_in serveraddr; local 39 memset(&serveraddr, 0, sizeof(serveraddr)); 40 serveraddr.sin_family = AF_INET; 41 serveraddr.sin_addr.s_addr = htonl(INADDR_ANY); 42 serveraddr.sin_port = 0; 44 bind(sockfd, (struct sockaddr *)&serveraddr, sizeof(serveraddr)); 45 socklen_t addrlen = sizeof(serveraddr); 46 getsockname(sockfd, (struct sockaddr *)&serveraddr, &addrlen) [all...] |
cmsghdr.cc | 31 struct sockaddr_un serveraddr; local
|
/external/dnsmasq/src/ |
forward.c | 476 union mysockaddr serveraddr; local 478 socklen_t addrlen = sizeof(serveraddr); 479 ssize_t n = recvfrom(fd, daemon->packet, daemon->edns_pktsz, 0, &serveraddr.sa, &addrlen); 487 serveraddr.sa.sa_family = family; 489 if (serveraddr.sa.sa_family == AF_INET6) 490 serveraddr.in6.sin6_flowinfo = 0; 496 sockaddr_isequal(&server->addr, &serveraddr)) 545 sockaddr_isequal(&last_server->addr, &serveraddr)) [all...] |
/system/core/libnetutils/ |
dhcpclient.c | 108 uint32_t serveraddr; member in struct:dhcp_info 123 *server = last_good_info.serveraddr; 160 ipaddr(info->serveraddr), info->lease); 218 if (optlen >= 4) memcpy(&info->serveraddr, x, 4); 451 size = init_dhcp_request_msg(msg, hwaddr, xid, info.ipaddr, info.serveraddr);
|
/external/curl/tests/server/ |
sws.c | 1292 srvr_sockaddr_union_t serveraddr; local [all...] |