The NetBSD Project

CVS log for src/include/netdb.h

[BACK] Up to [cvs.NetBSD.org] / src / include

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.72 / (download) - annotate - [select for diffs], Fri Feb 16 11:13:59 2024 UTC (2 months ago) by jkoshy
Branch: MAIN
CVS Tags: HEAD
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored) to selected 1.48.2.1 (colored)

Note that the NI_WITHSCOPEID flag is obsolete.

Revision 1.71 / (download) - annotate - [select for diffs], Mon Aug 9 20:49:08 2021 UTC (2 years, 8 months ago) by andvar
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.70: +2 -2 lines
Diff to previous 1.70 (colored) to selected 1.48.2.1 (colored)

fix various typos in compatibility, mainly in comments.

Revision 1.70 / (download) - annotate - [select for diffs], Thu Jun 4 11:21:16 2020 UTC (3 years, 10 months ago) by nia
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.69: +4 -6 lines
Diff to previous 1.69 (colored) to selected 1.48.2.1 (colored)

Remove bogus tests for 64-bit i386 and SuperH

Revision 1.65.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:05 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.65.2.1: +1 -1 lines
Diff to previous 1.65.2.1 (colored) to branchpoint 1.65 (colored) next main 1.66 (colored) to selected 1.48.2.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.64.6.2 / (download) - annotate - [select for diffs], Thu May 22 11:36:35 2014 UTC (9 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.64.6.1: +11 -5 lines
Diff to previous 1.64.6.1 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored) to selected 1.48.2.1 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.69 / (download) - annotate - [select for diffs], Mon Aug 19 07:18:42 2013 UTC (10 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, is-mlppp-base, is-mlppp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored) to selected 1.48.2.1 (colored)

fix gethostbyaddr prototype per TOG.

Revision 1.65.2.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:28:49 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.65: +10 -4 lines
Diff to previous 1.65 (colored) to selected 1.48.2.1 (colored)

resync from head

Revision 1.68 / (download) - annotate - [select for diffs], Sat May 4 00:37:47 2013 UTC (10 years, 11 months ago) by riz
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.67: +2 -1 lines
Diff to previous 1.67 (colored) to selected 1.48.2.1 (colored)

Add missing #endif (Hi, Christos!)

Revision 1.67 / (download) - annotate - [select for diffs], Fri May 3 19:34:13 2013 UTC (10 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.66: +8 -2 lines
Diff to previous 1.66 (colored) to selected 1.48.2.1 (colored)

PR/25827, PR/32373: addr AI_SRV

Revision 1.66 / (download) - annotate - [select for diffs], Sat Apr 27 21:22:05 2013 UTC (10 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.65: +2 -3 lines
Diff to previous 1.65 (colored) to selected 1.48.2.1 (colored)

machine/ansi.h is included by sys/ansi.h.

Revision 1.64.8.1 / (download) - annotate - [select for diffs], Sun Jun 3 21:41:34 2012 UTC (11 years, 10 months ago) by jdc
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.64: +4 -2 lines
Diff to previous 1.64 (colored) next main 1.65 (colored) to selected 1.48.2.1 (colored)

Pull up revisions:
  src/lib/libc/net/getaddrinfo.c revision 1.98 - 1.100
  src/include/netdb.h revision 1.65
(requested by khorben in ticket #278).

Add AI_ADDRCONFIG, which makes getaddrinfo() return only address with
families
that are already configured in the system.

PR 46206: fix programmed SIGSEGV
more work is needed as tests seem to indicate that name resolution now
does no seem to work (firefox reports Server not found)
thanks to Ryo ONODERA for testing.

PR pkg/46206
re-establish fqdn lookup when AI_ADDRCONFIG is used in hints
AI_ADDRCONFIG led to fqdn lookup being skipped as the systems didn't
configure any PF_UNSPEC addresses - check was too strict here.
Thnaks to Ryo ONODERA for testing.

Revision 1.64.6.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:10 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.64: +4 -2 lines
Diff to previous 1.64 (colored) to selected 1.48.2.1 (colored)

sync with head

Revision 1.65 / (download) - annotate - [select for diffs], Sat Mar 17 21:57:48 2012 UTC (12 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.64: +4 -2 lines
Diff to previous 1.64 (colored) to selected 1.48.2.1 (colored)

Add AI_ADDRCONFIG

Revision 1.55.2.1.2.1 / (download) - annotate - [select for diffs], Sun Jan 23 21:52:32 2011 UTC (13 years, 2 months ago) by bouyer
Branch: netbsd-4-0
Changes since 1.55.2.1: +2 -1 lines
Diff to previous 1.55.2.1 (colored) next main 1.55.2.2 (colored) to selected 1.48.2.1 (colored)

Apply patch, requested by spz in ticket 1413:
	dist/bind/							patch
	include/resolv.h						patch
	include/arpa/nameser.h:						patch
	lib/libc/include/isc/assertions.h:				patch
	lib/libc/include/isc/eventlib.h					patch
	lib/libc/isc/assertions.c:					patch
	lib/libc/nameser/ns_parse.c					patch
	lib/libc/resolv/herror.c:					patch
	lib/libc/resolv/res_init.c					patch
	lib/libc/resolv/res_mkquery.c:					patch
	lib/libc/resolv/res_query.c					patch
	lib/libc/resolv/res_send.c:					patch
	usr.sbin/bind/Makefile.inc					patch
	usr.sbin/bind/include/config.h:					patch
	usr.sbin/bind/include/dns/code.h:				patch
	usr.sbin/bind/include/dns/enumclass.h:				patch
	usr.sbin/bind/include/dns/enumtype.h:				patch
	usr.sbin/bind/include/dns/rdatastruct.h:			patch
	usr.sbin/bind/include/isc/platform.h:				patch
	usr.sbin/bind/include/lwres/netdb.h:				patch
	usr.sbin/bind/include/lwres/platform.h:				patch
	usr.sbin/bind/libisc/Makefile:					patch
	lib/libc/inet/inet_addr.c 					new file

Update bind to  9.4-ESV-R4, latest version of the 9.4 line.

Revision 1.55.2.2 / (download) - annotate - [select for diffs], Sun Jan 23 21:47:49 2011 UTC (13 years, 2 months ago) by bouyer
Branch: netbsd-4
Changes since 1.55.2.1: +2 -1 lines
Diff to previous 1.55.2.1 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored) to selected 1.48.2.1 (colored)

Apply patch, requested by spz in ticket 1413:
	dist/bind/							patch
	include/resolv.h						patch
	include/arpa/nameser.h:						patch
	lib/libc/include/isc/assertions.h:				patch
	lib/libc/include/isc/eventlib.h					patch
	lib/libc/isc/assertions.c:					patch
	lib/libc/nameser/ns_parse.c					patch
	lib/libc/resolv/herror.c:					patch
	lib/libc/resolv/res_init.c					patch
	lib/libc/resolv/res_mkquery.c:					patch
	lib/libc/resolv/res_query.c					patch
	lib/libc/resolv/res_send.c:					patch
	usr.sbin/bind/Makefile.inc					patch
	usr.sbin/bind/include/config.h:					patch
	usr.sbin/bind/include/dns/code.h:				patch
	usr.sbin/bind/include/dns/enumclass.h:				patch
	usr.sbin/bind/include/dns/enumtype.h:				patch
	usr.sbin/bind/include/dns/rdatastruct.h:			patch
	usr.sbin/bind/include/isc/platform.h:				patch
	usr.sbin/bind/include/lwres/netdb.h:				patch
	usr.sbin/bind/include/lwres/platform.h:				patch
	usr.sbin/bind/libisc/Makefile:					patch
	lib/libc/inet/inet_addr.c 					new file

Update bind to  9.4-ESV-R4, latest version of the 9.4 line.

Revision 1.60.10.1 / (download) - annotate - [select for diffs], Mon Jan 10 00:42:15 2011 UTC (13 years, 3 months ago) by riz
Branch: netbsd-5-0
Changes since 1.60: +8 -5 lines
Diff to previous 1.60 (colored) next main 1.61 (colored) to selected 1.48.2.1 (colored)

Apply patches (requested by spz in ticket #1517):

Update bind to 9.7.2-P3.

Revision 1.60.14.1 / (download) - annotate - [select for diffs], Sun Jan 9 20:43:27 2011 UTC (13 years, 3 months ago) by riz
Branch: netbsd-5-1
CVS Tags: netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE
Changes since 1.60: +8 -5 lines
Diff to previous 1.60 (colored) next main 1.61 (colored) to selected 1.48.2.1 (colored)

Apply patches (requested by spz in ticket #1517):

Update bind to 9.7.2-P3.

Revision 1.60.4.1 / (download) - annotate - [select for diffs], Thu Jan 6 21:42:46 2011 UTC (13 years, 3 months ago) by riz
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2
Changes since 1.60: +8 -5 lines
Diff to previous 1.60 (colored) next main 1.61 (colored) to selected 1.48.2.1 (colored)

Apply patches (requested by spz in ticket #1517):

Update bind to 9.7.2-P3.

Revision 1.62.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:40:01 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.62.2.1: +1 -2 lines
Diff to previous 1.62.2.1 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored) to selected 1.48.2.1 (colored)

Sync with HEAD.

Revision 1.64 / (download) - annotate - [select for diffs], Wed May 5 17:12:29 2010 UTC (13 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, netbsd-6-base, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, netbsd-6
Changes since 1.63: +2 -3 lines
Diff to previous 1.63 (colored) to selected 1.48.2.1 (colored)

PR/43258: Hauke Fath: remove duplicate setservent declaration

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:36:17 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.62: +4 -1 lines
Diff to previous 1.62 (colored) to selected 1.48.2.1 (colored)

Sync with HEAD.

Revision 1.63 / (download) - annotate - [select for diffs], Sun Apr 25 00:54:45 2010 UTC (13 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.62: +4 -1 lines
Diff to previous 1.62 (colored) to selected 1.48.2.1 (colored)

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 1.62 / (download) - annotate - [select for diffs], Fri Oct 2 02:45:29 2009 UTC (14 years, 6 months ago) by tsarna
Branch: MAIN
CVS Tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Changes since 1.61: +2 -1 lines
Diff to previous 1.61 (colored) to selected 1.48.2.1 (colored)

Introduce allocaddrinfo(3) to make writing getaddrinfo() nss plugins easier.
Discussed on tech-net.

Revision 1.60.8.1 / (download) - annotate - [select for diffs], Wed May 13 19:18:19 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored) next main 1.61 (colored) to selected 1.48.2.1 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.61 / (download) - annotate - [select for diffs], Sun Apr 12 17:07:33 2009 UTC (15 years ago) by christos
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored) to selected 1.48.2.1 (colored)

merge libbind

Revision 1.1.1.7 / (download) - annotate - [select for diffs] (vendor branch), Sun Apr 12 16:06:26 2009 UTC (15 years ago) by christos
Branch: WFJ-920714, ISC, CSRG
CVS Tags: libbind-6-0rc1
Changes since 1.1.1.6: +138 -139 lines
Diff to previous 1.1.1.6 (colored) to selected 1.48.2.1 (colored)

import libbind include files.

Revision 1.59.14.1 / (download) - annotate - [select for diffs], Fri Jun 27 13:47:37 2008 UTC (15 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.59: +9 -2 lines
Diff to previous 1.59 (colored) next main 1.60 (colored) to selected 1.48.2.1 (colored)

Sync with head.

Revision 1.59.12.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:29:29 2008 UTC (15 years, 10 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.59: +9 -2 lines
Diff to previous 1.59 (colored) next main 1.60 (colored) to selected 1.48.2.1 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.60.6.2 / (download) - annotate - [select for diffs], Sat Jun 21 20:12:50 2008 UTC (15 years, 10 months ago) by christos
Branch: christos-time_t
Changes since 1.60.6.1: +352 -0 lines
Diff to previous 1.60.6.1 (colored) to branchpoint 1.60 (colored) next main 1.61 (colored) to selected 1.48.2.1 (colored)

sync with bind-9-5-0

Revision 1.60.6.1, Sat Jun 21 20:12:49 2008 UTC (15 years, 10 months ago) by christos
Branch: christos-time_t
Changes since 1.60: +0 -352 lines
FILE REMOVED

file netdb.h was added on branch christos-time_t on 2008-06-21 20:12:50 +0000

Revision 1.60 / (download) - annotate - [select for diffs], Sat Jun 21 20:12:49 2008 UTC (15 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, netbsd-5-base, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, christos-time_t-nbase, christos-time_t-base
Branch point for: netbsd-5-1, netbsd-5-0, netbsd-5, jym-xensuspend, christos-time_t
Changes since 1.59: +9 -2 lines
Diff to previous 1.59 (colored) to selected 1.48.2.1 (colored)

sync with bind-9-5-0

Revision 1.55.4.1 / (download) - annotate - [select for diffs], Sun Jun 3 17:25:51 2007 UTC (16 years, 10 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.55: +56 -55 lines
Diff to previous 1.55 (colored) next main 1.56 (colored) to selected 1.48.2.1 (colored)

Catch up with now-somewhat-dated netbsd-4. These changes took longer
than expected for me to actually get around to merging.

Revision 1.55.2.1 / (download) - annotate - [select for diffs], Thu May 17 21:25:10 2007 UTC (16 years, 11 months ago) by jdc
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE
Branch point for: netbsd-4-0
Changes since 1.55: +56 -55 lines
Diff to previous 1.55 (colored) to selected 1.48.2.1 (colored)

Add missing BIND 9.4.x include file and library changes (requested by
tron in ticket #662).

Revision 1.59 / (download) - annotate - [select for diffs], Thu May 10 17:45:50 2007 UTC (16 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: wrstuden-revivesa, simonb-wapbl
Changes since 1.58: +2 -2 lines
Diff to previous 1.58 (colored) to selected 1.48.2.1 (colored)

Move .db files for services and netgroup to /var/db per gimpy's request.

Revision 1.58 / (download) - annotate - [select for diffs], Fri Mar 30 19:57:16 2007 UTC (17 years ago) by ghen
Branch: MAIN
Changes since 1.57: +1 -1 lines
Diff to previous 1.57 (colored) to selected 1.48.2.1 (colored)

Resolve conflicts.

Revision 1.1.1.6 / (download) - annotate - [select for diffs] (vendor branch), Fri Mar 30 19:48:20 2007 UTC (17 years ago) by ghen
Branch: WFJ-920714, ISC, CSRG
CVS Tags: bind-9-4-0
Changes since 1.1.1.5: +3 -1 lines
Diff to previous 1.1.1.5 (colored) to selected 1.48.2.1 (colored)

Import bind 9.4.0.

Revision 1.57 / (download) - annotate - [select for diffs], Sun Jan 28 01:48:03 2007 UTC (17 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored) to selected 1.48.2.1 (colored)

another merge botch.

Revision 1.56 / (download) - annotate - [select for diffs], Sat Jan 27 21:25:23 2007 UTC (17 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.55: +55 -54 lines
Diff to previous 1.55 (colored) to selected 1.48.2.1 (colored)

Merge back all our changes.

Revision 1.1.1.5 / (download) - annotate - [select for diffs] (vendor branch), Sat Jan 27 19:49:26 2007 UTC (17 years, 2 months ago) by christos
Branch: WFJ-920714, ISC, CSRG
CVS Tags: bind-9-4-0-rc2
Changes since 1.1.1.4: +99 -68 lines
Diff to previous 1.1.1.4 (colored) to selected 1.48.2.1 (colored)

import files from bind-9-4-0-rc2

Revision 1.55 / (download) - annotate - [select for diffs], Fri Nov 24 19:46:58 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-4-base
Branch point for: wrstuden-fixsa, netbsd-4
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored) to selected 1.48.2.1 (colored)

fix spelling of accommodate; from Zapher.

Revision 1.54 / (download) - annotate - [select for diffs], Thu Jul 27 18:29:01 2006 UTC (17 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.53: +4 -1 lines
Diff to previous 1.53 (colored) to selected 1.48.2.1 (colored)

add services.db

Revision 1.53 / (download) - annotate - [select for diffs], Fri Feb 17 15:55:01 2006 UTC (18 years, 2 months ago) by ginsbach
Branch: MAIN
Changes since 1.52: +5 -4 lines
Diff to previous 1.52 (colored) to selected 1.48.2.1 (colored)

Add EAI_OVERFLOW as specified in RFC3493, POSIX and XPG6.

Revision 1.52 / (download) - annotate - [select for diffs], Tue Jan 24 17:08:58 2006 UTC (18 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored) to selected 1.48.2.1 (colored)

PR/32614: Yves-Emmanuel JUTARD: Typing error in some comment ;-)

Revision 1.34.2.1.2.2 / (download) - annotate - [select for diffs], Tue Jul 5 18:34:32 2005 UTC (18 years, 9 months ago) by riz
Branch: netbsd-2
CVS Tags: netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1
Changes since 1.34.2.1.2.1: +15 -6 lines
Diff to previous 1.34.2.1.2.1 (colored) to branchpoint 1.34.2.1 (colored) next main 1.35 (colored) to selected 1.48.2.1 (colored)

Pull up revisions 1.37 - 1.38 (requested by kleink in ticket #2015):
1.37:
struct netent.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.38:
* __sparc64__ -> __sparc__ && _LP64,
* add a comment on the purpose of __ai_pad0.
Both suggested by mrg.

Revision 1.34.2.1.2.1 / (download) - annotate - [select for diffs], Tue May 24 23:39:44 2005 UTC (18 years, 10 months ago) by riz
Branch: netbsd-2
Changes since 1.34.2.1: +3 -1 lines
Diff to previous 1.34.2.1 (colored) to selected 1.48.2.1 (colored)

Pull up revision 1.51 via patch (requested by kleink in ticket #1547):
Instead of pulling in all of <wchar.h>, just define wchar_t here.
Addresses PR lib/29987.

Revision 1.48.2.2 / (download) - annotate - [select for diffs], Thu Apr 21 16:59:28 2005 UTC (19 years ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.48.2.1: +0 -40 lines
Diff to previous 1.48.2.1 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

Pull up revision 1.51 (requested by kleink in ticket #172):
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.

Revision 1.51 / (download) - annotate - [select for diffs], Mon Apr 18 19:39:45 2005 UTC (19 years ago) by kleink
Branch: MAIN
Changes since 1.50: +1 -41 lines
Diff to previous 1.50 (colored) to selected 1.48.2.1 (colored)

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.

Revision 1.48.2.1 / (download) - annotate - [selected], Mon Mar 21 23:07:15 2005 UTC (19 years, 1 month ago) by tron
Branch: netbsd-3
Changes since 1.48: +7 -5 lines
Diff to previous 1.48 (colored)

Pull up revision 1.50 (requested by kleink in ticket #40):
Add restrict qualifiers to getaddrinfo() and getnameinfo() arguments.

Revision 1.50 / (download) - annotate - [select for diffs], Mon Mar 21 13:30:50 2005 UTC (19 years, 1 month ago) by kleink
Branch: MAIN
Changes since 1.49: +7 -5 lines
Diff to previous 1.49 (colored) to selected 1.48.2.1 (colored)

Add restrict qualifiers to getaddrinfo() and getnameinfo() arguments.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Mar 17 10:16:14 2005 UTC (19 years, 1 month ago) by kleink
Branch: MAIN
Changes since 1.48: +1 -18 lines
Diff to previous 1.48 (colored) to selected 1.48.2.1 (colored)

Remove already #if 0'ed getipnode*() prototypes and related definitions;
we are not going to ship those.

Revision 1.48 / (download) - annotate - [select for diffs], Thu Feb 3 04:39:32 2005 UTC (19 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.47: +49 -49 lines
Diff to previous 1.47 (colored) to selected 1.48.2.1 (colored)

de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.

Revision 1.47 / (download) - annotate - [select for diffs], Tue Nov 16 06:00:51 2004 UTC (19 years, 5 months ago) by itojun
Branch: MAIN
Changes since 1.46: +1 -4 lines
Diff to previous 1.46 (colored) to selected 1.48.2.1 (colored)

remove NI_WITHSCOPEID

Revision 1.46 / (download) - annotate - [select for diffs], Sun Nov 7 01:48:01 2004 UTC (19 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.45: +1 -1 lines
Diff to previous 1.45 (colored) to selected 1.48.2.1 (colored)

Resolve conflicts.

Revision 1.1.1.4 / (download) - annotate - [select for diffs] (vendor branch), Sun Nov 7 01:33:17 2004 UTC (19 years, 5 months ago) by christos
Branch: WFJ-920714, ISC, CSRG
CVS Tags: bind-9-3-0
Changes since 1.1.1.3: +418 -10 lines
Diff to previous 1.1.1.3 (colored) to selected 1.48.2.1 (colored)

Import again.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Sat Sep 11 11:52:52 2004 UTC (19 years, 7 months ago) by he
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE
Branch point for: netbsd-2
Changes since 1.34: +4 -2 lines
Diff to previous 1.34 (colored) next main 1.35 (colored) to selected 1.48.2.1 (colored)

Pull up revisions 1.43-1.45 (requested by ginsbach in ticket #834):
  Restore gethostent() as a supported interface.  Yes, it
  may be obsolete, but it is specified by IEEE Std 1003.1,
  2004 Edition (POSIX) and the X/Open standards (Issue 66
  and XNS 5.2).
  Here: remove freehostent() declaration, since that one is
  no longer in libc.

Revision 1.45 / (download) - annotate - [select for diffs], Tue Aug 17 04:24:16 2004 UTC (19 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored) to selected 1.48.2.1 (colored)

Fix proto for gethostent to match reality (takes void args)

Revision 1.44 / (download) - annotate - [select for diffs], Tue Aug 17 02:29:56 2004 UTC (19 years, 8 months ago) by ginsbach
Branch: MAIN
Changes since 1.43: +8 -1 lines
Diff to previous 1.43 (colored) to selected 1.48.2.1 (colored)

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>.

Revision 1.43 / (download) - annotate - [select for diffs], Wed Aug 11 16:13:00 2004 UTC (19 years, 8 months ago) by drochner
Branch: MAIN
Changes since 1.42: +1 -6 lines
Diff to previous 1.42 (colored) to selected 1.48.2.1 (colored)

Delete prototypes for gethostent() and freehostent();
there functions don't exist in libc.

Revision 1.42 / (download) - annotate - [select for diffs], Tue May 25 14:49:38 2004 UTC (19 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored) to selected 1.48.2.1 (colored)

notyet is in the users namespace as pointed out by klaus.

Revision 1.41 / (download) - annotate - [select for diffs], Tue May 25 13:55:48 2004 UTC (19 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.40: +3 -1 lines
Diff to previous 1.40 (colored) to selected 1.48.2.1 (colored)

we don't implement getipnode*(), so don't define their flags for now. It
confuses some software (ntpd).

Revision 1.40 / (download) - annotate - [select for diffs], Mon May 24 12:34:28 2004 UTC (19 years, 11 months ago) by yamt
Branch: MAIN
Changes since 1.39: +1 -2 lines
Diff to previous 1.39 (colored) to selected 1.48.2.1 (colored)

remove a duplicated prototype of getprotoent_r.

Revision 1.39 / (download) - annotate - [select for diffs], Fri May 21 02:14:39 2004 UTC (19 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.38: +68 -43 lines
Diff to previous 1.38 (colored) to selected 1.48.2.1 (colored)

Import selected changes from bind9. Follow the copyright structure there.

Revision 1.38 / (download) - annotate - [select for diffs], Sat May 8 18:55:23 2004 UTC (19 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.37: +4 -4 lines
Diff to previous 1.37 (colored) to selected 1.48.2.1 (colored)

* __sparc64__ -> __sparc__ && _LP64,
* add a comment on the purpose of __ai_pad0.
Both suggested by mrg.

Revision 1.37 / (download) - annotate - [select for diffs], Sat May 8 18:52:15 2004 UTC (19 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.36: +12 -3 lines
Diff to previous 1.36 (colored) to selected 1.48.2.1 (colored)

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.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Apr 14 04:37:59 2004 UTC (20 years ago) by itojun
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored) to selected 1.48.2.1 (colored)

fix comment (there could be more than 3 AI_xxx)

Revision 1.35 / (download) - annotate - [select for diffs], Wed Apr 14 04:37:06 2004 UTC (20 years ago) by itojun
Branch: MAIN
Changes since 1.34: +6 -4 lines
Diff to previous 1.34 (colored) to selected 1.48.2.1 (colored)

implement AI_NUMERICSERV (as defined in RFC3493)

Revision 1.34 / (download) - annotate - [select for diffs], Sat Mar 20 18:22:22 2004 UTC (20 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored) to selected 1.48.2.1 (colored)

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.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Feb 23 16:05:19 2004 UTC (20 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.32: +5 -1 lines
Diff to previous 1.32 (colored) to selected 1.48.2.1 (colored)

in servent and protent data:
- add a dummy field for extensions.
- add a line field to keep the current line buffer.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Feb 19 19:30:30 2004 UTC (20 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.31: +38 -1 lines
Diff to previous 1.31 (colored) to selected 1.48.2.1 (colored)

protoent_r/servent_r

Revision 1.31 / (download) - annotate - [select for diffs], Thu Aug 7 09:44:10 2003 UTC (20 years, 8 months ago) by agc
Branch: MAIN
Changes since 1.30: +2 -6 lines
Diff to previous 1.30 (colored) to selected 1.48.2.1 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22270, verified by myself.

Revision 1.30 / (download) - annotate - [select for diffs], Mon May 5 14:20:03 2003 UTC (20 years, 11 months ago) by bjh21
Branch: MAIN
Changes since 1.29: +17 -10 lines
Diff to previous 1.29 (colored) to selected 1.48.2.1 (colored)

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.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Apr 28 23:16:14 2003 UTC (20 years, 11 months ago) by bjh21
Branch: MAIN
Changes since 1.28: +20 -19 lines
Diff to previous 1.28 (colored) to selected 1.48.2.1 (colored)

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 1.20.2.4 / (download) - annotate - [select for diffs], Wed Jan 8 20:53:38 2003 UTC (21 years, 3 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.20.2.3: +2 -2 lines
Diff to previous 1.20.2.3 (colored) next main 1.21 (colored) to selected 1.48.2.1 (colored)

Sync with HEAD.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jan 6 13:26:25 2003 UTC (21 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored) to selected 1.48.2.1 (colored)

compatibility, not compatiblity.

Revision 1.18.2.4 / (download) - annotate - [select for diffs], Wed Sep 4 00:34:49 2002 UTC (21 years, 7 months ago) by itojun
Branch: netbsd-1-5
Changes since 1.18.2.3: +1 -14 lines
Diff to previous 1.18.2.3 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored) to selected 1.48.2.1 (colored)

pullup include/netdb.h 1.27 (itojun)

remove unused/unsupported AI_xx.  notified by PR 18072

Revision 1.20.2.3 / (download) - annotate - [select for diffs], Tue Aug 27 23:52:36 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.20.2.2: +1 -16 lines
Diff to previous 1.20.2.2 (colored) to selected 1.48.2.1 (colored)

Catch up to -current.

Revision 1.25.2.2 / (download) - annotate - [select for diffs], Tue Aug 27 09:29:24 2002 UTC (21 years, 7 months ago) by lukem
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Changes since 1.25.2.1: +1 -16 lines
Diff to previous 1.25.2.1 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored) to selected 1.48.2.1 (colored)

Pull up revision 1.27 (requested by itojun in ticket #730):
remove unused/unsupported AI_xx.  notified by PR 18072

Revision 1.27 / (download) - annotate - [select for diffs], Mon Aug 26 13:38:19 2002 UTC (21 years, 7 months ago) by itojun
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.26: +1 -16 lines
Diff to previous 1.26 (colored) to selected 1.48.2.1 (colored)

remove unused/unsupported AI_xx.  notified by PR 18072

Revision 1.20.2.2 / (download) - annotate - [select for diffs], Fri Jun 21 18:17:08 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.20.2.1: +46 -21 lines
Diff to previous 1.20.2.1 (colored) to selected 1.48.2.1 (colored)

Catch up to -current.

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Sat May 25 18:18:55 2002 UTC (21 years, 11 months ago) by thorpej
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-RC1
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored) to selected 1.48.2.1 (colored)

Resolve pullup-1-6 ticket #14 (itojun), original commit message:

> 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 1.26 / (download) - annotate - [select for diffs], Wed May 22 09:42:37 2002 UTC (21 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored) to selected 1.48.2.1 (colored)

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 1.25 / (download) - annotate - [select for diffs], Tue May 14 14:35:36 2002 UTC (21 years, 11 months ago) by kleink
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored) to selected 1.48.2.1 (colored)

More XNS5.2/POSIX-2001 alignment: change the flags argument to
getnameinfo() from int to unsigned int.

Revision 1.24 / (download) - annotate - [select for diffs], Tue May 14 14:31:05 2002 UTC (21 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored) to selected 1.48.2.1 (colored)

Align with XNS5.2/POSIX-2001: change hostlen and servlen arguments to
getnameinfo() from size_t to socklen_t.

Revision 1.23 / (download) - annotate - [select for diffs], Tue May 14 13:45:13 2002 UTC (21 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.22: +28 -11 lines
Diff to previous 1.22 (colored) to selected 1.48.2.1 (colored)

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.

Revision 1.22 / (download) - annotate - [select for diffs], Fri May 10 22:02:11 2002 UTC (21 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.21: +19 -11 lines
Diff to previous 1.21 (colored) to selected 1.48.2.1 (colored)

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.

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Mon Oct 8 20:13:45 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored) to selected 1.48.2.1 (colored)

Catch up to -current.

Revision 1.18.2.3 / (download) - annotate - [select for diffs], Tue May 1 10:28:45 2001 UTC (22 years, 11 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.18.2.2: +2 -2 lines
Diff to previous 1.18.2.2 (colored) to branchpoint 1.18 (colored) to selected 1.48.2.1 (colored)

Pull up revision 1.19 (requested by kleink):
  Avoid traditional CPP recursion in definition of socklen_t.
  Fixes PR#12761.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Apr 26 12:55:31 2001 UTC (22 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored) to selected 1.48.2.1 (colored)

Change the `len' arguemtn to gethostbyaddr(3) from int to socklen_t in
accordance with XNS5.2; fixes PR standards/12703.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Jul 30 06:33:18 2000 UTC (23 years, 8 months ago) by lukem
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.19: +6 -6 lines
Diff to previous 1.19 (colored) to selected 1.48.2.1 (colored)

be consistent with #define<TAB> usage

Revision 1.18.2.2 / (download) - annotate - [select for diffs], Sun Jul 30 06:31:53 2000 UTC (23 years, 8 months ago) by lukem
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Changes since 1.18.2.1: +5 -5 lines
Diff to previous 1.18.2.1 (colored) to branchpoint 1.18 (colored) to selected 1.48.2.1 (colored)

revert previous (wrong branch )-:

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Sun Jul 30 06:29:13 2000 UTC (23 years, 8 months ago) by lukem
Branch: netbsd-1-5
Changes since 1.18: +6 -6 lines
Diff to previous 1.18 (colored) to selected 1.48.2.1 (colored)

be consistent with #define<TAB> usage

Revision 1.19 / (download) - annotate - [select for diffs], Fri Jul 28 09:38:15 2000 UTC (23 years, 8 months ago) by kleink
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored) to selected 1.48.2.1 (colored)

Avoid recursion with traditional cpp.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Fri Jun 23 15:45:57 2000 UTC (23 years, 10 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.17: +11 -2 lines
Diff to previous 1.17 (colored) next main 1.18 (colored) to selected 1.48.2.1 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jun 4 08:51:23 2000 UTC (23 years, 10 months ago) by itojun
Branch: MAIN
CVS Tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Changes since 1.17: +11 -2 lines
Diff to previous 1.17 (colored) to selected 1.48.2.1 (colored)

correct arg type for getnameinfo(3) for RFC2553 conformance.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Feb 9 12:25:07 2000 UTC (24 years, 2 months ago) by itojun
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored) to selected 1.48.2.1 (colored)

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).

Revision 1.16 / (download) - annotate - [select for diffs], Wed Jan 5 14:40:14 2000 UTC (24 years, 3 months ago) by mjl
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored) to selected 1.48.2.1 (colored)

Correct typo in comment.

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:29:22 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.13: +9 -1 lines
Diff to previous 1.13 (colored) next main 1.14 (colored) to selected 1.48.2.1 (colored)

Pull up to last week's -current.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Dec 20 06:48:11 1999 UTC (24 years, 4 months ago) by itojun
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.14: +3 -1 lines
Diff to previous 1.14 (colored) to selected 1.48.2.1 (colored)

hide functions that are not supplied.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Dec 12 10:49:37 1999 UTC (24 years, 4 months ago) by itojun
Branch: MAIN
Changes since 1.13: +7 -1 lines
Diff to previous 1.13 (colored) to selected 1.48.2.1 (colored)

add #define for kame's extension to scoped IPv6 numeric address.
(see draft-ietf-ipngwg-scopedaddr-format-00.txt)

Revision 1.13 / (download) - annotate - [select for diffs], Sat Jul 3 13:25:21 1999 UTC (24 years, 9 months ago) by kleink
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize
Changes since 1.12: +27 -3 lines
Diff to previous 1.12 (colored) to selected 1.48.2.1 (colored)

* 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.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Jul 1 18:15:41 1999 UTC (24 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.11: +100 -1 lines
Diff to previous 1.11 (colored) to selected 1.48.2.1 (colored)

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 1.11 / (download) - annotate - [select for diffs], Sun May 10 17:32:39 1998 UTC (25 years, 11 months ago) by kleink
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4
Changes since 1.10: +16 -3 lines
Diff to previous 1.10 (colored) to selected 1.48.2.1 (colored)

* 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.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Feb 3 04:20:36 1998 UTC (26 years, 2 months ago) by perry
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored) to selected 1.48.2.1 (colored)

fix/restore Id

Revision 1.9 / (download) - annotate - [select for diffs], Mon Feb 2 21:07:35 1998 UTC (26 years, 2 months ago) by perry
Branch: MAIN
Changes since 1.8: +8 -27 lines
Diff to previous 1.8 (colored) to selected 1.48.2.1 (colored)

merge lite-2

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Mon Feb 2 07:22:50 1998 UTC (26 years, 2 months ago) by perry
Branch: WFJ-920714, ISC, CSRG
CVS Tags: lite-2
Changes since 1.1.1.2: +10 -37 lines
Diff to previous 1.1.1.2 (colored) to selected 1.48.2.1 (colored)

import lite-2

Revision 1.8 / (download) - annotate - [select for diffs], Mon Oct 13 09:26:06 1997 UTC (26 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.7: +1 -1 lines
Diff to previous 1.7 (colored) to selected 1.48.2.1 (colored)

rcsid fascism

Revision 1.7 / (download) - annotate - [select for diffs], Sun Apr 13 09:26:21 1997 UTC (27 years ago) by mrg
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) to selected 1.48.2.1 (colored)

merge bind 4.9.5-P1.

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sun Apr 13 09:14:31 1997 UTC (27 years ago) by mrg
Branch: WFJ-920714, ISC, CSRG
CVS Tags: v4_9_5_P1
Changes since 1.1.1.1: +59 -10 lines
Diff to previous 1.1.1.1 (colored) to selected 1.48.2.1 (colored)

BIND 4.9.5-P1 include bits

Revision 1.6 / (download) - annotate - [select for diffs], Fri Feb 2 15:29:01 1996 UTC (28 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: nsswitch, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.5: +56 -12 lines
Diff to previous 1.5 (colored) to selected 1.48.2.1 (colored)

update these for bind 4.9.3-p1.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jul 3 22:59:12 1995 UTC (28 years, 9 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored) to selected 1.48.2.1 (colored)

Declare h_error as suggested by PR #1065 and done by many other systems.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Oct 26 00:56:09 1994 UTC (29 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (colored) to selected 1.48.2.1 (colored)

new RCS ID format.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Apr 7 06:58:29 1994 UTC (30 years ago) by deraadt
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.2: +4 -3 lines
Diff to previous 1.2 (colored) to selected 1.48.2.1 (colored)

new resolver. changes from 4.9.2 by <paul@vix.com>, as well as a number
of features and optimizations by myself.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 1 18:44:45 1993 UTC (30 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored) to selected 1.48.2.1 (colored)

Add RCS identifiers.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (31 years, 1 month ago) by cgd
Branch: WFJ-920714, ISC, CSRG
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9, netbsd-0-8, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.48.2.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (31 years, 1 month ago) by cgd
Branch: MAIN
Diff to selected 1.48.2.1 (colored)

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>