version 1.3, 2013/07/11 21:57:52
|
version 1.7, 2013/07/11 22:18:07
|
Line 10 Historically, much of the code is derive
|
Line 10 Historically, much of the code is derive
|
as the old BSD gethostbyname() standard API. It was previously also maintained by ISC and distributed with BIND |
as the old BSD gethostbyname() standard API. It was previously also maintained by ISC and distributed with BIND |
and libbind. The handoff of the maintainership from ISC to NetBSD happened in July 2013. |
and libbind. The handoff of the maintainership from ISC to NetBSD happened in July 2013. |
|
|
|
Bug fixes and development discussion for this code can be discussed on the tech-userlevel mailing list. |
|
|
Patches of NetBSD (June 2013 head) against libbind-6.0 are available at: |
Patches of NetBSD (June 2013 head) against libbind-6.0 are available at: |
<http://ftp.netbsd.org/pub/NetBSD/misc/reed/libbsdnet/> |
<http://ftp.netbsd.org/pub/NetBSD/misc/reed/libbsdnet/> |
|
|
Line 21 make directory provides common Makefile
|
Line 23 make directory provides common Makefile
|
|
|
### bsd |
### bsd |
bsd directory contains compatibility code, such as: |
bsd directory contains compatibility code, such as: |
daemon(), __ftruncate(), isc__gettimeofday(), gettimeofday(), |
daemon(), \_\_ftruncate(), isc\_\_gettimeofday(), gettimeofday(), |
mkstemp(), mktemp(), gettemp(), putenv(), __readv(), setenv(), |
mkstemp(), mktemp(), gettemp(), putenv(), \_\_readv(), setenv(), |
unsetenv(), findenv(), __setitimer(), strcasecmp(), strncasecmp(), |
unsetenv(), findenv(), \_\_setitimer(), strcasecmp(), strncasecmp(), |
strdup(), isc_strerror(), strpbrk(), strsep(), strtoul(), __utimes(), |
strdup(), isc_strerror(), strpbrk(), strsep(), strtoul(), \_\_utimes(), |
__writev(), __writev() |
\_\_writev(), \_\_writev() |
|
|
### dst |
### dst |
dst directory contains the Digital Signature Toolkit |
dst directory contains the Digital Signature Toolkit |
code for the DST API and crypto API. |
code for the DST API and crypto API. |
Parts of NetBSD's copy of libbind in src/lib/libc use |
The dst code is not included in NetBSD's src. Probably the code in src/lib/libc using it actually is |
this, The dst code is not included in NetBSD's src. Probably the code in src/lib/libc using it actually is |
|
not used. |
not used. |
|
|
### inet |
### inet |
|
|
/usr/src/common/lib/libc/inet/inet_addr.c |
src/common/lib/libc/inet/inet_addr.c |
|
|
NetBSD adds _inet_aton.c and _inet_pton.c |
NetBSD adds \_inet_aton.c and \_inet_pton.c |
|
|
libbind has (and NetBSD does not have) inet_data in inet. |
libbind has (and NetBSD does not have) inet_data in inet. |
|
|
Line 46 libbind has (and NetBSD does not have) i
|
Line 47 libbind has (and NetBSD does not have) i
|
irs is the Information Retrieval System; it provides |
irs is the Information Retrieval System; it provides |
getaddrinfo, gethostbyname, and related. |
getaddrinfo, gethostbyname, and related. |
NetBSD doesn't include irs directory as is. But is comparable |
NetBSD doesn't include irs directory as is. But is comparable |
to some of what we have in /usr/src/lib/libc/net/ |
to some of what we have in src/lib/libc/net/ |
|
|
NetBSD doesn't have |
NetBSD doesn't have |
dns.c top-level accessor function for the dns, |
dns.c top-level accessor function for the dns, |
Line 70 src/lib/libc/isc/ev_streams.c
|
Line 71 src/lib/libc/isc/ev_streams.c
|
src/lib/libc/isc/ev_timers.c |
src/lib/libc/isc/ev_timers.c |
src/lib/libc/isc/eventlib_p.h |
src/lib/libc/isc/eventlib_p.h |
|
|
### nameser provides the name resolver routines to parse DNS responses |
### nameser |
|
|
|
nameser provides the name resolver routines to parse DNS responses |
|
|
libbind has (and NetBSD does not have) in nameser: |
libbind has (and NetBSD does not have) in nameser: |
ns_date.c which provides ns_datetosecs(), isleap(), datepart() |
ns_date.c which provides ns_datetosecs(), isleap(), and datepart(); |
ns_newmsg.c for building DNS message packets |
ns_newmsg.c for building DNS message packets; |
ns_rdata.c for unpacking or comparing rdata |
ns_rdata.c for unpacking or comparing rdata; and |
ns_sign.c and for ns_verify.c for tsig |
ns_sign.c and for ns_verify.c for tsig. |
|
|
### resolv |
### resolv |
|
|
NetBSD adds __dn_comp.c, __res_close.c, __res_send.c, |
NetBSD adds \_\_dn_comp.c, \_\_res_close.c, \_\_res_send.c, |
h_errno.c, res_compat.c, res_state.c. |
h_errno.c, res_compat.c, and res_state.c. |
|
|
libbind has (and NetBSD does not have) in resolv: |
libbind has (and NetBSD does not have) in resolv |
(even though NetBSD manual documents them) |
(even though NetBSD manual documents them): |
res_findzonecut.c |
res_findzonecut.c, |
res_mkupdate.c |
res_mkupdate.c, |
res_sendsigned.c |
res_sendsigned.c, |
res_update.c |
and |
|
res_update.c. |
|
|
### tests |
### tests |
tests directory contains dig tool from bind8 |
tests directory contains dig tool from bind8 |