| /netbsd-src/external/bsd/libbind/dist/include/ |
| H A D | netdb.h | 141 struct hostent { struct 386 void freehostent __P((struct hostent *)); 387 struct hostent *gethostbyaddr __P((const char *, int, int)); 388 struct hostent *gethostbyname __P((const char *)); 389 struct hostent *gethostbyname2 __P((const char *, int)); 390 struct hostent *gethostent __P((void)); 391 struct hostent *getipnodebyaddr __P((const void *, size_t, int, int *)); 392 struct hostent *getipnodebyname __P((const char *, int, int, int *)); 415 struct hostent *getipnodebyname __P((const char *, int, int, int *)); 416 struct hostent *getipnodebyaddr __P((const void *, size_t, int, int *)); [all …]
|
| H A D | irs.h | 111 struct hostent *(*byname) __P((struct irs_ho *, const char *)); 112 struct hostent *(*byname2) __P((struct irs_ho *, const char *, int)); 113 struct hostent *(*byaddr) __P((struct irs_ho *, 115 struct hostent *(*next) __P((struct irs_ho *)); 292 extern struct hostent *gethostbyname_p __P((const char *, 294 extern struct hostent *gethostbyname2_p __P((const char *, int, 296 extern struct hostent *gethostbyaddr_p __P((const char *, int, int, 298 extern struct hostent *gethostent_p __P((struct net_data *)); 301 extern struct hostent *getipnodebyname_p __P((const char *, int, int, int *, 303 extern struct hostent *getipnodebyaddr_p __P((const void *, size_t,
|
| /netbsd-src/lib/libc/net/ |
| H A D | hostent.h | 42 struct hostent *gethostent_r(FILE *, struct hostent *, char *, size_t, int *); 45 struct hostent *gethostbyname_r(const char *, struct hostent *, char *, size_t, 47 struct hostent *gethostbyname2_r(const char *, int, struct hostent *, char *, 49 struct hostent *gethostbyaddr_r(const void *, socklen_t, int, struct hostent *, 58 struct hostent *hp;
|
| H A D | gethnamaddr.c | 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) in getanswer() 522 struct hostent * 523 gethostbyname_r(const char *name, struct hostent *hp, char *buf, size_t buflen, in gethostbyname_r() [all …]
|
| H A D | sethostent.c | 66 static struct hostent *_hf_gethtbyname2(const char *, int, struct getnamaddr *); 119 struct hostent *hp; in _hf_gethtbyname() 153 struct hostent * 156 struct hostent *hp, hent; in _hf_gethtbyname2() 266 struct hostent *hp; in _hf_gethtbyaddr()
|
| /netbsd-src/external/bsd/libbind/dist/irs/ |
| H A D | irp_ho.c | 68 struct hostent host; 74 static struct hostent * ho_byname(struct irs_ho *this, const char *name); 75 static struct hostent * ho_byname2(struct irs_ho *this, const char *name, 77 static struct hostent * ho_byaddr(struct irs_ho *this, const void *addr, 79 static struct hostent * ho_next(struct irs_ho *this); 83 static void free_host(struct hostent *ho); 156 static struct hostent * 170 static struct hostent * 173 struct hostent *ho = &pvt->host; in ho_byname2() 223 static struct hostent * [all …]
|
| H A D | gethostent_r.c | 40 copy_hostent(struct hostent *, struct hostent *, HOST_R_COPY_ARGS); 43 gethostbyname_r(const char *name, struct hostent *hptr, HOST_R_ARGS) { in gethostbyname_r() 44 struct hostent *he = gethostbyname(name); in gethostbyname_r() 70 struct hostent *hptr, HOST_R_ARGS) { in gethostbyaddr_r() 71 struct hostent *he = gethostbyaddr(addr, len, type); in gethostbyaddr_r() 102 gethostent_r(struct hostent *hptr, HOST_R_ARGS) { in gethostent_r() 103 struct hostent *he = gethostent(); in gethostent_r() 161 copy_hostent(struct hostent *he, struct hostent *hptr, HOST_R_COPY_ARGS) { in copy_hostent() 221 copy_hostent(struct hostent *he, struct hostent *hptr, HOST_R_COPY_ARGS) { in copy_hostent()
|
| H A D | gethostent.c | 63 struct hostent host; 70 static struct hostent *fakeaddr(const char *, int, struct net_data *); 75 struct hostent * 82 struct hostent * 89 struct hostent * 96 struct hostent * 118 struct hostent * 120 struct hostent *hp; in gethostbyname_p() 133 struct hostent * 137 struct hostent *hp; in gethostbyname2_p() [all …]
|
| H A D | gen_ho.c | 61 static struct hostent * ho_byname(struct irs_ho *this, const char *name); 62 static struct hostent * ho_byname2(struct irs_ho *this, const char *name, 64 static struct hostent * ho_byaddr(struct irs_ho *this, const void *addr, 66 static struct hostent * ho_next(struct irs_ho *this); 126 static struct hostent * 130 struct hostent *rval; in ho_byname() 169 static struct hostent * 173 struct hostent *rval; in ho_byname2() 208 static struct hostent * 212 struct hostent *rval; in ho_byaddr() [all …]
|
| H A D | nis_ho.c | 80 struct hostent host; 102 static struct hostent * ho_byname(struct irs_ho *this, const char *name); 103 static struct hostent * ho_byname2(struct irs_ho *this, const char *name, 105 static struct hostent * ho_byaddr(struct irs_ho *this, const void *addr, 107 static struct hostent * ho_next(struct irs_ho *this); 117 static struct hostent * makehostent(struct irs_ho *this); 169 static struct hostent * 172 struct hostent *hp; in ho_byname() 185 static struct hostent * 230 static struct hostent * [all …]
|
| H A D | lcl_ho.c | 110 struct hostent host; 130 static struct hostent * ho_byname(struct irs_ho *this, const char *name); 131 static struct hostent * ho_byname2(struct irs_ho *this, const char *name, 133 static struct hostent * ho_byaddr(struct irs_ho *this, const void *addr, 135 static struct hostent * ho_next(struct irs_ho *this); 203 static struct hostent * 206 struct hostent *hp; in ho_byname() 219 static struct hostent * 222 struct hostent *hp; in ho_byname2() 254 static struct hostent * [all …]
|
| H A D | dns_ho.c | 128 struct hostent host; 149 static struct hostent * ho_byname(struct irs_ho *this, const char *name); 150 static struct hostent * ho_byname2(struct irs_ho *this, const char *name, 152 static struct hostent * ho_byaddr(struct irs_ho *this, const void *addr, 154 static struct hostent * ho_next(struct irs_ho *this); 164 static void map_v4v6_hostent(struct hostent *hp, char **bp, 167 static struct hostent * gethostans(struct irs_ho *this, 225 static struct hostent * 228 struct hostent *hp; in ho_byname() 241 static struct hostent * [all …]
|
| /netbsd-src/distrib/utils/libhack/ |
| H A D | gethost.c | 78 static struct hostent h_ent; 81 static struct hostent * 98 struct hostent * 99 gethostbyname_r(const char *name, struct hostent *hp, char *buf, size_t bufsiz, in gethostbyname_r() 111 struct hostent * 117 struct hostent * 118 gethostbyaddr_r(const void *addr, socklen_t len, int type, struct hostent *hp, in gethostbyaddr_r() 129 struct hostent * 136 struct hostent * 137 gethostent_r(FILE *hf, struct hostent *hent, char *buf, size_t buflen, int *he) in gethostent_r()
|
| /netbsd-src/crypto/external/bsd/heimdal/include/ |
| H A D | roken.h | 227 ROKEN_LIB_FUNCTION struct hostent * ROKEN_LIB_CALL 231 ROKEN_LIB_FUNCTION struct hostent * ROKEN_LIB_CALL 236 freehostent (struct hostent *); 239 ROKEN_LIB_FUNCTION struct hostent * ROKEN_LIB_CALL 240 copyhostent (const struct hostent *); 279 ROKEN_LIB_FUNCTION struct hostent* ROKEN_LIB_CALL 281 ROKEN_LIB_FUNCTION struct hostent* ROKEN_LIB_CALL
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/ |
| H A D | netdb.d | 150 struct hostent in version() struct 234 struct hostent in version() struct 318 struct hostent in version() struct 402 struct hostent in version() struct 509 struct hostent in version() struct 605 struct hostent in version() struct 702 struct hostent in version() struct 790 struct hostent in version() struct 871 struct hostent in version() struct 949 struct hostent in version() struct [all …]
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| H A D | roken_gethostby.c | 52 struct hostent *he = gethostbyname(address); in make_address() 138 static struct hostent* 193 static struct hostent he; in roken_gethostby() 219 ROKEN_LIB_FUNCTION struct hostent* ROKEN_LIB_CALL 222 struct hostent *he; in roken_gethostbyname() 229 ROKEN_LIB_FUNCTION struct hostent* ROKEN_LIB_CALL 234 struct hostent *he; in roken_gethostbyaddr() 261 struct hostent *he;
|
| /netbsd-src/include/ |
| H A D | netdb.h | 148 struct hostent { struct 318 void freehostent(struct hostent *); 321 struct hostent *gethostbyaddr(const void *, socklen_t, int); 322 struct hostent *gethostbyname(const char *); 324 struct hostent *gethostbyname2(const char *, int); 326 struct hostent *gethostent(void);
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/krb5/ |
| H A D | get_addrs.c | 53 struct hostent *hostent; in gethostname_fallback() local 60 hostent = roken_gethostbyname (hostname); in gethostname_fallback() 61 if (hostent == NULL) { in gethostname_fallback() 71 res->val[0].addr_type = hostent->h_addrtype; in gethostname_fallback() 75 hostent->h_addr, in gethostname_fallback() 76 hostent->h_length); in gethostname_fallback()
|
| /netbsd-src/external/bsd/openldap/dist/libraries/libldap/ |
| H A D | util-int.c | 453 static int copy_hostent( struct hostent *res, 454 char **buf, struct hostent * src ); 460 struct hostent *resbuf, in ldap_pvt_gethostbyname_a() 462 struct hostent **result, in ldap_pvt_gethostbyname_a() 504 struct hostent *he; in ldap_pvt_gethostbyname_a() 576 struct hostent *hp = NULL; in ldap_pvt_get_hname() 578 struct hostent hb; in ldap_pvt_get_hname() 653 struct hostent *resbuf, in ldap_pvt_gethostbyaddr_a() 655 struct hostent **result, in ldap_pvt_gethostbyaddr_a() 693 struct hostent *he; in ldap_pvt_gethostbyaddr_a() [all …]
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| H A D | sanitizer_platform_limits_openbsd.cc | 165 CHECK_TYPE_SIZE(hostent); 166 CHECK_SIZE_AND_OFFSET(hostent, h_name); 167 CHECK_SIZE_AND_OFFSET(hostent, h_aliases); 168 CHECK_SIZE_AND_OFFSET(hostent, h_addrtype); 169 CHECK_SIZE_AND_OFFSET(hostent, h_length); 170 CHECK_SIZE_AND_OFFSET(hostent, h_addr_list);
|
| H A D | sanitizer_platform_limits_solaris.cc | 220 CHECK_TYPE_SIZE(hostent); 221 CHECK_SIZE_AND_OFFSET(hostent, h_name); 222 CHECK_SIZE_AND_OFFSET(hostent, h_aliases); 223 CHECK_SIZE_AND_OFFSET(hostent, h_addrtype); 224 CHECK_SIZE_AND_OFFSET(hostent, h_length); 225 CHECK_SIZE_AND_OFFSET(hostent, h_addr_list);
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_platform_limits_openbsd.cc | 163 CHECK_TYPE_SIZE(hostent); 164 CHECK_SIZE_AND_OFFSET(hostent, h_name); 165 CHECK_SIZE_AND_OFFSET(hostent, h_aliases); 166 CHECK_SIZE_AND_OFFSET(hostent, h_addrtype); 167 CHECK_SIZE_AND_OFFSET(hostent, h_length); 168 CHECK_SIZE_AND_OFFSET(hostent, h_addr_list);
|
| H A D | sanitizer_platform_limits_solaris.cc | 218 CHECK_TYPE_SIZE(hostent); 219 CHECK_SIZE_AND_OFFSET(hostent, h_name); 220 CHECK_SIZE_AND_OFFSET(hostent, h_aliases); 221 CHECK_SIZE_AND_OFFSET(hostent, h_addrtype); 222 CHECK_SIZE_AND_OFFSET(hostent, h_length); 223 CHECK_SIZE_AND_OFFSET(hostent, h_addr_list);
|
| /netbsd-src/lib/libbluetooth/ |
| H A D | bluetooth.c | 48 static struct hostent host; 63 struct hostent * 66 struct hostent *p; in bt_gethostbyname() 83 struct hostent * 86 struct hostent *p; in bt_gethostbyaddr() 102 struct hostent *
|
| /netbsd-src/external/bsd/am-utils/dist/amd/ |
| H A D | info_ldap.c | 103 HE_ENT *hostent; member 234 he_free(a->hostent); in ald_free() 273 aldh->hostent = string2he(gopt.ldap_hostports); in amu_ldap_init() 274 if (aldh->hostent == NULL) { in amu_ldap_init() 287 dlog("Trying for %s:%d\n", aldh->hostent->host, aldh->hostent->port); in amu_ldap_init() 292 dlog("Bound to %s:%d\n", aldh->hostent->host, aldh->hostent->port); in amu_ldap_init() 330 for (h = a->hostent; h != NULL; h = h->next) { in amu_ldap_rebind()
|