Lines Matching defs:ipaddr
55 #define SMB_ADS_AF_UNKNOWN(x) (((x)->ipaddr.a_family != AF_INET) && \
56 ((x)->ipaddr.a_family != AF_INET6))
537 smb_inaddr_t ipaddr;
558 NS_GET32(ipaddr.a_ipv4, *ptr);
559 ipaddr.a_ipv4 = htonl(ipaddr.a_ipv4);
560 ipaddr.a_family = AF_INET;
563 bcopy(*ptr, &ipaddr.a_ipv6, IN6ADDRSZ);
566 (uint8_t *)(ipaddr.a_ipv6)
569 ipaddr.a_family = AF_INET6;
582 ads_host_list[j].ipaddr = ipaddr;
796 switch (hentry->ipaddr.a_family) {
798 h = getipnodebyname(hentry->name, hentry->ipaddr.a_family,
805 h = getipnodebyname(hentry->name, hentry->ipaddr.a_family,
814 bcopy(*(h->h_addr_list), &hentry->ipaddr.a_ip, h->h_length);
829 if (smb_inet_iszero(&hentry->ipaddr)) {
833 hentry->ipaddr.a_family =
837 hentry->ipaddr.a_family = 0;
2874 if (smb_inet_equal(&host->ipaddr, &pdc))
2906 if ((hentry->ipaddr.a_family == AF_INET) &&
2908 if ((hentry->ipaddr.a_ipv4 &
3046 (void) smb_inet_ntop(&hinfo->ipaddr, ipstr,
3047 SMB_IPSTRLEN(hinfo->ipaddr.a_family));