History log of /freebsd-head/lib/libc/net/Makefile.inc
Revision Date Author Comments
e75acd8acc615c89a027bcc4577a1073f872ed92 17-Sep-2018 brd <brd@FreeBSD.org> Move hosts, hosts.equiv, networks, nsswitch.conf, protocols to lib/libc/net/

This uses relative paths to make it more specific to avoid any potential
future problems with .PATH and leverages CONFS.

libc was picked as the destination location for these because of the syscalls
that use these files as the lowest level place they are referenced.

Approved by: re (gjb), will (mentor)
Differential Revision: https://reviews.freebsd.org/D17164
00d578928eca75be320b36d37543a7e2a4f9fbdb 27-May-2016 grehan <grehan@FreeBSD.org> Create branch for bhyve graphics import.
991d92a87e83e1b02cebee9d52af4a783ab2c66b 26-Mar-2016 bdrewery <bdrewery@FreeBSD.org> Implement (ACFLAGS|CFLAGS|CXXFLAGS).SRC globally.

Sponsored by: EMC / Isilon Storage Division
7ea2f616f5550c2178d3e4a0e39b5dc1e92cf233 12-Mar-2016 bdrewery <bdrewery@FreeBSD.org> MFC r268620,r294876,r294877:

Make generation of nslexer.c more robust.
nslexer.c does not depend on nsparser.h.
Replace nslexer.l->nslexer.c custom rule with a -D CFLAG.
273b2d98ab2ca59155970f71a9edc9d7c79d0e68 27-Jan-2016 bdrewery <bdrewery@FreeBSD.org> Replace nslexer.l->nslexer.c custom rule with a -D CFLAG.

This avoids reproducing the lex logic which had dependencies set wrong
and used an intermediate file for modifying the YY_BUF_SIZE.

This has only been possible since flex 2.5.37 was imported in r250873,
which uses #ifndef YY_BUF_SIZE.

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
46307c6f50aa27e604086cfcd78d7ee2fc110f4b 27-Jan-2016 bdrewery <bdrewery@FreeBSD.org> nslexer.c does not depend on nsparser.h.

nslexer.o depends on nsparser.h, which is already added by bsd.lib.mk
and .depend.

This reverts r237402.

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
3b9fdabf1f3d959f83e5539d2ba59e4cc1680514 14-Jul-2014 jmmv <jmmv@FreeBSD.org> Make generation of nslexer.c more robust.

Ensure that lex errors fail the build instead of being silently ignored
due to the piped call. Also postpone the update of the nslexer.c file
until we are sure we have generated it properly.

These changes fix some very obscure build failures I encountered while
building FreeBSD within a chroot that did not have devfs mounted. The
specific errors looked like:

.../libc.so.7: undefined reference to `_nsyyerror'
.../libc.so.7: undefined reference to `_nsyyin'
.../libc.so.7: undefined reference to `_nsyylex'
.../libc.so.7: undefined reference to `_nsyylineno'
.../libc.so.7: undefined reference to `_nsyytext'

and were caused due to a mangled nslexer.c being linked into libc.
99c9726a00498d5292868949dc0fccf901914e8c 04-Mar-2014 marcel <marcel@FreeBSD.org> Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP}
if not already defined. This allows building libc from outside of
lib/libc using a reach-over makefile.

A typical use-case is to build a standard ILP32 version and a COMPAT32
version in a single iteration by building the COMPAT32 version using a
reach-over makefile.

Obtained from: Juniper Networks, Inc.
eb1a5f8de9f7ea602c373a710f531abbf81141c4 21-Feb-2014 gjb <gjb@FreeBSD.org> Move ^/user/gjb/hacking/release-embedded up one directory, and remove
^/user/gjb/hacking since this is likely to be merged to head/ soon.

Sponsored by: The FreeBSD Foundation
6b01bbf146ab195243a8e7d43bb11f8835c76af8 27-Dec-2013 gjb <gjb@FreeBSD.org> Copy head@r259933 -> user/gjb/hacking/release-embedded for initial
inclusion of (at least) arm builds with the release.

Sponsored by: The FreeBSD Foundation
e126d2ba10e82c928ea46fdbb1b3e74a25af9b95 21-Jun-2012 obrien <obrien@FreeBSD.org> Be explicit about the dependency on nsparser.h.
09f9c897d33c41618ada06fbbcf1a9b3812dee53 19-Oct-2010 jamie <jamie@FreeBSD.org> A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.
f1216d1f0ade038907195fc114b7e630623b402c 19-Mar-2010 delphij <delphij@FreeBSD.org> Create a custom branch where I will be able to do the merge.
19b6af98ec71398e77874582eb84ec5310c7156f 22-Nov-2008 dfr <dfr@FreeBSD.org> Clone Kip's Xen on stable/6 tree so that I can work on improving FreeBSD/amd64
performance in Xen's HVM mode.
cf5320822f93810742e3d4a1ac8202db8482e633 19-Oct-2008 lulf <lulf@FreeBSD.org> - Import the HEAD csup code which is the basis for the cvsmode work.
dc9902a05fcc2ae1b141719252d84eba5605aca7 16-Nov-2007 ru <ru@FreeBSD.org> MFC: 1.70: Fix bad rule and bad dependency for nsparser.h that can
cause the build to fail by "replacing" it with bsd.dep.mk rules.

Approved by: re (kensmith)
29de595612fccf2d40a55dbdebe3a68245cc798c 15-Nov-2007 ru <ru@FreeBSD.org> Fix bad rule and bad dependency for nsparser.h that can
cause the build to fail because y.tab.c can have a more
recent modification time than y.tab.h, and the bad rule
relied on the opposite.

(The last write to y.tab.c by yacc(1) happens after the
last write to y.tab.h, according to truss(1).)

Reported by: kensmith
2cfc9bf1c60f2275f93f3d3589b81a8bd49a88be 12-Jun-2007 ache <ache@FreeBSD.org> Fix yet another (make install) stopper with wrong sourcefilter.3 links
21fc8c30740f2849938da4d8747505c39b851f49 12-Jun-2007 bms <bms@FreeBSD.org> Fix typo in filename from mismerged earlier rev of this file.
ffd77d9ba5a1376d64ccbb2909a7179c05de81bc 12-Jun-2007 bms <bms@FreeBSD.org> Import rewrite of IPv4 socket multicast layer to support source-specific
and protocol-independent host mode multicast. The code is written to
accomodate IPv6, IGMPv3 and MLDv2 with only a little additional work.

This change only pertains to FreeBSD's use as a multicast end-station and
does not concern multicast routing; for an IGMPv3/MLDv2 router
implementation, consider the XORP project.

The work is based on Wilbert de Graaf's IGMPv3 code drop for FreeBSD 4.6,
which is available at: http://www.kloosterhof.com/wilbert/igmpv3.html

* IPv4 multicast socket processing is now moved out of ip_output.c
into a new module, in_mcast.c.
* The in_mcast.c module implements the IPv4 legacy any-source API in
terms of the protocol-independent source-specific API.
* Source filters are lazy allocated as the common case does not use them.
They are part of per inpcb state and are covered by the inpcb lock.
* struct ip_mreqn is now supported to allow applications to specify
multicast joins by interface index in the legacy IPv4 any-source API.
* In UDP, an incoming multicast datagram only requires that the source
port matches the 4-tuple if the socket was already bound by source port.
An unbound socket SHOULD be able to receive multicasts sent from an
ephemeral source port.
* The UDP socket multicast filter mode defaults to exclusive, that is,
sources present in the per-socket list will be blocked from delivery.
* The RFC 3678 userland functions have been added to libc: setsourcefilter,
getsourcefilter, setipv4sourcefilter, getipv4sourcefilter.
* Definitions for IGMPv3 are merged but not yet used.
* struct sockaddr_storage is now referenced from <netinet/in.h>. It
is therefore defined there if not already declared in the same way
as for the C99 types.
* The RFC 1724 hack (specify addresses to IP_MULTICAST_IF
which are then interpreted as interface indexes) is now deprecated.
* A patch for the Rhyolite.com routed in the FreeBSD base system
is available in the -net archives. This only affects individuals
running RIPv1 or RIPv2 via point-to-point and/or unnumbered interfaces.
* Make IPv6 detach path similar to IPv4's in code flow; functionally same.
* Bump __FreeBSD_version to 700048; see UPDATING.

This work was financially supported by another FreeBSD committer.

Obtained from: p4://bms_netdev
Submitted by: Wilbert de Graaf (original work)
Reviewed by: rwatson (locking), silence from fenner,
net@ (but with encouragement)
0325fb6ca4e8ecfa891d252d9d442141ad32847b 11-Jun-2007 delphij <delphij@FreeBSD.org> Add inet_ntoa_r, a reentrant version of inet_ntoa. This is
available on a lot of platforms, as well as libkern for years.

Submitted by: "MQ"
0738a9d791c7cf11ec35c5f1b495c0530c978447 28-Feb-2007 bms <bms@FreeBSD.org> Nuke ascii2addr() and addr2ascii(). They have no consumers anywhere
in FreeBSD, and originated from INRIA IPv6.

Stub out netstat reference to addr2ascii() I mistakenly introduced.
Update misleading man page sections.

Merge NetBSD's getnameinfo() AF_LINK extensions for a portable way to
print link-layer addresses given a sockaddr_dl(), minus the IEEE 1394
bits which don't map directly to our code.

Obtained from: NetBSD (getnameinfo.c)
Discussed on: current (March 2006)
ae6663525ac1c121369ed2987517cf2d29f6139a 22-Feb-2007 rrs <rrs@FreeBSD.org> First cut of the sctp man pages. Still need work.
4059cab8d07c30cc84a205aef4e821cf55dc8b32 20-Jan-2007 ume <ume@FreeBSD.org> MFC: Extend the nsswitch to support Services, Protocols and Rpc

include/nsswitch.h: 1.4 (partly)
include/rpc/rpcent.h: 1.3, 1.4
lib/libc/net/Makefile.inc: 1.59 (partly)
lib/libc/net/getproto.c: 1.6 (partly)
lib/libc/net/getprotoent.c: 1.8 (partly)
lib/libc/net/getprotoname.c: 1.6 (partly)
lib/libc/net/getservbyname.c: 1.9
lib/libc/net/getservbyport.c: 1.9
lib/libc/net/getservent.c: 1.22 (partly)
lib/libc/net/netdb_private.h: 1.12
lib/libc/rpc/getrpcent.c: 1.15 (partly)
45136271b2d887a9a6bc40220d19459fdb083e7a 15-Dec-2006 rrs <rrs@FreeBSD.org> This adds the "system calls"

Manual pages will be forthcoming (and the commit to porters-handbook)
367bc6b8e0ccf1af12ccdfff7d83ef3ec5f6be9a 06-Nov-2006 cognet <cognet@FreeBSD.org> Instead of re-implementing hton[ls] and friends for each arch, add a new MI
file, net/ntoh.c, which just implement them using the inline functions from

Suggested by: bde
dfd296d48ee6985b72f99646a758768fc9b2c604 26-Jul-2006 yar <yar@FreeBSD.org> Respect MK_INET6_SUPPORT.
ea7fc621cea3fc6afc7c501a1fd2d33f078f6d77 17-Jul-2006 ume <ume@FreeBSD.org> MFC:
- Update the resolver in libc to BIND9's one.
- make reentrant version of netdb functions glibc style API, and
expose them to outside of libc.
- make netdb functions NSS friendly.

include/Makefile 1.261
include/arpa/inet.h 1.26
include/arpa/nameser.h 1.18
include/arpa/nameser_compat.h 1.5
include/netdb.h 1.40-1.42
include/res_update.h 1.1
include/resolv.h 1.29-1.30
lib/libc/Makefile 1.64
lib/libc/include/port_after.h 1.1-1.2
lib/libc/include/port_before.h 1.1
lib/libc/inet/Makefile.inc 1.1
lib/libc/inet/inet_addr.c, 1.2
lib/libc/inet/inet_cidr_pton.c, 1.2
lib/libc/inet/inet_lnaof.c, 1.2
lib/libc/inet/inet_makeaddr.c, 1.2
lib/libc/inet/inet_net_ntop.c, 1.2
lib/libc/inet/inet_net_pton.c, 1.2
lib/libc/inet/inet_neta.c, 1.2
lib/libc/inet/inet_netof.c, 1.2
lib/libc/inet/inet_network.c, 1.2
lib/libc/inet/inet_ntoa.c, 1.2
lib/libc/inet/inet_ntop.c, 1.2
lib/libc/inet/inet_pton.c, 1.2
lib/libc/inet/nsap_addr.c, 1.2
lib/libc/isc/Makefile.inc 1.1
lib/libc/isc/ev_streams.c, 1.2
lib/libc/isc/ev_timers.c, 1.2
lib/libc/isc/eventlib_p.h, 1.2
lib/libc/nameser/Makefile.inc 1.1
lib/libc/nameser/ns_print.c, 1.2
lib/libc/nameser/ns_samedomain.c, 1.2
lib/libc/net/Makefile.inc 1.58
lib/libc/net/getaddrinfo.c 1.74, 1.77-1.78
lib/libc/net/gethostbydns.c 1.55-1.57
lib/libc/net/gethostbyht.c 1.24-1.26
lib/libc/net/gethostbyname.3 1.35
lib/libc/net/gethostbynis.c 1.26-1.28
lib/libc/net/gethostnamadr.c 1.29-1.30, 1.32
lib/libc/net/getnameinfo.c 1.18
lib/libc/net/getnetbydns.c 1.32-1.33
lib/libc/net/getnetbyht.c 1.17-1.18
lib/libc/net/getnetbynis.c 1.20-1.21
lib/libc/net/getnetnamadr.c 1.22
lib/libc/net/getproto.c 1.5
lib/libc/net/getprotoent.c 1.7
lib/libc/net/getprotoname.c 1.5
lib/libc/net/getservbyname.c 1.8
lib/libc/net/getservbyport.c 1.8
lib/libc/net/getservent.c 1.21
lib/libc/net/name6.c 1.56-1.57
lib/libc/net/netdb_private.h 1.10-1.11, 1.13
lib/libc/net/res_config.h 1.9
lib/libc/net/res_mkupdate.c 1.7-1.8
lib/libc/net/res_update.c 1.8-1.9
lib/libc/resolv/Makefile.inc 1.1
lib/libc/resolv/h_errno.c 1.1
lib/libc/resolv/herror.c, 1.2
lib/libc/resolv/mtctxres.c, 1.2
lib/libc/resolv/res_comp.c, 1.2
lib/libc/resolv/res_data.c, 1.2-1.3
lib/libc/resolv/res_debug.c, 1.2
lib/libc/resolv/res_init.c, 1.2
lib/libc/resolv/res_mkquery.c, 1.2
lib/libc/resolv/res_query.c, 1.2-1.3
lib/libc/resolv/res_send.c, 1.2
lib/libc/resolv/res_state.c 1.1-1.2

Tested by: nork
2103e7a60f93b5663802fad9b458412411640d7c 21-May-2006 ume <ume@FreeBSD.org> Upgrade res_update(3) and the friends to BIND9's one excluding TSIG

X-MFC after: never
e14f1c3b3b31e7f6c28cef5acc87f4c7373d288c 28-Apr-2006 ume <ume@FreeBSD.org> - Extend the nsswitch to support Services, Protocols and Rpc
- Make nsswitch support caching.

Submitted by: Michael Bushkov <bushman__at__rsu.ru>
Sponsored by: Google Summer of Code 2005
b09a8950a1301d97aef8e2975e34a3ba5bc451c3 21-Mar-2006 ume <ume@FreeBSD.org> Update the resolver in libc to BIND9's one.

Since, res_sendsigned(3) and the friends use MD5 functions, it is
hard to include them without having MD5 functions in libc. So,
res_sendsigned(3) is not merged into libc.

Since, res_update(3) in BIND9 is not binary compatible with our
res_update(3), res_update(3) is leaved as is, except some
necessary modifications.
The res_update(3) and the friends are not essential part of the
resolver. They are not defined in resolv.h but defined in
res_update.h separately in BIND9. Further, they are not called from
our tree. So, I hide them from our resolv.h, but leave them only
for binary backward compatibility (perhaps, no one calls them).

Since, struct __res_state_ext is not exposed in BIND9, I hide it
from our resolv.h. And, global variable _res_ext is removed. It
breaks binary backward compatibility. But, since it is not used from
outside of our libc, I think it is safe.

Reviewed by: arch@ (no objection)
388e590f951441f619cd32710dc151e0ac810a10 17-Mar-2006 ru <ru@FreeBSD.org> Reimplementation of world/kernel build options. For details, see:


The src.conf(5) manpage is to follow in a few days.

Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
a0f6b0f1d026a8f482a319443c75421f9d668c07 13-Mar-2006 deischen <deischen@FreeBSD.org> Add each directory's symbol map file to SYM_MAPS.
5a523760659dee07f955efb61a4021045eddd231 06-Aug-2005 phk <phk@FreeBSD.org> Respect the YES_HESIOD build variable.
38e722e1a8f19290f5418aa31627d804b42d375a 06-Apr-2005 ume <ume@FreeBSD.org> separate gai_strerror(3) from getaddrinfo.c.

Requested by: phantom
c51ffe001a7e6663ddb214b9dfe4e7f30e7f7220 24-Jan-2005 gnn <gnn@FreeBSD.org> Fix a dangling MKLINK from my last commit.

Approved by: rwatson (mentor)
2231fe9f4db6d8ee45e83d7302fae92714216478 23-Jan-2005 gnn <gnn@FreeBSD.org> Submitted by: George V. Neville-Neil (gnn at freebsd dot org)
Approved by: Robert Watson (robert at freebsd dot org)

Remove files in preparation for replacement with totally new versions
of the manual pages.

Update the Makefile to handle the new file to be added.
5ae1bd47055bb0a8824b70db8ecac0a96fa662c1 26-May-2004 brooks <brooks@FreeBSD.org> Add support for an /etc/eui64 file modeled on /etc/ethers. The API is
modeled on ethers(3) except that all functions are thread-safe.

Reviewed by: simokawa
47c129ab4445e4c2476772fd12576c58374dc7f0 14-Nov-2003 bms <bms@FreeBSD.org> Add the userland part of the NET_RT_IFMALIST sysctl MIB. A new function,
getifmaddrs(), is added to retrieve current multicast group memberships.

Reviewed by: harti
881c4fa39150df7d0de2dae7ae808f6a73cb199a 24-Oct-2003 ume <ume@FreeBSD.org> Switch Advanced Sockets API for IPv6 from RFC2292 to RFC3542
(aka RFC2292bis). Though I believe this commit doesn't break
backward compatibility againt existing binaries, it breaks
backward compatibility of API.
Now, the applications which use Advanced Sockets API such as
telnet, ping6, mld6query and traceroute6 use RFC3542 API.

Obtained from: KAME
1b1f6bb4f50d42bbbb1291be0c60741c12f8201a 17-Apr-2003 nectar <nectar@FreeBSD.org> = Implement name service switch modules (NSS modules). NSS modules
may be built into libc (`static NSS modules') or dynamically loaded
via dlopen (`dynamic NSS modules'). Modules are loaded/initialized
at configuration time (i.e. when nsdispatch is called and nsswitch.conf
is read or re-read).

= Make the nsdispatch(3) core thread-safe.

= New status code for nsdispatch(3) `NS_RETURN', currently used to
signal ERANGE-type issues.

= syslog(3) problems, don't warn/err/abort.

= Try harder to avoid namespace pollution.

= Implement some shims to assist in porting NSS modules written for
the GNU C Library nsswitch interface.

Sponsored by: DARPA, Network Associates Laboratories
243fd46542f78092dc8585f866ea40b7d08ca8fc 05-Mar-2003 peter <peter@FreeBSD.org> Remove NS and ISO stuff.
7435be9a24648e55d797b9c08512877965521e7a 13-Dec-2002 fenner <fenner@FreeBSD.org> Add an implementation of the POSIX.1 sockatmark(3).
40e2359f4b10f61d80f4c8a2f6d4a3fc5c377d95 18-Nov-2002 ru <ru@FreeBSD.org> libc_r wasn't so tied to libc for 22 months.
c95ccb75f4f6064deccbec4faf05791efe52dda1 15-Jul-2002 ume <ume@FreeBSD.org> Use BSDi derived if_nametoindex(), if_indextoname(), if_nameindex()
and if_freenameindex().

Obtained from: KAME
MFC after: 2 weeks
af77ecc6756f2a8a3deefa094081fdd84bcd4009 23-Oct-2001 imp <imp@FreeBSD.org> Allow users to specify a command to use as remote command instead of
using rcmd directly. This has been in my tree for a long time, but we
may need to sync with OpenBSD before MFC.

Obtained from: openbsd
PR: 15830

MFC after: 2 months
da7d969a02af06eb75fb6c18fce16a6a188167e4 31-Aug-2001 ru <ru@FreeBSD.org> Add manpage for inet_net_ntop(3) and inet_net_pton(3).

Obtained from: NetBSD
815111597373d30225ba41fa23b22acbaa0a3403 31-Jul-2001 mp <mp@FreeBSD.org> Only pull in the MD files if they exist. This allows for progressive
implementation and compilation when bringing up a new architecture.
8e095496f1e74f8bda69ee4a03e5ac0c0c1e4706 09-Jul-2001 tobez <tobez@FreeBSD.org> Document more resolver(3) routines: dn_skip() from resolv.h, and
ns_get16(), ns_get32(), ns_put16(), and ns_put32() from arpa/nameser.h.

Markup by: ru
OK'ed by: markm
25ef23ac1cd91aa5fdc342b2889f86ee3ea73daa 27-Mar-2001 ru <ru@FreeBSD.org> MAN[1-9] -> MAN.
748554442d0ac4467fdac2ce9d42006588fd4481 06-Sep-2000 nectar <nectar@FreeBSD.org> Add nsswitch support. By creating an /etc/nsswitch.conf file, you can
configure FreeBSD so that various databases such as passwd and group can be
looked up using flat files, NIS, or Hesiod.

= Hesiod has been added to libc (see hesiod(3)).

= A library routine for parsing nsswitch.conf and invoking callback
functions as specified has been added to libc (see nsdispatch(3)).

= The following C library functions have been modified to use nsdispatch:
. getgrent, getgrnam, getgrgid
. getpwent, getpwnam, getpwuid
. getusershell
. getaddrinfo
. gethostbyname, gethostbyname2, gethostbyaddr
. getnetbyname, getnetbyaddr
. getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr

= host.conf has been removed from src/etc. rc.network has been modified
to warn that host.conf is no longer used at boot time. In addition, if
there is a host.conf but no nsswitch.conf, the latter is created at boot
time from the former.

Obtained from: NetBSD
09cb0345854d08112b0c4c3e64c916884d617033 05-Jul-2000 itojun <itojun@FreeBSD.org> add getifaddrs(3) from bsdi. this is a magic function which lets you grab
interface addresses in a portable manner, without headache of SIOCGIFCONF
or sysctl. it is in bsdi/openbsd/netbsd already.
from kame tree (actually, mandatory for latest kame tree).
b42951578188c5aab5c9f8cbcde4a743f8092cdc 02-Apr-2000 cvs2svn <cvs2svn@FreeBSD.org> This commit was manufactured by cvs2svn to create branch 'ALSA'.
602b08acfa43a3a2b7f9ca255f8d32ca7262c4f2 12-Mar-2000 shin <shin@FreeBSD.org> Merge from NetBSD. Addition of inet_ntop() and inet_pton() description.

Specified by: Robert Muir <rmuir@looksharp.net>

Obtained from: NetBSD
12c8708cdb2fa8e7a2d5d5ffe85b4fbfd45f503c 12-Mar-2000 shin <shin@FreeBSD.org> Cosmetic fix. Re-order MLINKS for if_indextoname.3 and inet.3 as alphabetical
7fac48388642b73e784734dbd6986cb0e38dfca5 12-Mar-2000 shin <shin@FreeBSD.org> Correct MLINKS contents for rcmd.3, because it is obsolete due to
recent changes to rcmd.3.

links to iruserok_af.3, ruserok_af.3 are removed.
link to iruserok_sa.3 is added.
4a9ac000d9e10ae3011edbe3a372741937ca4bd8 12-Mar-2000 shin <shin@FreeBSD.org> Import from KAME. Advanced API related function descriptions.

Obtained from: KAME project
fc29f7bcf7236935ba5c171ea553ac7dca533e8c 25-Jan-2000 shin <shin@FreeBSD.org> several tcp apps IPv6 update

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
8c2ccb59caf882ac518eda1f570ea731d4466216 28-Dec-1999 shin <shin@FreeBSD.org> Getaddrinfo(), getnameinfo(), and etc support in libc/net.
Several udp and raw apps IPv6 support.

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
985fda16e7b9a2ea19c0ce2acad334d015c8017f 16-Dec-1999 shin <shin@FreeBSD.org> KAME 4th patch
IPv6 specific library functions addition.
(getnameinfo(), getaddrinfo(), and IPv6 transport support is not yet)

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
76f0c923fe4b2a1616453876611dc76b4f6b5355 28-Aug-1999 peter <peter@FreeBSD.org> $Id$ -> $FreeBSD$
bf8ea8d3a710dfc5162591b386fb01dc0158ed55 02-Sep-1998 jdp <jdp@FreeBSD.org> Implement the weak aliases for private entry points in the inet_*
and res_* modules in a way that works for ELF. I moved the aliases
out of res_stubs.c and into the individual modules where the entry
points are defined. Weak aliases don't work in ELF unless that is
the case. (Actually, I'm surprised it worked for a.out.)

This should fix the undefined "inet_addr" and related symbols in
various applications that fail to include <arpa/inet.h> or
<resolv.h> as they are supposed to do.
9492d9f3a276bb1ce288f7f1242f55ba381fb5d8 11-Jun-1998 peter <peter@FreeBSD.org> Update the resolver parts to bind-8.1.2 level. I have not touched the
getXXXXbyYYYY() interfaces yet.

Obtained from: diff relative to bind-8.1.2 sources
bdf0841be6cec556fba5dcf7976b4cdd02627b41 20-Feb-1998 jb <jb@FreeBSD.org> Change MACHINE references to MACHINE_ARCH.
0506343883d62f6649f7bbaf1a436133cef6261d 11-Jan-1998 cvs2svn <cvs2svn@FreeBSD.org> This commit was manufactured by cvs2svn to create branch 'jb'.
7c6e96080c4fb49bf912942804477d202a53396c 10-Jan-1998 cvs2svn <cvs2svn@FreeBSD.org> This commit was manufactured by cvs2svn to create branch 'JB'.
ea35ce8d7327dba210d7ed93edbbf2821a41fbf6 21-Oct-1997 bde <bde@FreeBSD.org> Sorted lists.
ef5c98dd4552a60c77815d0cc9d9b7c5e80ceb62 15-Oct-1997 bde <bde@FreeBSD.org> Removed the subdirectory paths from the definitions of MAN[1-9]. They
were a workaround for limitations in bsd.man.mk that were fixed about
2 years ago.
a1337bb0aea1f73b56821753ae8b9758996f55e4 03-May-1997 jb <jb@FreeBSD.org> Changed all paths to be relative to src/lib instead of src/lib/libc
so that all these makefiles can be used to build libc_r too.

Added .if ${LIB} == "c" tests to restrict man page builds to libc
to avoid needlessly building them with libc_r too.

Split libc Makefile into Makefile and Makefile.inc to allow the
libc_r Makefile to include Makefile.inc too.
43be453b52c9807ae45f5761e14df21a517e496c 30-Dec-1996 peter <peter@FreeBSD.org> Here goes.. Bring the 4.9.5-P1 resolver into -current. This has the
DNSSEC stuff, among other things. There are also some renamed functions,
I've left out the res_stubs.c from this commit in case cvs bombs out..
9bc3e724e5355cd0097ffaa4d92bba7d649789d5 14-Dec-1996 mpp <mpp@FreeBSD.org> Correct some xrefs/mlinks.
259bccfa492f72406c4205a16808d8749926d8ea 01-Nov-1996 peter <peter@FreeBSD.org> Doc updates and cleanups made with the bind-4.9.4 update some time ago.
I thought I had committed these, but it seems not.
dea026027ce02804712e35943b7bfea6e86ce05a 16-Oct-1996 jkh <jkh@FreeBSD.org> Bring back ns_* routines; we need them for ifconfig and route.
2e0e3adbfdd71837c1010680bb5ec5718293f1da 30-Aug-1996 peter <peter@FreeBSD.org> Sigh, back out the last bright idea I had here about compiling the res_*
routines from contrib/bind directly. There were too many problems,
including having to add -DUSE_OPTIONS_H to the entire libc source in
order for the contrib code to pick up it's options, and so on.

Instead, I've merged the changes, libc is now self contained again.
286c357861cb82b1749ee01b91f8c2377d97b7c6 29-Aug-1996 peter <peter@FreeBSD.org> Revert change to build the reolver man pages on the fly, install the
machine-generated versions
1f1fd8028fddf809ce8077697ffa07cb30a1e5d2 29-Aug-1996 peter <peter@FreeBSD.org> Merge in bind-4.9.4-P1 resolver...
ab56e8b192f1b86fc9601d31ae4f9a1f0ab4a9d8 13-Jun-1996 wollman <wollman@FreeBSD.org> Add an independent implementation of addr2ascii(3) and ascii2addr(3)
following the API of the INRIA IPv6 implementation.
f13d17519fb4ad30eac746ec447eba0715fdbc01 08-Apr-1996 mpp <mpp@FreeBSD.org> Do not install the now unsupported netns and netiso
related man pages. Comment out cross references to those man
pages from other man pages.
379b9b388fc8788659993af038bb322bfbcea8b2 13-Feb-1996 wollman <wollman@FreeBSD.org> XNS sort-of-support is no more.
ac7bc7dc91fd898b819e49238b290fc5dc91c2fd 09-Feb-1996 mpp <mpp@FreeBSD.org> Added some missing MLINKS for section 3 man pages.
Also corrected a few minor formatting errors, file location and cross
references in some of the section 3 man pages.

This shuts up a lot of the output from "manck" for section 3.
61d8d8e40b45efc45d9bbdf14fe96e565ceb074f 06-Feb-1996 wollman <wollman@FreeBSD.org> Remove support for OSI networking in user-land (#ifdef OSI aor CCITT)
in preparation for its removal from the kernel source tree. NB: because
a function was deleted, libc is now at version 3.0 (was 2.2 previously).
5318dd95b77bde12017e70a09ed69461782dd072 07-Jan-1996 peter <peter@FreeBSD.org> Merge the 4.9.3-rel code into the res_* parts. The gethostXXXbyYYY
parts are not quite so simple..
86f1bc4514fdcfd255f37f3218fe234bdc3664fc 05-Nov-1995 cvs2svn <cvs2svn@FreeBSD.org> This commit was manufactured by cvs2svn to create branch 'LINUX'.
2caa66b6de6e6875c2a3a4ec856234ff9da55fa4 21-Aug-1995 peter <peter@FreeBSD.org> Remove the CFLAGS+=-I${CURDIR}/net that I previously added.
Since Bruce changed the #include <res_config.h> to #include "res_config.h"
this is no longer needed, and only makes the 'make' more verbose for
no real reason.
bbe6ab41603ea223c7c921bd48586ed795917870 20-Aug-1995 peter <peter@FreeBSD.org> Update the resolver part of libc to bind-4.9.3-beta24 level (from beta9p1)
Note that this was done by selective patching from diffs, to not conflict
with the 4.4bsd base code.. This was *not* a trivial task.. I have been
testing this code (apart from cosmetic changes) in my libc for a while now.

Obtained from: Paul Vixie <paul@vix.com>
a20de0747bbf948879ad0eab8936baa3f2310e85 12-Apr-1995 wpaul <wpaul@FreeBSD.org> Add an ethers(3) man page.
3db0e33b6893dc9dc85f7e72a8e3bc83a8909bfa 02-Apr-1995 wpaul <wpaul@FreeBSD.org> Add ether_addr functions to libc. This seems to be the logical place
to put them. A man page is in the works.
2e14d9ebc3d3592c67bdf625af9ebe0dfc386653 14-Mar-1995 cvs2svn <cvs2svn@FreeBSD.org> This commit was manufactured by cvs2svn to create branch 'MATT_THOMAS'.
68370522b61180c61814111e939fdec63f62d6bd 27-Oct-1994 rgrimes <rgrimes@FreeBSD.org> >Description:
While trying to figure out why rlogind wasn't working right for root,
I noticed that man wouldn't come back with a man page for iruserok, but
it would for ruserok. Checking the lib/net directory's Makefile.inc
file shows that the link to the rcmd man page just isn't getting
Do a 'man iruserok' and notihing will come back, where a 'man ruserok'

Submitted by: Brian Moore <ziff@houdini.eecs.umich.edu>
Obtained from: NetBSD-bugs mailing list
6f303e99351daee1b39170a6bd59677992df1da8 25-Sep-1994 pst <pst@FreeBSD.org> remove need for -DDEBUG from resolver code (conflict with db/hash)
4f0d0da86d54d2621713e7d8ccfd0507888f348b 25-Sep-1994 pst <pst@FreeBSD.org> get* rework and new bind code
34cd81d75f398ee455e61969b118639dacbfd7a6 23-Sep-1994 cvs2svn <cvs2svn@FreeBSD.org> This commit was manufactured by cvs2svn to create branch 'MACKERRAS'.
e16baf7a5fe7ac1453381d0017ed1dcdeefbc995 07-Aug-1994 cvs2svn <cvs2svn@FreeBSD.org> This commit was manufactured by cvs2svn to create branch 'SUNRPC'.
e017c781cac0ce8879390a958837f07f3ae09f36 05-Aug-1994 wollman <wollman@FreeBSD.org> First crack at making libc work with the new make macros. It compiles on
my machine, and a simple static (genassym) and shared (sysctl) executable
both work. Still to be done: RPCand YP merge.
be22b15ae2ff8d7fe06b6e14fddf0c5b444a95da 27-May-1994 rgrimes <rgrimes@FreeBSD.org> BSD 4.4 Lite Lib Sources