Searched refs:hostbuf (Results 1 – 6 of 6) sorted by relevance
/glibc-2.36/resolv/ |
D | compat-gethnamaddr.c | 83 static char hostbuf[8*1024]; variable 174 bp = hostbuf; in getanswer() 175 buflen = sizeof hostbuf; in getanswer() 359 if (bp + n >= &hostbuf[sizeof hostbuf]) { in getanswer() 500 strncpy(hostbuf, name, MAXDNAME); in res_gethostbyname2_context() 501 hostbuf[MAXDNAME] = '\0'; in res_gethostbyname2_context() 502 bp = hostbuf + MAXDNAME; in res_gethostbyname2_context() 503 len = sizeof hostbuf - MAXDNAME; in res_gethostbyname2_context() 504 host.h_name = hostbuf; in res_gethostbyname2_context() 533 strncpy(hostbuf, name, MAXDNAME); in res_gethostbyname2_context() [all …]
|
D | tst-resolv-basic.c | 144 struct hostent hostbuf; in check_h() local 152 (name, &hostbuf, buf + offset, size, &result, &herror); in check_h() 171 (name, family, &hostbuf, buf + offset, size, &result, &herror); in check_h()
|
/glibc-2.36/nss/ |
D | bug-erange.c | 18 struct hostent hostbuf, *hp; in main() local 28 while ((res = gethostbyname_r (host, &hostbuf, tmphstbuf, hstbuflen, in main()
|
/glibc-2.36/sunrpc/ |
D | rpc_gethostbyname.c | 28 struct hostent hostbuf; in __libc_rpc_gethostbyname() local 35 &hostbuf, tmpbuf.data, tmpbuf.length, &hp, in __libc_rpc_gethostbyname()
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | gethostid.c | 73 struct hostent hostbuf, *hp; in gethostid() local 103 int ret = __gethostbyname_r (hostname, &hostbuf, in gethostid()
|
/glibc-2.36/manual/ |
D | socket.texi | 1528 struct hostent *hostbuf, *hp; 1534 hostbuf = malloc (sizeof (struct hostent)); 1538 while ((res = gethostbyname_r (host, hostbuf, tmphstbuf, hstbuflen,
|