Home | History | Annotate | Download | only in net

Lines Matching refs:hostent

98 #include "hostent.h"
155 static struct hostent *getanswer(const querybuf *, int, const char *, int,
156 res_state, struct hostent *, char *, size_t, int *);
158 static void map_v4v6_hostent(struct hostent *, char **, char *);
166 static struct hostent *_yp_hostent(char *, int, struct getnamaddr *);
169 static struct hostent *gethostbyname_internal(const char *, int, res_state,
170 struct hostent *, char *, size_t, int *);
213 static struct hostent *
215 res_state res, struct hostent *hent, char *buf, size_t buflen, int *he)
522 struct hostent *
523 gethostbyname_r(const char *name, struct hostent *hp, char *buf, size_t buflen,
536 struct hostent *nhp = gethostbyname_internal(name, AF_INET6,
548 struct hostent *
549 gethostbyname2_r(const char *name, int af, struct hostent *hp, char *buf,
563 static struct hostent *
565 struct hostent *hp, char *buf, size_t buflen, int *he)
618 * Fake up a hostent as if we'd actually
634 * Fake up a hostent as if we'd actually
680 struct hostent *
681 gethostbyaddr_r(const void *addr, socklen_t len, int af, struct hostent *hp,
740 struct hostent *
741 gethostent_r(FILE *hf, struct hostent *hent, char *buf, size_t buflen, int *he)
860 map_v4v6_hostent(struct hostent *hp, char **bpp, char *ep)
938 struct hostent *hp;
1002 struct hostent *hp;
1104 static struct hostent *
1116 struct hostent *hp = info->hp;
1233 struct hostent *hp = NULL;
1285 struct hostent *hp;
1331 static struct hostent h_ent;
1334 struct hostent *
1340 struct hostent *
1345 struct hostent *
1351 struct hostent *