/src/lib/libc/net/ |
hostent.h | 1 /* $NetBSD: hostent.h,v 1.3 2022/04/19 20:32:15 rillig Exp $ */ 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 [all...] |
gethnamaddr.c | 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 * [all...] |
sethostent.c | 55 #include "hostent.h" 66 static struct hostent *_hf_gethtbyname2(const char *, int, struct getnamaddr *); 119 struct hostent *hp; 153 struct hostent * 156 struct hostent *hp, hent; 266 struct hostent *hp;
|
/src/distrib/utils/libhack/ |
gethost.c | 69 #include "hostent.h" 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, 111 struct hostent * 117 struct hostent * 118 gethostbyaddr_r(const void *addr, socklen_t len, int type, struct hostent *hp, 129 struct hostent * 136 struct hostent * [all...] |
/src/include/ |
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);
|
/src/usr.bin/talk/ |
get_addrs.c | 51 struct hostent *hp;
|
/src/lib/libbluetooth/ |
bluetooth.c | 48 static struct hostent host; 63 struct hostent * 66 struct hostent *p; 83 struct hostent * 86 struct hostent *p; 102 struct hostent *
|
bluetooth.h | 52 struct hostent * bt_gethostbyname (char const *); 53 struct hostent * bt_gethostbyaddr (char const *, socklen_t, int); 54 struct hostent * bt_gethostent (void);
|
/src/tests/lib/libc/net/ |
h_hostent.c | 48 #include "hostent.h" 53 phostent(const struct hostent *h) 103 geta(struct hostent *hp) { 116 struct hostent hent;
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
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);
|
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);
|
sanitizer_platform_limits_freebsd.cc | 390 CHECK_TYPE_SIZE(hostent); 391 CHECK_SIZE_AND_OFFSET(hostent, h_name); 392 CHECK_SIZE_AND_OFFSET(hostent, h_aliases); 393 CHECK_SIZE_AND_OFFSET(hostent, h_addrtype); 394 CHECK_SIZE_AND_OFFSET(hostent, h_length); 395 CHECK_SIZE_AND_OFFSET(hostent, h_addr_list);
|
/src/lib/libc/rpc/ |
getrpcport.c | 69 struct hostent *hp;
|
/src/usr.sbin/bootp/common/ |
lookup.c | 71 struct hostent *hp;
|
trygetif.c | 32 struct hostent *hep;
|
/src/usr.bin/btkey/ |
btkey.c | 55 struct hostent *he; 291 struct hostent *he;
|
/src/usr.bin/sdpquery/ |
sdpquery.c | 89 struct hostent *he = NULL;
|
/src/usr.sbin/rpc.bootparamd/ |
test.c | 71 struct hostent *hp;
|
bootparamd.c | 79 struct hostent *he; 157 struct hostent *he; 229 struct hostent *he; 383 struct hostent *hp;
|
/src/usr.bin/ypwhich/ |
ypwhich.c | 103 struct hostent *he; 229 struct hostent *he; 276 struct hostent *he;
|
/src/usr.sbin/ypset/ |
ypset.c | 97 struct hostent *hp;
|
/src/games/hunt/hunt/ |
server.c | 75 struct hostent *hp; 204 struct hostent *hp;
|
/src/usr.sbin/mrinfo/ |
mrinfo.c | 122 struct hostent *e; 323 struct hostent *hp; 324 struct hostent bogus;
|
/src/lib/libcompat/4.3/ |
rexec.c | 68 struct hostent *hp;
|
/src/usr.bin/btpin/ |
btpin.c | 72 struct hostent *he = NULL;
|