summaryrefslogtreecommitdiff
path: root/libc/inet
AgeCommit message (Collapse)Author
2002-06-17Re-backport all the rpc stuff from glibc 2.2.5. This allows us to make thisEric Andersen
junk (and I do mean that ;-) thread safe without undue pain. Adds 12k worth to the code size I'm afraid, but since I never use NFS and therefore never include this stuff, I guess thats acceptable. I still need to enable the multi-threaded bits... -Erik
2002-06-12Yipe. As Joseph Chiu noticed, sockvec is supposed to be an int*Eric Andersen
not an int.
2002-05-30don't include the linux dir. Pointless and broken.Eric Andersen
-Erik
2002-05-12Fix some silly bugs and type problemsEric Andersen
2002-05-11Fix the defines which I had backwardsEric Andersen
2002-05-11Majorly rework to also cope with architectures which do not useEric Andersen
the socketcall system call, but instead implement each fundamental networking function directly as a system call. -Erik
2002-04-17Patch from Axel Barnitzke <barney@xkontor.com> to add basicEric Andersen
support for struct _res. This is a minimalist implementation, but should work for most anything out there.
2002-04-17Patch from Mike McDonald to make gethostbyname_r() not fail for things likeEric Andersen
gethostbyname("192.168.0.1"), which should work even when the /etc/hosts and /etc/config/hosts files do not exist.
2002-04-09Re-enable clnt_perror. Patch from Miles Bader.Eric Andersen
2002-04-03Patch from Jim Treadway <jim@stardot-tech.com> to eliminateEric Andersen
use of alarm() and therefore SIGARLM in the resolver and to instead use select, which is much cleaner.
2002-03-20Patch from Bart Visscher <magick@Linux-Fan.com> fixing someEric Andersen
missing pieces of the conversion to reentrant functions.
2002-03-19Fix missing defines. Forgot to check this in.Eric Andersen
-Erik
2002-03-19Bart Visscher <magick@Linux-Fan.com> has added some missing IPV6 support, andEric Andersen
added several additional reentrant networking functions such that iptables now runs with IPV6 support.
2002-03-12Swap in the new stdio code.Manuel Novoa III
2002-02-26A few more little cleanupsEric Andersen
2002-02-26don't pretend to be reentrant yetEric Andersen
2002-02-26Fix rpc + threads so it now compiles.Eric Andersen
2002-02-26Thomas Fritzsche noticed that __open_etc_hosts was only changing aEric Andersen
local copy of the FILE pointer, thereby causing /etc/hosts lookups to fail with Resolver errors. This patch from Thomas fixes the problem.
2002-02-13A number of naming updates in preparation for adding inEric Andersen
proper threading. Most of this is from Stefan Soucek, with additions and changes as needed from me.
2002-02-02I just wrote up gethostent(), sethostent(), and endhostent()Eric Andersen
-Erik
2002-02-02Grr. I should learn to compile stuff before committingEric Andersen
2002-02-02OopsEric Andersen
2002-02-02Fix hstrerrorEric Andersen
2002-01-17Add in support for inet_netof, inet_lnaof, inet_makeaddr and hstrerror.David McCullough
2002-01-09Patch from Stefan Soucek <ssoucek@coactive.com> to removeEric Andersen
alloca (when non-reentrant) since alloca can blow the stack pretty easily on mmu-less.
2002-01-02Patch to add rcmd support, from Stefan Soucek, which I'd longEric Andersen
ago forgotten. Oops. Needed some minor scrubbing for bitrot, -Erik
2001-12-20Steven Carr noticed that uClibc's inet_aton() is stricter then inEric Andersen
glibc, since no trailing blanks was permitted, such that inet_aton("192.168.1.1 ",&value); would work with glibc, and fail with uClibc. This brings uClibc's inet_aton() behavior into sync with glibc's behavior. -Erik
2001-12-19Update my email address. I am no longer andersen@lineo.comEric Andersen
2001-12-07patch from Jari Korva <jpkorva@iki.fi>:Eric Andersen
- fixes endianness bug in gethostbyaddr() (i386 worked fine, while m68k didn't: 192.168.160.162 was queried with 192.168.160.162.in-addr.arpa while it should have been 162.160.168.192.ip-addr.arpa) - contains missing pieces from my previous getnameinfo() patch: now it actually compiles!
2001-11-21Adjust naming for __FORCE_GLIBC__ to __FORCE_GLIBC and addEric Andersen
support for __FORCE_NOGLIBC per Brian Stafford <brian.stafford@office-logic.com>
2001-11-07Patch from Jari Korva <jpkorva@iki.fi>Eric Andersen
I found some support in uClibc for IPv6 but I needed some more... Enclosed is the patch containing following modifications: - getnameinfo port from lates glibc - IPv6 support for gethostbyaddr() - IPv6 support for get_hosts_byname and read_etc_hosts (among other things this fixed a bug in gethostbyname2 in a case when user asked for an IPv6 but got a v4 address if it was present in /etc/hosts) - defined ip6addr_any and in6addr_loopback (though the place where I defined these isn't correct, I guess) What is still missing: - getaddrinfo (this could be ported also from glibc but it won't be as easy as porting getnameinfo, I guess) I have tested the patch using enclosed test program and boa web server. Seems to work ;)
2001-11-05Patch from Jari Korva <jari.korva@vtt.fi> to fix a memory leakEric Andersen
in dns_lookup.
2001-10-04Yet more minor cleanupsEric Andersen
2001-10-04With all the headerfile changes, some functions didn't get there arg typesDavid McCullough
fixed up.
2001-09-27Silence stupid warnings caused by bad kernel network includesEric Andersen
2001-09-27Update to accomodate the header file changesEric Andersen
2001-07-09A patch from Michal Moskal <malekith@pld.org.pl> to includeEric Andersen
partial IPV6 support. This adds things like gethostbyname2(). Off by defaut, of course,
2001-06-12Silence a few warnings.Eric Andersen
2001-05-31Cleanup some stupid warningsEric Andersen
2001-05-12Ok, this should finish off my massive ro-organization. The sourceEric Andersen
tree is less messy now (which helps), all libraries are placed into uClibc/lib when compiling, all libraries now use a consistant mechanism for being built, all libraries use a consistant naming scheme where the lib name includes the uClibc version number, which makes ldconfig happy and willing to work with us. -Erik
2001-05-11Fix 'make clean' so it clean the rpc dirEric Andersen
2001-05-09By default, leave out the RPC junk (it adds over 30k). Add in a compileEric Andersen
time option to include it if NFS support is wanted (does anyone every use this for anything else these days?) -Erik
2001-05-08Code did not match the prototypes, from what I can tell it should be usingDavid McCullough
size_t as the header files have it already.
2001-05-08Looks like I forgot to commit this.Eric Andersen
2001-05-04Add in inet_ntop() and inet_pton() -- ported from glibc 2.2.3Eric Andersen
by Cory Visi <merlin@phear.lwz.org>
2001-05-04Clean up some issues for building on m68k.David McCullough
2001-04-20Use the real getnetbyname(), not the stub in resolv.cEric Andersen
2001-04-20getnetbyname.o, res_init.o and res_query.o were missing from the Makefile,Eric Andersen
patch thanks to John Hall <John.Hall@optionexist.co.uk>
2001-04-06Fix include/errno.h to not use kernel header, and instead use bits/errno.h.Eric Andersen
This required we use _LIBC instead of __LIBC__ to be consistent with glibc. This had some sideffects in sys/syscalls.h. While fixing things, I made everything use __set_errno() for (eventual) thread support. -Erik
2001-03-12Add some missing network functionality; grabbed from libc-5.3.12.Manuel Novoa III