/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | nss.h | 38 extern struct hostent *_switch_gethostbyname_r(const char *, struct hostent *, 40 extern struct hostent *_switch_gethostbyaddr_r(const char *, int, int, 41 struct hostent *, char *, int, int *); 42 extern struct hostent *_switch_getipnodebyname_r(const char *, 43 struct hostent *, char *, int, int, int, int *); 44 extern struct hostent *_switch_getipnodebyaddr_r(const char *, int, int, 45 struct hostent *, char *, int, int *); 46 extern struct hostent *_door_gethostbyname_r(const char *, struct hostent *, 48 extern struct hostent *_door_gethostbyaddr_r(const char *, int, int, 49 struct hostent *, char *, int, int *); [all …]
|
H A D | gethostbyname_r.c | 66 extern struct hostent * 67 _switch_gethostbyname_r(const char *nam, struct hostent *result, char *buffer, 70 extern struct hostent * 72 struct hostent *result, char *buffer, int buflen, int *h_errnop); 75 struct hostent * 76 _uncached_gethostbyname_r(const char *nam, struct hostent *result, in _uncached_gethostbyname_r() 83 struct hostent * 85 struct hostent *result, char *buffer, int buflen, int *h_errnop) in _uncached_gethostbyaddr_r() 93 extern struct hostent * 94 gethostbyname_r(const char *nam, struct hostent *result, char *buffer, [all …]
|
H A D | gethostby_door.c | 39 struct hostent * 40 _door_gethostbyname_r(const char *name, struct hostent *result, char *buffer, in _door_gethostbyname_r() 43 return ((struct hostent *)_switch_gethostbyname_r(name, in _door_gethostbyname_r() 47 struct hostent * 49 struct hostent *result, char *buffer, int buflen, int *h_errnop) in _door_gethostbyaddr_r() 51 return ((struct hostent *)_switch_gethostbyaddr_r(addr, in _door_gethostbyaddr_r()
|
H A D | getipnodeby_door.c | 40 struct hostent * 41 _door_getipnodebyname_r(const char *name, struct hostent *result, char *buffer, in _door_getipnodebyname_r() 44 return ((struct hostent *)_switch_getipnodebyname_r(name, in _door_getipnodebyname_r() 48 struct hostent * 50 struct hostent *result, char *buffer, int buflen, int *h_errnop) in _door_getipnodebyaddr_r() 52 return ((struct hostent *)_switch_getipnodebyaddr_r(addr, in _door_getipnodebyaddr_r()
|
H A D | getipnodeby.c | 105 static struct hostent *__mapv4tov6(struct hostent *, struct hostent *, 107 struct hostent *__mappedtov4(struct hostent *, int *); 108 static struct hostent *__filter_addresses(int, struct hostent *); 109 static int __find_mapped(struct hostent *, int); 116 struct hostent * 117 _uncached_getipnodebyname(const char *nam, struct hostent *result, in _uncached_getipnodebyname() 124 struct hostent * 126 struct hostent *result, char *buffer, int buflen, int *h_errnop) in _uncached_getipnodebyaddr() 245 struct hostent * 248 struct hostent *hp = NULL; in getipnodebyname() [all …]
|
H A D | gethostent.c | 58 NSS_XbyY_ALLOC(&buffer, sizeof (struct hostent), NSS_BUFLEN_HOSTS) 61 struct hostent * 72 struct hostent * 87 struct hostent * 107 struct hostent *host = (struct hostent *)ent; in __str2hostent()
|
H A D | gethostent6.c | 84 struct hostent * 85 __gethostent6(struct hostent *result, char *buffer, int buflen, int *h_errnop) in __gethostent6() 95 return ((struct hostent *)NSS_XbyY_FINI(&arg)); in __gethostent6()
|
H A D | gethostent_r.c | 88 struct hostent * 89 gethostent_r(struct hostent *result, char *buffer, int buflen, int *h_errnop) in gethostent_r() 99 return ((struct hostent *)NSS_XbyY_FINI(&arg)); in gethostent_r()
|
/illumos-gate/usr/src/lib/libresolv/ |
H A D | netdb.h | 54 struct hostent { struct 88 struct hostent *gethostbyname_r 89 (const char *, struct hostent *, char *, int, int *h_errnop); 90 struct hostent *gethostbyaddr_r 91 (const char *, int, int, struct hostent *, char *, int, int *h_errnop); 92 struct hostent *gethostent_r(struct hostent *, char *, int, int *h_errnop); 115 struct hostent *gethostbyname(const char *); 116 struct hostent *gethostbyaddr(const char *, int, int); 117 struct hostent *gethostent(void); 146 struct hostent *gethostbyname_r(); [all …]
|
H A D | res_gethost.c | 52 static struct hostent host; 82 static struct hostent * 112 return ((struct hostent *) NULL); 128 return ((struct hostent *) NULL); 224 return ((struct hostent *) NULL); 228 static struct hostent *_gethtbyname(); 230 struct hostent * 248 return ((struct hostent *) NULL); 262 return ((struct hostent *) NULL); 267 static struct hostent *_gethtbyaddr(); [all …]
|
/illumos-gate/usr/src/head/ |
H A D | netdb.h | 96 struct hostent { struct 238 struct hostent *gethostbyname_r 239 (const char *, struct hostent *, char *, int, int *h_errnop); 240 struct hostent *gethostbyaddr_r 241 (const char *, int, int, struct hostent *, char *, int, int *h_errnop); 242 struct hostent *getipnodebyname(const char *, int, int, int *); 243 struct hostent *getipnodebyaddr(const void *, size_t, int, int *); 244 void freehostent(struct hostent *); 245 struct hostent *gethostent_r(struct hostent *, char *, int, int *h_errnop); 269 struct hostent *gethostbyname(const char *); [all …]
|
/illumos-gate/usr/src/lib/libresolv2/include/ |
H A D | port_netdb.h | 32 void freehostent __P((struct hostent *)); 37 struct hostent *gethostbyaddr __P((const char *, int, int)); 39 struct hostent *gethostbyname __P((const char *)); 41 struct hostent *gethostbyname2 __P((const char *, int)); 43 struct hostent *gethostent __P((void)); 45 struct hostent *getipnodebyaddr __P((const void *, size_t, int, int *)); 47 struct hostent *getipnodebyname __P((const char *, int, int, int *)); 87 struct hostent *gethostbyaddr_r __P((const char *addr, int len, int type, 88 struct hostent *hptr, char *buf, 93 struct hostent *gethostbyname_r __P((const char *name, struct hostent *hptr, [all …]
|
H A D | irs.h | 109 struct hostent *(*byname) __P((struct irs_ho *, const char *)); 110 struct hostent *(*byname2) __P((struct irs_ho *, const char *, int)); 111 struct hostent *(*byaddr) __P((struct irs_ho *, 113 struct hostent *(*next) __P((struct irs_ho *)); 290 extern struct hostent *gethostbyname_p __P((const char *, 292 extern struct hostent *gethostbyname2_p __P((const char *, int, 294 extern struct hostent *gethostbyaddr_p __P((const char *, int, int, 296 extern struct hostent *gethostent_p __P((struct net_data *)); 299 extern struct hostent *getipnodebyname_p __P((const char *, int, int, int *, 301 extern struct hostent *getipnodebyaddr_p __P((const void *, size_t,
|
/illumos-gate/usr/src/cmd/sendmail/libmilter/ |
H A D | sm_gethost.c | 33 static struct hostent *getipnodebyname __P((char *, int, int, int *)); 45 static struct hostent * 53 struct hostent *h; 71 struct hostent *h; in freehostent() 82 struct hostent * 87 struct hostent *h = NULL; 90 static struct hostent hp; 92 extern struct hostent *_switch_gethostbyname_r(); 96 extern struct hostent *__switch_gethostbyname();
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | irp_ho.c | 62 struct hostent host; 68 static struct hostent * ho_byname(struct irs_ho *this, const char *name); 69 static struct hostent * ho_byname2(struct irs_ho *this, const char *name, 71 static struct hostent * ho_byaddr(struct irs_ho *this, const void *addr, 73 static struct hostent * ho_next(struct irs_ho *this); 77 static void free_host(struct hostent *ho); 150 static struct hostent * 164 static struct hostent * 167 struct hostent *ho = &pvt->host; in ho_byname2() 217 static struct hostent * [all …]
|
H A D | gethostent_r.c | 34 copy_hostent(struct hostent *, struct hostent *, HOST_R_COPY_ARGS); 37 gethostbyname_r(const char *name, struct hostent *hptr, HOST_R_ARGS) { in gethostbyname_r() 38 struct hostent *he = gethostbyname(name); in gethostbyname_r() 64 struct hostent *hptr, HOST_R_ARGS) { in gethostbyaddr_r() 65 struct hostent *he = gethostbyaddr(addr, len, type); in gethostbyaddr_r() 96 gethostent_r(struct hostent *hptr, HOST_R_ARGS) { in gethostent_r() 97 struct hostent *he = gethostent(); in gethostent_r() 155 copy_hostent(struct hostent *he, struct hostent *hptr, HOST_R_COPY_ARGS) { in copy_hostent() 215 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 *); 80 struct hostent * 87 struct hostent * 94 struct hostent * 101 struct hostent * 123 struct hostent * 125 struct hostent *hp; in gethostbyname_p() 138 struct hostent * 142 struct hostent *hp; in gethostbyname2_p() [all …]
|
H A D | gen_ho.c | 55 static struct hostent * ho_byname(struct irs_ho *this, const char *name); 56 static struct hostent * ho_byname2(struct irs_ho *this, const char *name, 58 static struct hostent * ho_byaddr(struct irs_ho *this, const void *addr, 60 static struct hostent * ho_next(struct irs_ho *this); 120 static struct hostent * 124 struct hostent *rval; in ho_byname() 163 static struct hostent * 167 struct hostent *rval; in ho_byname2() 202 static struct hostent * 206 struct hostent *rval; in ho_byaddr() [all …]
|
H A D | lcl_ho.c | 104 struct hostent host; 124 static struct hostent * ho_byname(struct irs_ho *this, const char *name); 125 static struct hostent * ho_byname2(struct irs_ho *this, const char *name, 127 static struct hostent * ho_byaddr(struct irs_ho *this, const void *addr, 129 static struct hostent * ho_next(struct irs_ho *this); 197 static struct hostent * 200 struct hostent *hp; in ho_byname() 213 static struct hostent * 216 struct hostent *hp; in ho_byname2() 248 static struct hostent * [all …]
|
/illumos-gate/usr/src/lib/nsswitch/dns/common/ |
H A D | gethostent.c | 49 struct hostent *_gethostbyname(int *h_errnop, const char *name); 50 static struct hostent *_gethostbyaddr(int *h_errnop, const char *addr, 52 struct hostent *_nss_dns_gethostbyname2(int *h_errnop, const char *name); 71 static struct hostent * 74 struct hostent *hp; in _gethostbyaddr() 81 struct hostent * 84 struct hostent *hp; in _nss_dns_gethostbyname2() 91 struct hostent * 94 struct hostent *hp; in _gethostbyname() 135 struct hostent *he; [all …]
|
/illumos-gate/usr/src/cmd/tcpd/ |
H A D | scaffold.c | 44 static struct hostent *dup_hostent(hp) in dup_hostent() 45 struct hostent *hp; in dup_hostent() 48 struct hostent host; 80 struct hostent *find_inet_addr(host) in find_inet_addr() 84 struct hostent *hp; 85 static struct hostent h; 129 struct hostent *hp;
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_doorclt.c | 202 struct hostent *hptr in kfreehostent() 234 struct hostent * 249 struct hostent *hptr; in kgetipnodebyname() 284 hptr = (struct hostent *)((char *)buffer + sizeof (mybuffer_t)); in kgetipnodebyname() 288 hostent_size -= sizeof (struct hostent); in kgetipnodebyname() 320 sizeof (struct hostent)); in kgetipnodebyname() 395 sizeof (struct hostent)); in kgetipnodebyname()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/ |
H A D | get_addrs.c | 48 struct hostent *gethostbyname(); 56 struct hostent *hp; 65 if (hp == (struct hostent *) 0) { 94 if (hp == (struct hostent *) 0) {
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | sn2princ.c | 54 extern struct hostent *res_getipnodebyname(const char *, int, int, int *); 55 extern struct hostent *res_getipnodebyaddr(const void *, size_t, int, int *); 56 extern void res_freehostent(struct hostent *); 119 struct hostent *hp = NULL; in krb5_sname_to_principal() 120 struct hostent *hp2 = NULL; in krb5_sname_to_principal()
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | rpc_bootstrap.c | 51 struct hostent *__files_gethostbyname(char *, sa_family_t); 56 static struct hostent host; 143 struct hostent *hent, tmphent; 168 if (hent == (struct hostent *)NULL) { 173 memset(&tmphent, 0, sizeof (struct hostent)); 376 static struct hostent *__files_gethostent(); 378 struct hostent * 381 register struct hostent *hp; in __files_gethostbyname() 416 static struct hostent *
|