Home
last modified time | relevance | path

Searched refs:hostent (Results 1 – 25 of 111) sorted by relevance

12345

/openbsd/lib/libc/asr/
H A Dgethostnamadr.c31 static int _gethostbyname(const char *, int, struct hostent *, char *, size_t,
33 static int _fillhostent(const struct hostent *, struct hostent *, char *,
36 static struct hostent _hostent;
42 _fillhostent(const struct hostent *h, struct hostent *r, char *buf, size_t len) in _fillhostent()
104 _gethostbyname(const char *name, int af, struct hostent *ret, char *buf, in _gethostbyname()
132 struct hostent *
135 struct hostent *h; in gethostbyname()
147 struct hostent *
168 struct hostent *
H A Dsethostent.c31 struct hostent *
/openbsd/include/
H A Dnetdb.h108 struct hostent { struct
273 struct hostent *gethostbyaddr(const void *, socklen_t, int);
274 struct hostent *gethostbyname(const char *);
277 struct hostent *gethostbyname2(const char *, int);
279 struct hostent *gethostent(void);
H A Dasr.h50 struct hostent *ar_hostent;
/openbsd/gnu/usr.bin/binutils/gdb/
H A Dser-tcp.c62 struct hostent *hostent; in net_open() local
88 hostent = gethostbyname (hostname); in net_open()
89 if (!hostent) in net_open()
106 memcpy (&sockaddr.sin_addr.s_addr, hostent->h_addr, in net_open()
H A Dm32r-rom.c410 struct hostent *hostent; in m32r_upload_command() local
440 hostent = gethostbyname (buf); in m32r_upload_command()
441 if (hostent != 0) in m32r_upload_command()
444 memcpy (&inet_addr.s_addr, hostent->h_addr, in m32r_upload_command()
448 server_addr = (char *) inet_ntoa (hostent->h_addr); in m32r_upload_command()
/openbsd/regress/lib/libpthread/netdb/
H A Dnetdb.c64 struct hostent *host; in test_host()
75 struct hostent *host; in test_localhost()
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_solaris.cpp222 CHECK_TYPE_SIZE(hostent);
223 CHECK_SIZE_AND_OFFSET(hostent, h_name);
224 CHECK_SIZE_AND_OFFSET(hostent, h_aliases);
225 CHECK_SIZE_AND_OFFSET(hostent, h_addrtype);
226 CHECK_SIZE_AND_OFFSET(hostent, h_length);
227 CHECK_SIZE_AND_OFFSET(hostent, h_addr_list);
H A Dsanitizer_platform_limits_freebsd.cpp427 CHECK_TYPE_SIZE(hostent);
428 CHECK_SIZE_AND_OFFSET(hostent, h_name);
429 CHECK_SIZE_AND_OFFSET(hostent, h_aliases);
430 CHECK_SIZE_AND_OFFSET(hostent, h_addrtype);
431 CHECK_SIZE_AND_OFFSET(hostent, h_length);
432 CHECK_SIZE_AND_OFFSET(hostent, h_addr_list);
/openbsd/gnu/usr.bin/perl/
H A Dreentr.h686 struct hostent _hostent_struct;
694 struct hostent* _hostent_ptr;
1086 …&PL_reentrant_buffer->_hostent_errno) ? 1 : ((errno == ERANGE) ? (struct hostent *) Perl_reentrant…
1089 …&PL_reentrant_buffer->_hostent_errno) ? 1 : ((errno == ERANGE) ? (struct hostent *) Perl_reentrant…
1092 …ant_buffer->_hostent_struct : ((PL_reentrant_retint == ERANGE) ? (struct hostent *) Perl_reentrant…
1095 …ant_buffer->_hostent_struct : ((PL_reentrant_retint == ERANGE) ? (struct hostent *) Perl_reentrant…
1098 …byaddr_r(a, b, c)) == 0 ? 1 : ((PL_reentrant_retint == ERANGE) ? (struct hostent *) Perl_reentrant…
1120 …ant_buffer->_hostent_struct : ((PL_reentrant_retint == ERANGE) ? (struct hostent *) Perl_reentrant…
1139 …) ? &PL_reentrant_buffer->_hostent_struct : ((errno == ERANGE) ? (struct hostent *) Perl_reentrant…
1142 …) ? &PL_reentrant_buffer->_hostent_struct : ((errno == ERANGE) ? (struct hostent *) Perl_reentrant…
[all …]
/openbsd/gnu/usr.bin/cvs/vms/
H A Drcmd.c15 struct hostent *remote_hp; in rcmd()
16 struct hostent *local_hp; in rcmd()
/openbsd/usr.sbin/ypset/
H A Dypset.c57 struct hostent *hp; in bind_tohost()
108 struct hostent *hent; in main()
/openbsd/sbin/umount/
H A Dumount.c61 int namematch(struct hostent *);
146 struct hostent *hp; in umountfs()
339 namematch(struct hostent *hp) in namematch()
/openbsd/usr.sbin/rpc.bootparamd/
H A Dbootparamd.c35 struct hostent *he;
69 struct hostent *he; in main()
306 struct hostent *hp = gethostbyname(word); in lookup_bootparam()
/openbsd/lib/libc/rpc/
H A Dgetrpcport.c45 struct hostent *hp; in getrpcport()
H A Dclnt_generic.c48 struct hostent *h; in clnt_create()
/openbsd/usr.bin/ypwhich/
H A Dypwhich.c83 struct hostent *hent = NULL; in bind_host()
140 struct hostent *hent; in main()
/openbsd/gnu/usr.bin/perl/win32/include/sys/
H A Dsocket.h87 struct hostent * win32_gethostbyaddr(const char * addr, int len, int type);
88 struct hostent * win32_gethostbyname(const char * name);
/openbsd/usr.bin/talk/
H A Dget_addrs.c44 struct hostent *hp; in get_addrs()
/openbsd/gnu/usr.bin/perl/win32/
H A Dwin32sck.c635 struct hostent *
638 struct hostent *r; in win32_gethostbyaddr()
644 struct hostent *
647 struct hostent *r; in win32_gethostbyname()
/openbsd/gnu/usr.bin/perl/lib/Net/
H A Dhostent.pm1 package Net::hostent;
/openbsd/games/hunt/hunt/
H A Dlist.c135 struct hostent *hp; in driver_name()
211 struct hostent *he; in probe_drivers()
/openbsd/regress/lib/libc/asr/bin/
H A Dgethostnamadr.c44 struct hostent *h; in main()
H A Dcommon.h50 void print_hostent(struct hostent *);
/openbsd/usr.sbin/amd/amd/
H A Dwire.c74 struct hostent *hp; in getwire()

12345