Lines Matching defs:hp
661 struct hostent *hp = NULL;
962 hp = sm_gethostbyname(at, addr.sa.sa_family);
963 if (hp == NULL)
980 addr.sa.sa_family = hp->h_addrtype;
981 switch (hp->h_addrtype)
986 hp->h_addr, INADDRSZ);
996 hp->h_addr, IN6ADDRSZ);
1007 hp->h_addrtype);
1010 m->mf_name, at, hp->h_addrtype);
1015 hp->h_addrtype);
1018 freehostent(hp);
1045 if (hp != NULL)
1046 freehostent(hp);
1061 if (hp != NULL)
1062 freehostent(hp);
1084 if (hp != NULL)
1085 freehostent(hp);
1123 if (hp != NULL && hp->h_addr_list[addrno] != NULL)
1130 hp->h_addr_list[addrno++],
1138 hp->h_addr_list[addrno++],
1147 hp->h_addrtype);
1152 hp->h_addrtype);
1155 freehostent(hp);
1173 if (hp != NULL)
1174 freehostent(hp);
1180 if (hp != NULL)
1182 freehostent(hp);
1183 hp = NULL;