Date: Thu, 19 May 2005 10:46:14 +0000 (UTC) From: Hajimu UMEMOTO <ume@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/net gethostbydns.c gethostbyht.c gethostbyname.3 gethostbynis.c gethostnamadr.c netdb_private.h Message-ID: <200505191046.j4JAkEYi024484@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ume 2005-05-19 10:46:14 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) lib/libc/net gethostbydns.c gethostbyht.c gethostbyname.3 gethostbynis.c gethostnamadr.c netdb_private.h Log: MFC: - add IPv6 awareness for NIS query of gethostby*(). - make gethostby*() thread-safe. - do validation check and IPv4-mapped IPv6 address handling before any query. - don't query against IPv6 link-local address. - use IN6_IS_ADDR_V4{MAPPED,COMPAT} macros. - use memcpy() instead of bcopy(). lib/libc/net/gethostbydns.c: 1.51, 1.53, 1.54 lib/libc/net/gethostbyht.c: 1.19-1.23 lib/libc/net/gethostbyname.3: 1.33, 1.34 lib/libc/net/gethostbynis.c: 1.18-1.25 lib/libc/net/gethostnamadr.c: 1.25, 1.27, 1.28 lib/libc/net/netdb_private.h: 1.7 Revision Changes Path 1.46.2.5 +101 -129 src/lib/libc/net/gethostbydns.c 1.16.8.3 +110 -65 src/lib/libc/net/gethostbyht.c 1.32.2.1 +6 -16 src/lib/libc/net/gethostbyname.3 1.17.2.1 +149 -51 src/lib/libc/net/gethostbynis.c 1.22.4.3 +202 -70 src/lib/libc/net/gethostnamadr.c 1.9.2.5 +41 -2 src/lib/libc/net/netdb_private.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505191046.j4JAkEYi024484>