History log of /netbsd-current/lib/libc/net/getnetnamadr.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.45 05-Jun-2020 nia

Remove more bogus tests for 64-bit i386 and SuperH.

These are always false.


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 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 pgoyette-compat-base 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 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.44 26-Oct-2015 christos

put the state back after it is used.


# 1.43 26-Oct-2015 christos

PR/50367: Stefan Schaeckeler: Apply fix to obey RES_CHECKNAME to getnetbyaddr
and getnetbyname.


Revision tags: 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 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 tls-maxphys-base yamt-pagecache-base5 yamt-pagecache-base4
# 1.42 13-Mar-2012 christos

branches: 1.42.10; 1.42.12;
PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 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-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 jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base 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 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase wrstuden-revivesa-base
# 1.41 18-May-2008 lukem

branches: 1.41.2; 1.41.6; 1.41.22;
Fix possible memory leak in error path.
Part of PR 38677.


Revision tags: yamt-pf42-base2
# 1.40 08-May-2008 lukem

Convert getnetbyname(3) and getnetbyaddr(3) to the more "standard"
nsdispatch() backend method API.


# 1.39 08-May-2008 lukem

Fix a misuse of an automatic as a static that was exposed by the previous.


# 1.38 08-May-2008 lukem

Fix DNS getnetbyname(), which has been broken for at least 5.5 years
(if not longer).


Revision tags: yamt-pf42-baseX 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.37 27-Jan-2007 christos

branches: 1.37.10; 1.37.12;
Appropriate versions are not supplied by bind anymore.


# 1.36 27-Jan-2007 christos

merge in resolver portion of bind-9.4.0-rc2


Revision tags: netbsd-4-base
# 1.35 15-Oct-2006 christos

branches: 1.35.2; 1.35.4;
fix incomplete initializers


# 1.34 18-Sep-2006 tsutsui

Change type of `net' variable passed via va_list in
_{files,dns,yp}_getenetbyaddr() functions from unsigned long to uint32_t.
In rev 1.29, getnetbyaddr(3) was changed to take uint32_t `net' argument
and also passisng uint32_t `net' to nsdispatch(3) varargs, but
these callback functions were not changed accordingly.

Patch was provided by christos, and this fixes amd(8) coredumps on alpha
when /etc/nsswitch.conf has more than one sources for netgroups.


Revision tags: abandoned-netbsd-4-base
# 1.33 17-Mar-2006 ginsbach

branches: 1.33.2;
Fix Coverity issue 2281, resource leak, function return without freeing
dynamically allocated storage.


# 1.32 01-Jun-2005 lukem

Move the test for "more strict reverse lookup handling" to the correct
location so that an uninitialized `in' won't be used if net_i == BYADDR.
Detected with gcc -Wuninitialized, confirmed by diffing against BIND 4.9.11.
(The bug was introduced in rev 1.26. Hi Itojun! :)


Revision tags: netbsd-3-base
# 1.31 23-May-2004 christos

branches: 1.31.2;
centralize res_*init() calls in __res_get_state()


# 1.30 21-May-2004 christos

Finish bind9 resolver merge.


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


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE 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-base
# 1.28 29-Jan-2004 lukem

branches: 1.28.4;
Use the correct parameters when building the YP map name in _yp_getnetbyaddr().
Fixes getnetbyaddr() when reading from YP. From Brian Ginsbach in email.


# 1.27 07-Aug-2003 agc

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

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


Revision tags: nathanw_sa_before_merge fvdl_fs64_base nathanw_sa_base
# 1.26 14-Nov-2002 itojun

pull in changes in http://www.isc.org/products/BIND/patches/bind4910.diff
- better error check on __dn_skipname
- more strict reverse lookup handling


# 1.25 13-Nov-2002 itojun

fix remote buffer overrun. from openbsd tree (1997).


# 1.24 27-Aug-2002 itojun

allocate 64K recieve buffer for DNS responses.


# 1.23 16-Aug-2002 itojun

eliminate sprintf, use snprintf. check strlcat error.


# 1.22 26-Jun-2002 itojun

avoid remote buffer overrun on hostbuf[]. From: Joost Pol <joost@pine.nl>

correct bad practice in the code - it uses two changing variables
to manage buffer (buf and buflen). we eliminate buflen and use
fixed point (ep) as the ending pointer.

this fix is critical.


# 1.21 26-May-2002 wiz

__STDC__ is always defined on NetBSD.


Revision tags: netbsd-1-6-base
# 1.20 20-Dec-2000 christos

branches: 1.20.2; 1.20.4;
remove redundant declarations.


Revision tags: netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
# 1.19 22-Jan-2000 mycroft

branches: 1.19.4;
Delint.
Remove trailing ; from uses of __weak_alias(). The macro inserts this if
needed.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 1.18 20-Sep-1999 lukem

back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.


# 1.17 16-Sep-1999 lukem

* use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.

the first two items result in the addition of code similar to the
following in various functions:

_DIAGASSERT(path != NULL)
#ifdef _DIAGNOSTIC
if (path == NULL) {
errno = EFAULT;
return (-1);
}
#endif


# 1.16 04-May-1999 kleink

Use a _files prefix for local backend routines; would clash with namespace.h
otherwise.


# 1.15 03-May-1999 christos

sprinkle argsused till lint smiles at you.


# 1.14 18-Apr-1999 lukem

specifically include stdarg/varargs.h


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.13 20-Jan-1999 christos

branches: 1.13.2;
add ARGSUSED


# 1.12 19-Jan-1999 lukem

constify ns_dtab defs


# 1.11 19-Jan-1999 lukem

convert to new nsdispatch(3)


# 1.10 19-Jan-1999 lukem

support nis lookups for getnetby*()


# 1.9 16-Jan-1999 lukem

remove unused vars. remove register


# 1.8 16-Jan-1999 lukem

pull nsswitch up to main branch
convert getnetby*() to nsswitch (from resolv.conf lookup)


# 1.7 05-Dec-1998 pk

Check the results of argument decomposition in octets to prevent
garbage being sent to name servers.


# 1.6 13-Nov-1998 christos

delint


# 1.5 06-Jan-1998 perry

$Id: -> Id: (to make hunting down other bad Ids easier).


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.4 19-Aug-1997 mikel

sync __getnetbyaddr() prototypes with the one in getnetbyaddr.c; from
Krister Walfridsson in PR lib/4009


# 1.3 31-Jul-1997 thorpej

- Add __weak_alias() namespace protection and update for changes to
getnetnyname.c and getnetbyaddr.c.
- Now that getnetbyname() and getnetbyaddr() support looking up their
entries via BIND (they were previously file-only), add "lookup ..."
dispatch support (in /etc/resolv.conf), a'la gethostby*().


# 1.2 20-Jul-1997 mrg

merge bind 4.9.6 resolver. still need to fix <resolv.h>


# 1.1 20-Jul-1997 mrg

branches: 1.1.1;
Initial revision


Revision tags: pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.44 26-Oct-2015 christos

put the state back after it is used.


# 1.43 26-Oct-2015 christos

PR/50367: Stefan Schaeckeler: Apply fix to obey RES_CHECKNAME to getnetbyaddr
and getnetbyname.


Revision tags: 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 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 tls-maxphys-base yamt-pagecache-base5 yamt-pagecache-base4
# 1.42 13-Mar-2012 christos

branches: 1.42.10; 1.42.12;
PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231 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-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 jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base 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 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase wrstuden-revivesa-base
# 1.41 18-May-2008 lukem

branches: 1.41.2; 1.41.6; 1.41.22;
Fix possible memory leak in error path.
Part of PR 38677.


Revision tags: yamt-pf42-base2
# 1.40 08-May-2008 lukem

Convert getnetbyname(3) and getnetbyaddr(3) to the more "standard"
nsdispatch() backend method API.


# 1.39 08-May-2008 lukem

Fix a misuse of an automatic as a static that was exposed by the previous.


# 1.38 08-May-2008 lukem

Fix DNS getnetbyname(), which has been broken for at least 5.5 years
(if not longer).


Revision tags: yamt-pf42-baseX 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.37 27-Jan-2007 christos

branches: 1.37.10; 1.37.12;
Appropriate versions are not supplied by bind anymore.


# 1.36 27-Jan-2007 christos

merge in resolver portion of bind-9.4.0-rc2


Revision tags: netbsd-4-base
# 1.35 15-Oct-2006 christos

branches: 1.35.2; 1.35.4;
fix incomplete initializers


# 1.34 18-Sep-2006 tsutsui

Change type of `net' variable passed via va_list in
_{files,dns,yp}_getenetbyaddr() functions from unsigned long to uint32_t.
In rev 1.29, getnetbyaddr(3) was changed to take uint32_t `net' argument
and also passisng uint32_t `net' to nsdispatch(3) varargs, but
these callback functions were not changed accordingly.

Patch was provided by christos, and this fixes amd(8) coredumps on alpha
when /etc/nsswitch.conf has more than one sources for netgroups.


Revision tags: abandoned-netbsd-4-base
# 1.33 17-Mar-2006 ginsbach

branches: 1.33.2;
Fix Coverity issue 2281, resource leak, function return without freeing
dynamically allocated storage.


# 1.32 01-Jun-2005 lukem

Move the test for "more strict reverse lookup handling" to the correct
location so that an uninitialized `in' won't be used if net_i == BYADDR.
Detected with gcc -Wuninitialized, confirmed by diffing against BIND 4.9.11.
(The bug was introduced in rev 1.26. Hi Itojun! :)


Revision tags: netbsd-3-base
# 1.31 23-May-2004 christos

branches: 1.31.2;
centralize res_*init() calls in __res_get_state()


# 1.30 21-May-2004 christos

Finish bind9 resolver merge.


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


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE 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-base
# 1.28 29-Jan-2004 lukem

branches: 1.28.4;
Use the correct parameters when building the YP map name in _yp_getnetbyaddr().
Fixes getnetbyaddr() when reading from YP. From Brian Ginsbach in email.


# 1.27 07-Aug-2003 agc

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

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


Revision tags: nathanw_sa_before_merge fvdl_fs64_base nathanw_sa_base
# 1.26 14-Nov-2002 itojun

pull in changes in http://www.isc.org/products/BIND/patches/bind4910.diff
- better error check on __dn_skipname
- more strict reverse lookup handling


# 1.25 13-Nov-2002 itojun

fix remote buffer overrun. from openbsd tree (1997).


# 1.24 27-Aug-2002 itojun

allocate 64K recieve buffer for DNS responses.


# 1.23 16-Aug-2002 itojun

eliminate sprintf, use snprintf. check strlcat error.


# 1.22 26-Jun-2002 itojun

avoid remote buffer overrun on hostbuf[]. From: Joost Pol <joost@pine.nl>

correct bad practice in the code - it uses two changing variables
to manage buffer (buf and buflen). we eliminate buflen and use
fixed point (ep) as the ending pointer.

this fix is critical.


# 1.21 26-May-2002 wiz

__STDC__ is always defined on NetBSD.


Revision tags: netbsd-1-6-base
# 1.20 20-Dec-2000 christos

branches: 1.20.2; 1.20.4;
remove redundant declarations.


Revision tags: netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
# 1.19 22-Jan-2000 mycroft

branches: 1.19.4;
Delint.
Remove trailing ; from uses of __weak_alias(). The macro inserts this if
needed.


Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 1.18 20-Sep-1999 lukem

back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.


# 1.17 16-Sep-1999 lukem

* use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.

the first two items result in the addition of code similar to the
following in various functions:

_DIAGASSERT(path != NULL)
#ifdef _DIAGNOSTIC
if (path == NULL) {
errno = EFAULT;
return (-1);
}
#endif


# 1.16 04-May-1999 kleink

Use a _files prefix for local backend routines; would clash with namespace.h
otherwise.


# 1.15 03-May-1999 christos

sprinkle argsused till lint smiles at you.


# 1.14 18-Apr-1999 lukem

specifically include stdarg/varargs.h


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.13 20-Jan-1999 christos

branches: 1.13.2;
add ARGSUSED


# 1.12 19-Jan-1999 lukem

constify ns_dtab defs


# 1.11 19-Jan-1999 lukem

convert to new nsdispatch(3)


# 1.10 19-Jan-1999 lukem

support nis lookups for getnetby*()


# 1.9 16-Jan-1999 lukem

remove unused vars. remove register


# 1.8 16-Jan-1999 lukem

pull nsswitch up to main branch
convert getnetby*() to nsswitch (from resolv.conf lookup)


# 1.7 05-Dec-1998 pk

Check the results of argument decomposition in octets to prevent
garbage being sent to name servers.


# 1.6 13-Nov-1998 christos

delint


# 1.5 06-Jan-1998 perry

$Id: -> Id: (to make hunting down other bad Ids easier).


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.4 19-Aug-1997 mikel

sync __getnetbyaddr() prototypes with the one in getnetbyaddr.c; from
Krister Walfridsson in PR lib/4009


# 1.3 31-Jul-1997 thorpej

- Add __weak_alias() namespace protection and update for changes to
getnetnyname.c and getnetbyaddr.c.
- Now that getnetbyname() and getnetbyaddr() support looking up their
entries via BIND (they were previously file-only), add "lookup ..."
dispatch support (in /etc/resolv.conf), a'la gethostby*().


# 1.2 20-Jul-1997 mrg

merge bind 4.9.6 resolver. still need to fix <resolv.h>


# 1.1 20-Jul-1997 mrg

branches: 1.1.1;
Initial revision