Lines Matching defs:addr
59 union res_sockaddr_union addr;
267 *addrs++ = arr->addr;
585 memset(&arr->addr, 0, sizeof(arr->addr));
588 arr->addr.sin.sin_family = AF_INET;
590 arr->addr.sin.sin_len = sizeof(arr->addr.sin);
592 memcpy(&arr->addr.sin.sin_addr, ns_rr_rdata(rr),
594 arr->addr.sin.sin_port = htons(NS_DEFAULTPORT);
598 arr->addr.sin6.sin6_family = AF_INET6;
600 arr->addr.sin6.sin6_len = sizeof(arr->addr.sin6);
602 memcpy(&arr->addr.sin6.sin6_addr, ns_rr_rdata(rr), 16);
603 arr->addr.sin.sin_port = htons(NS_DEFAULTPORT);