#
1.72 |
|
16-Feb-2024 |
jkoshy |
Note that the NI_WITHSCOPEID flag is obsolete.
|
Revision tags: netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base
|
#
1.71 |
|
09-Aug-2021 |
andvar |
fix various typos in compatibility, mainly in comments.
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
#
1.70 |
|
04-Jun-2020 |
nia |
Remove bogus tests for 64-bit i386 and SuperH
|
Revision tags: netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
#
1.69 |
|
19-Aug-2013 |
christos |
fix gethostbyaddr prototype per TOG.
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.68 |
|
04-May-2013 |
riz |
Add missing #endif (Hi, Christos!)
|
#
1.67 |
|
03-May-2013 |
christos |
PR/25827, PR/32373: addr AI_SRV
|
#
1.66 |
|
27-Apr-2013 |
joerg |
machine/ansi.h is included by sys/ansi.h.
|
Revision tags: agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5 yamt-pagecache-base4
|
#
1.65 |
|
17-Mar-2012 |
christos |
branches: 1.65.2; Add AI_ADDRCONFIG
|
Revision tags: netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 uebayasi-xip-base2
|
#
1.64 |
|
05-May-2010 |
christos |
branches: 1.64.6; 1.64.8; PR/43258: Hauke Fath: remove duplicate setservent declaration
|
Revision tags: uebayasi-xip-base1
|
#
1.63 |
|
25-Apr-2010 |
joerg |
Add the constant database reader (cdbr(3)) and writer ((cdbw(3)). They implement a space efficent write-once database with fast access path. Switch the services(5) database to use cdb. The size of the database file decreases from 2.1MB disk space to 307KB. Access performance is about the same if setservent(0) is used and about an order of magnitude faster otherwise. services_mkdb defaults to the new format, but can optionally create the old db(3) format as well for statically linked legacy applications.
|
Revision tags: uebayasi-xip-base matt-premerge-20091211
|
#
1.62 |
|
02-Oct-2009 |
tsarna |
branches: 1.62.2; Introduce allocaddrinfo(3) to make writing getaddrinfo() nss plugins easier. Discussed on tech-net.
|
Revision tags: jym-xensuspend-nbase jym-xensuspend-base
|
#
1.61 |
|
12-Apr-2009 |
christos |
merge libbind
|
Revision tags: matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 christos-time_t-nbase christos-time_t-base netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 simonb-wapbl-nbase simonb-wapbl-base wrstuden-revivesa-base
|
#
1.60 |
|
21-Jun-2008 |
christos |
branches: 1.60.4; 1.60.6; 1.60.8; 1.60.10; 1.60.14; sync with bind-9-5-0
|
Revision tags: yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base matt-mips64-base hpcarm-cleanup-base
|
#
1.59 |
|
10-May-2007 |
christos |
branches: 1.59.12; 1.59.14; Move .db files for services and netgroup to /var/db per gimpy's request.
|
#
1.58 |
|
30-Mar-2007 |
ghen |
Resolve conflicts.
|
#
1.57 |
|
28-Jan-2007 |
christos |
another merge botch.
|
#
1.56 |
|
27-Jan-2007 |
christos |
Merge back all our changes.
|
Revision tags: netbsd-4-base
|
#
1.55 |
|
24-Nov-2006 |
christos |
branches: 1.55.2; 1.55.4; fix spelling of accommodate; from Zapher.
|
Revision tags: abandoned-netbsd-4-base
|
#
1.54 |
|
27-Jul-2006 |
christos |
add services.db
|
#
1.53 |
|
17-Feb-2006 |
ginsbach |
Add EAI_OVERFLOW as specified in RFC3493, POSIX and XPG6.
|
#
1.52 |
|
24-Jan-2006 |
christos |
PR/32614: Yves-Emmanuel JUTARD: Typing error in some comment ;-)
|
#
1.51 |
|
18-Apr-2005 |
kleink |
Move the (at this time private) get{proto,serv}ent_r() prototypes and data structures into the libc sources until the interface gets redone. Approved by christos.
|
#
1.50 |
|
21-Mar-2005 |
kleink |
Add restrict qualifiers to getaddrinfo() and getnameinfo() arguments.
|
#
1.49 |
|
17-Mar-2005 |
kleink |
Remove already #if 0'ed getipnode*() prototypes and related definitions; we are not going to ship those.
|
Revision tags: netbsd-3-base
|
#
1.48 |
|
03-Feb-2005 |
perry |
branches: 1.48.2; de-__P -- the hack is long since useless. Discussed with christos, matt, kleink, others. Approved by christos.
|
#
1.47 |
|
16-Nov-2004 |
itojun |
remove NI_WITHSCOPEID
|
#
1.46 |
|
07-Nov-2004 |
christos |
Resolve conflicts.
|
#
1.45 |
|
17-Aug-2004 |
jmc |
Fix proto for gethostent to match reality (takes void args)
|
#
1.44 |
|
17-Aug-2004 |
ginsbach |
Restore gethostent() as a supported interface. Yes, it maybe obsolete but it is specified by IEEE Std 1003.1, 2004 Edition (POSIX) and the X/Open standards (Issue 6 and XNS 5.2).
* revert change removing gethostent() from gethostbyname(3) man page * delete kruft from gethnamaddr.c leaving only gethostent() as a wrapper around _gethtent(). * revert recent changes to <netdb.h> + restore gethostent() prototype + restore freehostent() prototype; handle similar to non-shipped getipnodby*() prototypes + use correct XOPEN_SOURCE version (520 not 500) for freeaddrinfo() prototype; interface specified by XNS5.2 not XNS5
Reviewd by <christos> and <drochner>.
|
#
1.43 |
|
11-Aug-2004 |
drochner |
Delete prototypes for gethostent() and freehostent(); there functions don't exist in libc.
|
#
1.42 |
|
25-May-2004 |
christos |
notyet is in the users namespace as pointed out by klaus.
|
#
1.41 |
|
25-May-2004 |
christos |
we don't implement getipnode*(), so don't define their flags for now. It confuses some software (ntpd).
|
#
1.40 |
|
24-May-2004 |
yamt |
remove a duplicated prototype of getprotoent_r.
|
#
1.39 |
|
21-May-2004 |
christos |
Import selected changes from bind9. Follow the copyright structure there.
|
#
1.38 |
|
08-May-2004 |
kleink |
* __sparc64__ -> __sparc__ && _LP64, * add a comment on the purpose of __ai_pad0. Both suggested by mrg.
|
#
1.37 |
|
08-May-2004 |
kleink |
struct netnet.n_net used to be an unsigned long integer.
In XNS5, and subsequently in POSIX-2001 it was changed to socklen_t.
To accomodate for this while preserving binary compatibility with the old interface, prepend or append 32 bits of padding, depending on the (LP64 data model) architecture's endianness. Fixes PR standards/21411 from Ben Harris.
This should be deleted the next time the libc major number is incremented.
Also, update getnetbyaddr(3)'s `net' argument accordingly.
|
#
1.36 |
|
14-Apr-2004 |
itojun |
fix comment (there could be more than 3 AI_xxx)
|
#
1.35 |
|
14-Apr-2004 |
itojun |
implement AI_NUMERICSERV (as defined in RFC3493)
|
Revision tags: netbsd-2-0-base
|
#
1.34 |
|
20-Mar-2004 |
christos |
branches: 1.34.2; Do not expose the current implementation of the serv*_r proto*_r functions, since this is not how we will implement them when we do. From discussions with Brian Ginsbach and Soda-san.
|
#
1.33 |
|
23-Feb-2004 |
christos |
in servent and protent data: - add a dummy field for extensions. - add a line field to keep the current line buffer.
|
#
1.32 |
|
19-Feb-2004 |
christos |
protoent_r/servent_r
|
#
1.31 |
|
07-Aug-2003 |
agc |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22270, verified by myself.
|
#
1.30 |
|
05-May-2003 |
bjh21 |
Header cleanup: * IPv6 functions are in POSIX-2001, so make them visible there. * freehostent(), getipnodebyaddr() and getipnodebyname() are _only_ in XNS5.2, so don't expose them to XSH6 or POSIX applications.
|
#
1.29 |
|
28-Apr-2003 |
bjh21 |
Add a new feature-test macro, _NETBSD_SOURCE. If this is defined by the application, all NetBSD interfaces are made visible, even if some other feature-test macro (like _POSIX_C_SOURCE) is defined. <sys/featuretest.h> defined _NETBSD_SOURCE if none of _ANSI_SOURCE, _POSIX_C_SOURCE and _XOPEN_SOURCE is defined, so as to preserve existing behaviour.
This has two major advantages: + Programs that require non-POSIX facilities but define _POSIX_C_SOURCE can trivially be overruled by putting -D_NETBSD_SOURCE in their CFLAGS. + It makes most of the #ifs simpler, in that they're all now ORs of the various macros, rather than having checks for (!defined(_ANSI_SOURCE) || !defined(_POSIX_C_SOURCE) || !defined(_XOPEN_SOURCE)) all over the place.
I've tried not to change the semantics of the headers in any case where _NETBSD_SOURCE wasn't defined, but there were some places where the current semantics were clearly mad, and retaining them was harder than correcting them. In particular, I've mostly normalised things so that _ANSI_SOURCE gets you the smallest set of stuff, then _POSIX_C_SOURCE, _XOPEN_SOURCE and _NETBSD_SOURCE in that order.
Tested by building for vax, encouraged by thorpej, and uncontested in tech-userlevel for a week.
|
Revision tags: nathanw_sa_before_merge nathanw_sa_base
|
#
1.28 |
|
06-Jan-2003 |
wiz |
compatibility, not compatiblity.
|
Revision tags: fvdl_fs64_base
|
#
1.27 |
|
26-Aug-2002 |
itojun |
remove unused/unsupported AI_xx. notified by PR 18072
|
#
1.26 |
|
22-May-2002 |
kleink |
Turn the flags argument to getnameinfo(3) back into an int (from unsigned int); this is consistent with RFC2553, the current draft-ietf-ipngwg- rfc2553bis-05 and the majority of deployed implementations.
Also, there is an effort under way to have this changed back to int in XBD6/XSH6, XNS, and POSIX-2001 TC1.
|
Revision tags: netbsd-1-6-base
|
#
1.25 |
|
14-May-2002 |
kleink |
branches: 1.25.2; More XNS5.2/POSIX-2001 alignment: change the flags argument to getnameinfo() from int to unsigned int.
|
#
1.24 |
|
14-May-2002 |
kleink |
Align with XNS5.2/POSIX-2001: change hostlen and servlen arguments to getnameinfo() from size_t to socklen_t.
|
#
1.23 |
|
14-May-2002 |
kleink |
struct addrinfo.ai_addrlen used to be a size_t, per RFC 2553.
In XNS5.2, and subsequently in POSIX-2001 and draft-ietf-ipngwg-rfc2553bis-02 it was changed to a socklen_t.
To accomodate for this while preserving binary compatibility with the old interface, prepend or append 32 bits of padding, depending on the (LP64 data model) architecture's endianness.
This should be deleted the next time the libc major number is incremented.
|
#
1.22 |
|
10-May-2002 |
kleink |
Update several name space/feature protection tests to check for _XOPEN_SOURCE >= 520 (XNS 5.2), either rigging it for that version or replacing the (wrong) test for >= 500.
|
#
1.21 |
|
26-Apr-2001 |
kleink |
Change the `len' arguemtn to gethostbyaddr(3) from int to socklen_t in accordance with XNS5.2; fixes PR standards/12703.
|
#
1.20 |
|
30-Jul-2000 |
lukem |
branches: 1.20.2; be consistent with #define<TAB> usage
|
#
1.19 |
|
28-Jul-2000 |
kleink |
Avoid recursion with traditional cpp.
|
Revision tags: netbsd-1-5-base
|
#
1.18 |
|
04-Jun-2000 |
itojun |
branches: 1.18.2; correct arg type for getnameinfo(3) for RFC2553 conformance.
|
Revision tags: minoura-xpg4dl-base
|
#
1.17 |
|
09-Feb-2000 |
itojun |
branches: 1.17.2; revise extended scoped address format support. delimiter and the order is changed, based on discussion in ipngwg scoped address cabal. past code: fe80::1@de0 now: de0%fe80::1 this will be in sync with next extended address format proposal (which should be final - I don't want to make this kind of change again).
|
#
1.16 |
|
05-Jan-2000 |
mjl |
Correct typo in comment.
|
Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
|
#
1.15 |
|
20-Dec-1999 |
itojun |
hide functions that are not supplied.
|
#
1.14 |
|
12-Dec-1999 |
itojun |
add #define for kame's extension to scoped IPv6 numeric address. (see draft-ietf-ipngwg-scopedaddr-format-00.txt)
|
Revision tags: comdex-fall-1999-base
|
#
1.13 |
|
03-Jul-1999 |
kleink |
branches: 1.13.4; * Since we actually only need size_t to be defined, nuke the previous inclusion of <sys/types.h> and define size_t via <machine/ansi.h>. * Various namespace protection issues, using XNS5.2 D2.0 as a reference.
|
#
1.12 |
|
01-Jul-1999 |
itojun |
define IPv6 library functions and structures, as defined in RFC2292 and RFC2553. define internal state structure for IPv6-transport resolver.
Commits for source code will follow.
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.11 |
|
10-May-1998 |
kleink |
* Remove the inclusion of <sys/param.h>; the most common use for this was the MAXHOSTNAMELEN constant whose semantics are not intended for network database lookup operations, and which pollutes name space. * Per XSH98, provide symbols from <inttypes.h>. * Add various bits of name space protection.
|
#
1.10 |
|
03-Feb-1998 |
perry |
fix/restore Id
|
#
1.9 |
|
02-Feb-1998 |
perry |
merge lite-2
|
Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
|
#
1.8 |
|
13-Oct-1997 |
lukem |
rcsid fascism
|
#
1.7 |
|
13-Apr-1997 |
mrg |
merge bind 4.9.5-P1.
|
Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
|
#
1.6 |
|
02-Feb-1996 |
mrg |
update these for bind 4.9.3-p1.
|
Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
|
#
1.5 |
|
03-Jul-1995 |
jtc |
Declare h_error as suggested by PR #1065 and done by many other systems.
|
#
1.4 |
|
26-Oct-1994 |
cgd |
new RCS ID format.
|
Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
|
#
1.3 |
|
07-Apr-1994 |
deraadt |
new resolver. changes from 4.9.2 by <paul@vix.com>, as well as a number of features and optimizations by myself.
|
#
1.2 |
|
01-Aug-1993 |
mycroft |
Add RCS identifiers.
|
#
1.1 |
|
21-Mar-1993 |
cgd |
branches: 1.1.1; Initial revision
|
#
1.71 |
|
09-Aug-2021 |
andvar |
fix various typos in compatibility, mainly in comments.
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
#
1.70 |
|
04-Jun-2020 |
nia |
Remove bogus tests for 64-bit i386 and SuperH
|
Revision tags: netbsd-9-2-RELEASE netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
#
1.69 |
|
19-Aug-2013 |
christos |
fix gethostbyaddr prototype per TOG.
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.68 |
|
04-May-2013 |
riz |
Add missing #endif (Hi, Christos!)
|
#
1.67 |
|
03-May-2013 |
christos |
PR/25827, PR/32373: addr AI_SRV
|
#
1.66 |
|
27-Apr-2013 |
joerg |
machine/ansi.h is included by sys/ansi.h.
|
Revision tags: agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5 yamt-pagecache-base4
|
#
1.65 |
|
17-Mar-2012 |
christos |
branches: 1.65.2; Add AI_ADDRCONFIG
|
Revision tags: netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 uebayasi-xip-base2
|
#
1.64 |
|
05-May-2010 |
christos |
branches: 1.64.6; 1.64.8; PR/43258: Hauke Fath: remove duplicate setservent declaration
|
Revision tags: uebayasi-xip-base1
|
#
1.63 |
|
25-Apr-2010 |
joerg |
Add the constant database reader (cdbr(3)) and writer ((cdbw(3)). They implement a space efficent write-once database with fast access path. Switch the services(5) database to use cdb. The size of the database file decreases from 2.1MB disk space to 307KB. Access performance is about the same if setservent(0) is used and about an order of magnitude faster otherwise. services_mkdb defaults to the new format, but can optionally create the old db(3) format as well for statically linked legacy applications.
|
Revision tags: uebayasi-xip-base matt-premerge-20091211
|
#
1.62 |
|
02-Oct-2009 |
tsarna |
branches: 1.62.2; Introduce allocaddrinfo(3) to make writing getaddrinfo() nss plugins easier. Discussed on tech-net.
|
Revision tags: jym-xensuspend-nbase jym-xensuspend-base
|
#
1.61 |
|
12-Apr-2009 |
christos |
merge libbind
|
Revision tags: matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 christos-time_t-nbase christos-time_t-base netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 simonb-wapbl-nbase simonb-wapbl-base wrstuden-revivesa-base
|
#
1.60 |
|
21-Jun-2008 |
christos |
branches: 1.60.4; 1.60.6; 1.60.8; 1.60.10; 1.60.14; sync with bind-9-5-0
|
Revision tags: yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base matt-mips64-base hpcarm-cleanup-base
|
#
1.59 |
|
10-May-2007 |
christos |
branches: 1.59.12; 1.59.14; Move .db files for services and netgroup to /var/db per gimpy's request.
|
#
1.58 |
|
30-Mar-2007 |
ghen |
Resolve conflicts.
|
#
1.57 |
|
28-Jan-2007 |
christos |
another merge botch.
|
#
1.56 |
|
27-Jan-2007 |
christos |
Merge back all our changes.
|
Revision tags: netbsd-4-base
|
#
1.55 |
|
24-Nov-2006 |
christos |
branches: 1.55.2; 1.55.4; fix spelling of accommodate; from Zapher.
|
Revision tags: abandoned-netbsd-4-base
|
#
1.54 |
|
27-Jul-2006 |
christos |
add services.db
|
#
1.53 |
|
17-Feb-2006 |
ginsbach |
Add EAI_OVERFLOW as specified in RFC3493, POSIX and XPG6.
|
#
1.52 |
|
24-Jan-2006 |
christos |
PR/32614: Yves-Emmanuel JUTARD: Typing error in some comment ;-)
|
#
1.51 |
|
18-Apr-2005 |
kleink |
Move the (at this time private) get{proto,serv}ent_r() prototypes and data structures into the libc sources until the interface gets redone. Approved by christos.
|
#
1.50 |
|
21-Mar-2005 |
kleink |
Add restrict qualifiers to getaddrinfo() and getnameinfo() arguments.
|
#
1.49 |
|
17-Mar-2005 |
kleink |
Remove already #if 0'ed getipnode*() prototypes and related definitions; we are not going to ship those.
|
Revision tags: netbsd-3-base
|
#
1.48 |
|
03-Feb-2005 |
perry |
branches: 1.48.2; de-__P -- the hack is long since useless. Discussed with christos, matt, kleink, others. Approved by christos.
|
#
1.47 |
|
16-Nov-2004 |
itojun |
remove NI_WITHSCOPEID
|
#
1.46 |
|
07-Nov-2004 |
christos |
Resolve conflicts.
|
#
1.45 |
|
17-Aug-2004 |
jmc |
Fix proto for gethostent to match reality (takes void args)
|
#
1.44 |
|
17-Aug-2004 |
ginsbach |
Restore gethostent() as a supported interface. Yes, it maybe obsolete but it is specified by IEEE Std 1003.1, 2004 Edition (POSIX) and the X/Open standards (Issue 6 and XNS 5.2).
* revert change removing gethostent() from gethostbyname(3) man page * delete kruft from gethnamaddr.c leaving only gethostent() as a wrapper around _gethtent(). * revert recent changes to <netdb.h> + restore gethostent() prototype + restore freehostent() prototype; handle similar to non-shipped getipnodby*() prototypes + use correct XOPEN_SOURCE version (520 not 500) for freeaddrinfo() prototype; interface specified by XNS5.2 not XNS5
Reviewd by <christos> and <drochner>.
|
#
1.43 |
|
11-Aug-2004 |
drochner |
Delete prototypes for gethostent() and freehostent(); there functions don't exist in libc.
|
#
1.42 |
|
25-May-2004 |
christos |
notyet is in the users namespace as pointed out by klaus.
|
#
1.41 |
|
25-May-2004 |
christos |
we don't implement getipnode*(), so don't define their flags for now. It confuses some software (ntpd).
|
#
1.40 |
|
24-May-2004 |
yamt |
remove a duplicated prototype of getprotoent_r.
|
#
1.39 |
|
21-May-2004 |
christos |
Import selected changes from bind9. Follow the copyright structure there.
|
#
1.38 |
|
08-May-2004 |
kleink |
* __sparc64__ -> __sparc__ && _LP64, * add a comment on the purpose of __ai_pad0. Both suggested by mrg.
|
#
1.37 |
|
08-May-2004 |
kleink |
struct netnet.n_net used to be an unsigned long integer.
In XNS5, and subsequently in POSIX-2001 it was changed to socklen_t.
To accomodate for this while preserving binary compatibility with the old interface, prepend or append 32 bits of padding, depending on the (LP64 data model) architecture's endianness. Fixes PR standards/21411 from Ben Harris.
This should be deleted the next time the libc major number is incremented.
Also, update getnetbyaddr(3)'s `net' argument accordingly.
|
#
1.36 |
|
14-Apr-2004 |
itojun |
fix comment (there could be more than 3 AI_xxx)
|
#
1.35 |
|
14-Apr-2004 |
itojun |
implement AI_NUMERICSERV (as defined in RFC3493)
|
Revision tags: netbsd-2-0-base
|
#
1.34 |
|
20-Mar-2004 |
christos |
branches: 1.34.2; Do not expose the current implementation of the serv*_r proto*_r functions, since this is not how we will implement them when we do. From discussions with Brian Ginsbach and Soda-san.
|
#
1.33 |
|
23-Feb-2004 |
christos |
in servent and protent data: - add a dummy field for extensions. - add a line field to keep the current line buffer.
|
#
1.32 |
|
19-Feb-2004 |
christos |
protoent_r/servent_r
|
#
1.31 |
|
07-Aug-2003 |
agc |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22270, verified by myself.
|
#
1.30 |
|
05-May-2003 |
bjh21 |
Header cleanup: * IPv6 functions are in POSIX-2001, so make them visible there. * freehostent(), getipnodebyaddr() and getipnodebyname() are _only_ in XNS5.2, so don't expose them to XSH6 or POSIX applications.
|
#
1.29 |
|
28-Apr-2003 |
bjh21 |
Add a new feature-test macro, _NETBSD_SOURCE. If this is defined by the application, all NetBSD interfaces are made visible, even if some other feature-test macro (like _POSIX_C_SOURCE) is defined. <sys/featuretest.h> defined _NETBSD_SOURCE if none of _ANSI_SOURCE, _POSIX_C_SOURCE and _XOPEN_SOURCE is defined, so as to preserve existing behaviour.
This has two major advantages: + Programs that require non-POSIX facilities but define _POSIX_C_SOURCE can trivially be overruled by putting -D_NETBSD_SOURCE in their CFLAGS. + It makes most of the #ifs simpler, in that they're all now ORs of the various macros, rather than having checks for (!defined(_ANSI_SOURCE) || !defined(_POSIX_C_SOURCE) || !defined(_XOPEN_SOURCE)) all over the place.
I've tried not to change the semantics of the headers in any case where _NETBSD_SOURCE wasn't defined, but there were some places where the current semantics were clearly mad, and retaining them was harder than correcting them. In particular, I've mostly normalised things so that _ANSI_SOURCE gets you the smallest set of stuff, then _POSIX_C_SOURCE, _XOPEN_SOURCE and _NETBSD_SOURCE in that order.
Tested by building for vax, encouraged by thorpej, and uncontested in tech-userlevel for a week.
|
Revision tags: nathanw_sa_before_merge nathanw_sa_base
|
#
1.28 |
|
06-Jan-2003 |
wiz |
compatibility, not compatiblity.
|
Revision tags: fvdl_fs64_base
|
#
1.27 |
|
26-Aug-2002 |
itojun |
remove unused/unsupported AI_xx. notified by PR 18072
|
#
1.26 |
|
22-May-2002 |
kleink |
Turn the flags argument to getnameinfo(3) back into an int (from unsigned int); this is consistent with RFC2553, the current draft-ietf-ipngwg- rfc2553bis-05 and the majority of deployed implementations.
Also, there is an effort under way to have this changed back to int in XBD6/XSH6, XNS, and POSIX-2001 TC1.
|
Revision tags: netbsd-1-6-base
|
#
1.25 |
|
14-May-2002 |
kleink |
branches: 1.25.2; More XNS5.2/POSIX-2001 alignment: change the flags argument to getnameinfo() from int to unsigned int.
|
#
1.24 |
|
14-May-2002 |
kleink |
Align with XNS5.2/POSIX-2001: change hostlen and servlen arguments to getnameinfo() from size_t to socklen_t.
|
#
1.23 |
|
14-May-2002 |
kleink |
struct addrinfo.ai_addrlen used to be a size_t, per RFC 2553.
In XNS5.2, and subsequently in POSIX-2001 and draft-ietf-ipngwg-rfc2553bis-02 it was changed to a socklen_t.
To accomodate for this while preserving binary compatibility with the old interface, prepend or append 32 bits of padding, depending on the (LP64 data model) architecture's endianness.
This should be deleted the next time the libc major number is incremented.
|
#
1.22 |
|
10-May-2002 |
kleink |
Update several name space/feature protection tests to check for _XOPEN_SOURCE >= 520 (XNS 5.2), either rigging it for that version or replacing the (wrong) test for >= 500.
|
#
1.21 |
|
26-Apr-2001 |
kleink |
Change the `len' arguemtn to gethostbyaddr(3) from int to socklen_t in accordance with XNS5.2; fixes PR standards/12703.
|
#
1.20 |
|
30-Jul-2000 |
lukem |
branches: 1.20.2; be consistent with #define<TAB> usage
|
#
1.19 |
|
28-Jul-2000 |
kleink |
Avoid recursion with traditional cpp.
|
Revision tags: netbsd-1-5-base
|
#
1.18 |
|
04-Jun-2000 |
itojun |
branches: 1.18.2; correct arg type for getnameinfo(3) for RFC2553 conformance.
|
Revision tags: minoura-xpg4dl-base
|
#
1.17 |
|
09-Feb-2000 |
itojun |
branches: 1.17.2; revise extended scoped address format support. delimiter and the order is changed, based on discussion in ipngwg scoped address cabal. past code: fe80::1@de0 now: de0%fe80::1 this will be in sync with next extended address format proposal (which should be final - I don't want to make this kind of change again).
|
#
1.16 |
|
05-Jan-2000 |
mjl |
Correct typo in comment.
|
Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
|
#
1.15 |
|
20-Dec-1999 |
itojun |
hide functions that are not supplied.
|
#
1.14 |
|
12-Dec-1999 |
itojun |
add #define for kame's extension to scoped IPv6 numeric address. (see draft-ietf-ipngwg-scopedaddr-format-00.txt)
|
Revision tags: comdex-fall-1999-base
|
#
1.13 |
|
03-Jul-1999 |
kleink |
branches: 1.13.4; * Since we actually only need size_t to be defined, nuke the previous inclusion of <sys/types.h> and define size_t via <machine/ansi.h>. * Various namespace protection issues, using XNS5.2 D2.0 as a reference.
|
#
1.12 |
|
01-Jul-1999 |
itojun |
define IPv6 library functions and structures, as defined in RFC2292 and RFC2553. define internal state structure for IPv6-transport resolver.
Commits for source code will follow.
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.11 |
|
10-May-1998 |
kleink |
* Remove the inclusion of <sys/param.h>; the most common use for this was the MAXHOSTNAMELEN constant whose semantics are not intended for network database lookup operations, and which pollutes name space. * Per XSH98, provide symbols from <inttypes.h>. * Add various bits of name space protection.
|
#
1.10 |
|
03-Feb-1998 |
perry |
fix/restore Id
|
#
1.9 |
|
02-Feb-1998 |
perry |
merge lite-2
|
Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
|
#
1.8 |
|
13-Oct-1997 |
lukem |
rcsid fascism
|
#
1.7 |
|
13-Apr-1997 |
mrg |
merge bind 4.9.5-P1.
|
Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
|
#
1.6 |
|
02-Feb-1996 |
mrg |
update these for bind 4.9.3-p1.
|
Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
|
#
1.5 |
|
03-Jul-1995 |
jtc |
Declare h_error as suggested by PR #1065 and done by many other systems.
|
#
1.4 |
|
26-Oct-1994 |
cgd |
new RCS ID format.
|
Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
|
#
1.3 |
|
07-Apr-1994 |
deraadt |
new resolver. changes from 4.9.2 by <paul@vix.com>, as well as a number of features and optimizations by myself.
|
#
1.2 |
|
01-Aug-1993 |
mycroft |
Add RCS identifiers.
|
#
1.1 |
|
21-Mar-1993 |
cgd |
branches: 1.1.1; Initial revision
|
#
1.70 |
|
04-Jun-2020 |
nia |
Remove bogus tests for 64-bit i386 and SuperH
|
Revision tags: phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
#
1.69 |
|
19-Aug-2013 |
christos |
fix gethostbyaddr prototype per TOG.
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.68 |
|
04-May-2013 |
riz |
Add missing #endif (Hi, Christos!)
|
#
1.67 |
|
03-May-2013 |
christos |
PR/25827, PR/32373: addr AI_SRV
|
#
1.66 |
|
27-Apr-2013 |
joerg |
machine/ansi.h is included by sys/ansi.h.
|
Revision tags: agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5 yamt-pagecache-base4
|
#
1.65 |
|
17-Mar-2012 |
christos |
branches: 1.65.2; Add AI_ADDRCONFIG
|
Revision tags: netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 uebayasi-xip-base2
|
#
1.64 |
|
05-May-2010 |
christos |
branches: 1.64.6; 1.64.8; PR/43258: Hauke Fath: remove duplicate setservent declaration
|
Revision tags: uebayasi-xip-base1
|
#
1.63 |
|
25-Apr-2010 |
joerg |
Add the constant database reader (cdbr(3)) and writer ((cdbw(3)). They implement a space efficent write-once database with fast access path. Switch the services(5) database to use cdb. The size of the database file decreases from 2.1MB disk space to 307KB. Access performance is about the same if setservent(0) is used and about an order of magnitude faster otherwise. services_mkdb defaults to the new format, but can optionally create the old db(3) format as well for statically linked legacy applications.
|
Revision tags: uebayasi-xip-base matt-premerge-20091211
|
#
1.62 |
|
02-Oct-2009 |
tsarna |
branches: 1.62.2; Introduce allocaddrinfo(3) to make writing getaddrinfo() nss plugins easier. Discussed on tech-net.
|
Revision tags: jym-xensuspend-nbase jym-xensuspend-base
|
#
1.61 |
|
12-Apr-2009 |
christos |
merge libbind
|
Revision tags: matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 christos-time_t-nbase christos-time_t-base netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 simonb-wapbl-nbase simonb-wapbl-base wrstuden-revivesa-base
|
#
1.60 |
|
21-Jun-2008 |
christos |
branches: 1.60.4; 1.60.6; 1.60.8; 1.60.10; 1.60.14; sync with bind-9-5-0
|
Revision tags: yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-pf42-base keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base matt-mips64-base hpcarm-cleanup-base
|
#
1.59 |
|
10-May-2007 |
christos |
branches: 1.59.12; 1.59.14; Move .db files for services and netgroup to /var/db per gimpy's request.
|
#
1.58 |
|
30-Mar-2007 |
ghen |
Resolve conflicts.
|
#
1.57 |
|
28-Jan-2007 |
christos |
another merge botch.
|
#
1.56 |
|
27-Jan-2007 |
christos |
Merge back all our changes.
|
Revision tags: netbsd-4-base
|
#
1.55 |
|
24-Nov-2006 |
christos |
branches: 1.55.2; 1.55.4; fix spelling of accommodate; from Zapher.
|
Revision tags: abandoned-netbsd-4-base
|
#
1.54 |
|
27-Jul-2006 |
christos |
add services.db
|
#
1.53 |
|
17-Feb-2006 |
ginsbach |
Add EAI_OVERFLOW as specified in RFC3493, POSIX and XPG6.
|
#
1.52 |
|
24-Jan-2006 |
christos |
PR/32614: Yves-Emmanuel JUTARD: Typing error in some comment ;-)
|
#
1.51 |
|
18-Apr-2005 |
kleink |
Move the (at this time private) get{proto,serv}ent_r() prototypes and data structures into the libc sources until the interface gets redone. Approved by christos.
|
#
1.50 |
|
21-Mar-2005 |
kleink |
Add restrict qualifiers to getaddrinfo() and getnameinfo() arguments.
|
#
1.49 |
|
17-Mar-2005 |
kleink |
Remove already #if 0'ed getipnode*() prototypes and related definitions; we are not going to ship those.
|
Revision tags: netbsd-3-base
|
#
1.48 |
|
03-Feb-2005 |
perry |
branches: 1.48.2; de-__P -- the hack is long since useless. Discussed with christos, matt, kleink, others. Approved by christos.
|
#
1.47 |
|
16-Nov-2004 |
itojun |
remove NI_WITHSCOPEID
|
#
1.46 |
|
07-Nov-2004 |
christos |
Resolve conflicts.
|
#
1.45 |
|
17-Aug-2004 |
jmc |
Fix proto for gethostent to match reality (takes void args)
|
#
1.44 |
|
17-Aug-2004 |
ginsbach |
Restore gethostent() as a supported interface. Yes, it maybe obsolete but it is specified by IEEE Std 1003.1, 2004 Edition (POSIX) and the X/Open standards (Issue 6 and XNS 5.2).
* revert change removing gethostent() from gethostbyname(3) man page * delete kruft from gethnamaddr.c leaving only gethostent() as a wrapper around _gethtent(). * revert recent changes to <netdb.h> + restore gethostent() prototype + restore freehostent() prototype; handle similar to non-shipped getipnodby*() prototypes + use correct XOPEN_SOURCE version (520 not 500) for freeaddrinfo() prototype; interface specified by XNS5.2 not XNS5
Reviewd by <christos> and <drochner>.
|
#
1.43 |
|
11-Aug-2004 |
drochner |
Delete prototypes for gethostent() and freehostent(); there functions don't exist in libc.
|
#
1.42 |
|
25-May-2004 |
christos |
notyet is in the users namespace as pointed out by klaus.
|
#
1.41 |
|
25-May-2004 |
christos |
we don't implement getipnode*(), so don't define their flags for now. It confuses some software (ntpd).
|
#
1.40 |
|
24-May-2004 |
yamt |
remove a duplicated prototype of getprotoent_r.
|
#
1.39 |
|
21-May-2004 |
christos |
Import selected changes from bind9. Follow the copyright structure there.
|
#
1.38 |
|
08-May-2004 |
kleink |
* __sparc64__ -> __sparc__ && _LP64, * add a comment on the purpose of __ai_pad0. Both suggested by mrg.
|
#
1.37 |
|
08-May-2004 |
kleink |
struct netnet.n_net used to be an unsigned long integer.
In XNS5, and subsequently in POSIX-2001 it was changed to socklen_t.
To accomodate for this while preserving binary compatibility with the old interface, prepend or append 32 bits of padding, depending on the (LP64 data model) architecture's endianness. Fixes PR standards/21411 from Ben Harris.
This should be deleted the next time the libc major number is incremented.
Also, update getnetbyaddr(3)'s `net' argument accordingly.
|
#
1.36 |
|
14-Apr-2004 |
itojun |
fix comment (there could be more than 3 AI_xxx)
|
#
1.35 |
|
14-Apr-2004 |
itojun |
implement AI_NUMERICSERV (as defined in RFC3493)
|
Revision tags: netbsd-2-0-base
|
#
1.34 |
|
20-Mar-2004 |
christos |
branches: 1.34.2; Do not expose the current implementation of the serv*_r proto*_r functions, since this is not how we will implement them when we do. From discussions with Brian Ginsbach and Soda-san.
|
#
1.33 |
|
23-Feb-2004 |
christos |
in servent and protent data: - add a dummy field for extensions. - add a line field to keep the current line buffer.
|
#
1.32 |
|
19-Feb-2004 |
christos |
protoent_r/servent_r
|
#
1.31 |
|
07-Aug-2003 |
agc |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22270, verified by myself.
|
#
1.30 |
|
05-May-2003 |
bjh21 |
Header cleanup: * IPv6 functions are in POSIX-2001, so make them visible there. * freehostent(), getipnodebyaddr() and getipnodebyname() are _only_ in XNS5.2, so don't expose them to XSH6 or POSIX applications.
|
#
1.29 |
|
28-Apr-2003 |
bjh21 |
Add a new feature-test macro, _NETBSD_SOURCE. If this is defined by the application, all NetBSD interfaces are made visible, even if some other feature-test macro (like _POSIX_C_SOURCE) is defined. <sys/featuretest.h> defined _NETBSD_SOURCE if none of _ANSI_SOURCE, _POSIX_C_SOURCE and _XOPEN_SOURCE is defined, so as to preserve existing behaviour.
This has two major advantages: + Programs that require non-POSIX facilities but define _POSIX_C_SOURCE can trivially be overruled by putting -D_NETBSD_SOURCE in their CFLAGS. + It makes most of the #ifs simpler, in that they're all now ORs of the various macros, rather than having checks for (!defined(_ANSI_SOURCE) || !defined(_POSIX_C_SOURCE) || !defined(_XOPEN_SOURCE)) all over the place.
I've tried not to change the semantics of the headers in any case where _NETBSD_SOURCE wasn't defined, but there were some places where the current semantics were clearly mad, and retaining them was harder than correcting them. In particular, I've mostly normalised things so that _ANSI_SOURCE gets you the smallest set of stuff, then _POSIX_C_SOURCE, _XOPEN_SOURCE and _NETBSD_SOURCE in that order.
Tested by building for vax, encouraged by thorpej, and uncontested in tech-userlevel for a week.
|
Revision tags: nathanw_sa_before_merge nathanw_sa_base
|
#
1.28 |
|
06-Jan-2003 |
wiz |
compatibility, not compatiblity.
|
Revision tags: fvdl_fs64_base
|
#
1.27 |
|
26-Aug-2002 |
itojun |
remove unused/unsupported AI_xx. notified by PR 18072
|
#
1.26 |
|
22-May-2002 |
kleink |
Turn the flags argument to getnameinfo(3) back into an int (from unsigned int); this is consistent with RFC2553, the current draft-ietf-ipngwg- rfc2553bis-05 and the majority of deployed implementations.
Also, there is an effort under way to have this changed back to int in XBD6/XSH6, XNS, and POSIX-2001 TC1.
|
Revision tags: netbsd-1-6-base
|
#
1.25 |
|
14-May-2002 |
kleink |
branches: 1.25.2; More XNS5.2/POSIX-2001 alignment: change the flags argument to getnameinfo() from int to unsigned int.
|
#
1.24 |
|
14-May-2002 |
kleink |
Align with XNS5.2/POSIX-2001: change hostlen and servlen arguments to getnameinfo() from size_t to socklen_t.
|
#
1.23 |
|
14-May-2002 |
kleink |
struct addrinfo.ai_addrlen used to be a size_t, per RFC 2553.
In XNS5.2, and subsequently in POSIX-2001 and draft-ietf-ipngwg-rfc2553bis-02 it was changed to a socklen_t.
To accomodate for this while preserving binary compatibility with the old interface, prepend or append 32 bits of padding, depending on the (LP64 data model) architecture's endianness.
This should be deleted the next time the libc major number is incremented.
|
#
1.22 |
|
10-May-2002 |
kleink |
Update several name space/feature protection tests to check for _XOPEN_SOURCE >= 520 (XNS 5.2), either rigging it for that version or replacing the (wrong) test for >= 500.
|
#
1.21 |
|
26-Apr-2001 |
kleink |
Change the `len' arguemtn to gethostbyaddr(3) from int to socklen_t in accordance with XNS5.2; fixes PR standards/12703.
|
#
1.20 |
|
30-Jul-2000 |
lukem |
branches: 1.20.2; be consistent with #define<TAB> usage
|
#
1.19 |
|
28-Jul-2000 |
kleink |
Avoid recursion with traditional cpp.
|
Revision tags: netbsd-1-5-base
|
#
1.18 |
|
04-Jun-2000 |
itojun |
branches: 1.18.2; correct arg type for getnameinfo(3) for RFC2553 conformance.
|
Revision tags: minoura-xpg4dl-base
|
#
1.17 |
|
09-Feb-2000 |
itojun |
branches: 1.17.2; revise extended scoped address format support. delimiter and the order is changed, based on discussion in ipngwg scoped address cabal. past code: fe80::1@de0 now: de0%fe80::1 this will be in sync with next extended address format proposal (which should be final - I don't want to make this kind of change again).
|
#
1.16 |
|
05-Jan-2000 |
mjl |
Correct typo in comment.
|
Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base
|
#
1.15 |
|
20-Dec-1999 |
itojun |
hide functions that are not supplied.
|
#
1.14 |
|
12-Dec-1999 |
itojun |
add #define for kame's extension to scoped IPv6 numeric address. (see draft-ietf-ipngwg-scopedaddr-format-00.txt)
|
Revision tags: comdex-fall-1999-base
|
#
1.13 |
|
03-Jul-1999 |
kleink |
branches: 1.13.4; * Since we actually only need size_t to be defined, nuke the previous inclusion of <sys/types.h> and define size_t via <machine/ansi.h>. * Various namespace protection issues, using XNS5.2 D2.0 as a reference.
|
#
1.12 |
|
01-Jul-1999 |
itojun |
define IPv6 library functions and structures, as defined in RFC2292 and RFC2553. define internal state structure for IPv6-transport resolver.
Commits for source code will follow.
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.11 |
|
10-May-1998 |
kleink |
* Remove the inclusion of <sys/param.h>; the most common use for this was the MAXHOSTNAMELEN constant whose semantics are not intended for network database lookup operations, and which pollutes name space. * Per XSH98, provide symbols from <inttypes.h>. * Add various bits of name space protection.
|
#
1.10 |
|
03-Feb-1998 |
perry |
fix/restore Id
|
#
1.9 |
|
02-Feb-1998 |
perry |
merge lite-2
|
Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
|
#
1.8 |
|
13-Oct-1997 |
lukem |
rcsid fascism
|
#
1.7 |
|
13-Apr-1997 |
mrg |
merge bind 4.9.5-P1.
|
Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
|
#
1.6 |
|
02-Feb-1996 |
mrg |
update these for bind 4.9.3-p1.
|
Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
|
#
1.5 |
|
03-Jul-1995 |
jtc |
Declare h_error as suggested by PR #1065 and done by many other systems.
|
#
1.4 |
|
26-Oct-1994 |
cgd |
new RCS ID format.
|
Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
|
#
1.3 |
|
07-Apr-1994 |
deraadt |
new resolver. changes from 4.9.2 by <paul@vix.com>, as well as a number of features and optimizations by myself.
|
#
1.2 |
|
01-Aug-1993 |
mycroft |
Add RCS identifiers.
|
#
1.1 |
|
21-Mar-1993 |
cgd |
branches: 1.1.1; Initial revision
|