Lines Matching defs:hp0
159 hostent_compare(const struct hostent *hp0, const struct hostent *hp1)
162 if (hp0 == NULL && hp1 != NULL)
165 if (hp0 == NULL || hp1 == NULL)
168 if (hp0->h_name != NULL || hp1->h_name != NULL) {
169 if (hp0->h_name == NULL || hp1->h_name == NULL)
171 if (strcmp(hp0->h_name, hp1->h_name) != 0)
175 if (!hostent_aliases_compare(hp0->h_aliases, hp1->h_aliases))
177 if (!hostent_aliases_compare(hp1->h_aliases, hp0->h_aliases))
180 if (hp0->h_addrtype != hp1->h_addrtype)
183 if (hp0->h_length != hp1->h_length)
186 if (!hostent_addr_list_compare(hp0->h_addr_list, hp1->h_addr_list,
187 hp0->h_length)) {
190 if (!hostent_addr_list_compare(hp1->h_addr_list, hp0->h_addr_list,
191 hp0->h_length)) {