summaryrefslogtreecommitdiffstats
path: root/libc/inet
Commit message (Collapse)AuthorAgeFilesLines
...
* A number of naming updates in preparation for adding inEric Andersen2002-02-131-8/+16
| | | | | proper threading. Most of this is from Stefan Soucek, with additions and changes as needed from me.
* I just wrote up gethostent(), sethostent(), and endhostent()Eric Andersen2002-02-022-12/+85
| | | | -Erik
* Grr. I should learn to compile stuff before committingEric Andersen2002-02-022-16/+4
|
* OopsEric Andersen2002-02-021-2/+2
|
* Fix hstrerrorEric Andersen2002-02-021-6/+12
|
* Add in support for inet_netof, inet_lnaof, inet_makeaddr and hstrerror.David McCullough2002-01-173-3/+88
|
* Patch from Stefan Soucek <ssoucek@coactive.com> to removeEric Andersen2002-01-091-41/+47
| | | | | alloca (when non-reentrant) since alloca can blow the stack pretty easily on mmu-less.
* Patch to add rcmd support, from Stefan Soucek, which I'd longEric Andersen2002-01-022-1/+670
| | | | | ago forgotten. Oops. Needed some minor scrubbing for bitrot, -Erik
* Steven Carr noticed that uClibc's inet_aton() is stricter then inEric Andersen2001-12-201-1/+7
| | | | | | | | 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
* Update my email address. I am no longer andersen@lineo.comEric Andersen2001-12-192-0/+2
|
* patch from Jari Korva <jpkorva@iki.fi>:Eric Andersen2001-12-072-7/+12
| | | | | | | | - 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!
* Adjust naming for __FORCE_GLIBC__ to __FORCE_GLIBC and addEric Andersen2001-11-2150-50/+50
| | | | | support for __FORCE_NOGLIBC per Brian Stafford <brian.stafford@office-logic.com>
* Patch from Jari Korva <jpkorva@iki.fi>Eric Andersen2001-11-071-44/+300
| | | | | | | | | | | | | | | | | | | | | | 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 ;)
* Patch from Jari Korva <jari.korva@vtt.fi> to fix a memory leakEric Andersen2001-11-051-0/+1
| | | | in dns_lookup.
* Yet more minor cleanupsEric Andersen2001-10-041-2/+2
|
* With all the headerfile changes, some functions didn't get there arg typesDavid McCullough2001-10-041-1/+1
| | | | fixed up.
* Silence stupid warnings caused by bad kernel network includesEric Andersen2001-09-274-0/+8
|
* Update to accomodate the header file changesEric Andersen2001-09-275-9/+67
|
* A patch from Michal Moskal <malekith@pld.org.pl> to includeEric Andersen2001-07-093-2/+152
| | | | | partial IPV6 support. This adds things like gethostbyname2(). Off by defaut, of course,
* Silence a few warnings.Eric Andersen2001-06-124-1/+7
|
* Cleanup some stupid warningsEric Andersen2001-05-312-14/+23
|
* Ok, this should finish off my massive ro-organization. The sourceEric Andersen2001-05-122-4/+2
| | | | | | | | | 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
* Fix 'make clean' so it clean the rpc dirEric Andersen2001-05-111-1/+1
|
* By default, leave out the RPC junk (it adds over 30k). Add in a compileEric Andersen2001-05-091-3/+8
| | | | | | time option to include it if NFS support is wanted (does anyone every use this for anything else these days?) -Erik
* Code did not match the prototypes, from what I can tell it should be usingDavid McCullough2001-05-081-4/+4
| | | | size_t as the header files have it already.
* Looks like I forgot to commit this.Eric Andersen2001-05-081-1/+1
|
* Add in inet_ntop() and inet_pton() -- ported from glibc 2.2.3Eric Andersen2001-05-041-0/+400
| | | | by Cory Visi <merlin@phear.lwz.org>
* Clean up some issues for building on m68k.David McCullough2001-05-042-7/+2
|
* Use the real getnetbyname(), not the stub in resolv.cEric Andersen2001-04-201-1/+1
|
* getnetbyname.o, res_init.o and res_query.o were missing from the Makefile,Eric Andersen2001-04-201-1/+3
| | | | patch thanks to John Hall <John.Hall@optionexist.co.uk>
* Fix include/errno.h to not use kernel header, and instead use bits/errno.h.Eric Andersen2001-04-062-3/+3
| | | | | | | 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
* Add some missing network functionality; grabbed from libc-5.3.12.Manuel Novoa III2001-03-126-4/+347
|
* Added /etc/hosts processing (parses everytime like a real one :-)David McCullough2001-02-262-33/+233
| | | | | | | | | | | | Added support for multiple nameserver lines, still supports multiple servers on a on single line. Added "domain" entry. domain and search are mutually exclusive and override each other (the last one wins, see the resolver(5) man page). Added dummy "getnetbyname" that returns fail. Added "res_init" and "res_query".
* Sigh. Turn debugging back off.Eric Andersen2001-02-231-1/+1
|
* This is a touch cleaner, avoids using the comma operator.Eric Andersen2001-02-231-2/+3
|
* This actually fixes things I believe.Eric Andersen2001-02-231-21/+21
|
* Fix two bugs. First, gethostbyname was doing dns queries when given an IPEric Andersen2001-02-231-3/+16
| | | | | | address. Secondly, when doing reverse dns lookups, it was appending the domain, even if a domain was already attached. -Erik
* Clean up lots of warnings.Manuel Novoa III2001-02-1228-70/+109
|
* Wierd. Whats _null_auth doing here?Eric Andersen2001-02-051-2/+0
| | | | -Erik
* Fix broken dependancies.Eric Andersen2001-02-051-4/+7
| | | | -Erik
* Try enabling rpc support by default now. With a bit of luck it mightEric Andersen2001-02-051-1/+1
| | | | | even work... -Erik
* Fix the worst of the damage so it actually compiles now (though, strictlyEric Andersen2001-02-053-17/+9
| | | | | | speaking the entire pile of rpc dung is infect damage). Anyway, hopefully NFS using things may now be able to work... -Erik
* Update networking includes.Eric Andersen2001-02-0543-149/+95
|
* I've been working on fixing up the rpc crap. now it is onlyEric Andersen2001-01-157-37/+32
| | | | _mostly_ broken, a big improvement. Still doesn't compile...
* Patch from James Graves <jgraves@deltamobile.com> to better handle m68k.Eric Andersen2001-01-121-6/+12
| | | | | | Also fixes 2 very important malloc bugs! Anyone using malloc (esp mmu-less) should update and recompile. -Erik
* A large update from Manuel Novoa III <mnovoa3@bellsouth.net>.Eric Andersen2001-01-113-6/+6
|
* A number of updates from Manuel Novoa III. Things look good...Eric Andersen2000-12-201-11/+33
|
* Some cleanups from W. Greathouse <wgreathouse@smva.com> (and a few of my own)Eric Andersen2000-11-301-82/+152
|
* Fix up a few messes so it compiles cleanly again.Eric Andersen2000-11-111-0/+1
|
* Fix doc blunder.Eric Andersen2000-11-042-8/+8
|