Lines Matching defs:auth
68 get_hostname (Xauth *auth)
70 if (auth->address_length == 0)
73 if (auth->family == FamilyInternet
75 || auth->family == FamilyInternet6
88 if (auth->family == FamilyInternet6)
94 hp = gethostbyaddr (auth->address, auth->address_length, af);
105 if (inet_ntop(af, auth->address, addr + 1, INET6_ADDRSTRLEN) == NULL)
113 return (inet_ntop(af, auth->address, addr, sizeof(addr)));
115 return (inet_ntoa(*((struct in_addr *)(auth->address))));