summaryrefslogtreecommitdiff
path: root/lib/libc/net
AgeCommit message (Collapse)Author
2006-03-31(char)to{upper,lower}()Theo de Raadt
2006-03-31oldmask = sigprocmask(SIG_BLOCK, &mask, &oldmask);Theo de Raadt
is not valid code; found by lint
2006-03-22Pass size of correct variable to memset().Ray Lai
From Alexey Dobriyan. OK otto@
2006-01-17Include limits.h directly instead of depending on another headerTodd C. Miller
to include it for us.
2006-01-17Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELENTodd C. Miller
2005-12-30Currently sys/socket.h needs sys/types.h so add #include <sys/types.h> toClaudio Jeker
the list of necessary includes. Now the manpages match reality. OK mpf@ millert@
2005-12-22handle chroot and res_init calls better. diagnosis assistance from otto.Ted Unangst
ok deraadt otto.
2005-11-15Do not clobber errno when calling close(2) in example code.Otto Moerbeek
From form@ via mpech@
2005-11-13save errno in example code. from mpech@ ok jmc@Otto Moerbeek
2005-11-10add $OpenBSD$ tags, as requested by dtucker.Marc Espie
2005-10-02`ether_addr' is the name of a structure, not a function: remove its MLINKJason McIntyre
and remove its entry from the .Nm list;
2005-08-06zap rcsid.Marc Espie
split functions off res_debug.c so that getnetnamadr.c does not pull it all when it's used. okay deraadt@, krw@
2005-07-27Restore recent changes except for the actual one that causes the problem.Todd C. Miller
2005-07-27backout gethostent changes for now -- there is fallout, discovered by ottoJared Yanovich
2005-07-24In _gethtent() ignore host.h_length if it is set to 0. PreviouslyTodd C. Miller
we only ignored it if host.h_addrtype was AF_UNSPEC. Set host.h_length to 0 in _gethtbyname2() since that function does not take a length argument. Problem found by jaredy@
2005-07-23*hostent() fixes:Jared Yanovich
- Make _gethtent() static - _gethtbyname() is dead code (succeeded by _gethtbyname2), kill it - _gethtent() requires setting the address family field of the file-scope variable `host' to that of the desired type of the entry being searched for. Change the behavior to enforce this if it is not AF_UNSPEC, which will now allow stepping through entries, and set it to specific values everywhere else. help & ok millert
2005-07-22- sync prototypes and header file excerptsJared Yanovich
- typos/spelling, punctuation, rewording, macro, and layout fixes. help & ok jmc
2005-07-18fix spelling mistake (in comment);Jason McIntyre
from ray lai;
2005-07-05use "www" as the service name in the example instead of "http" since "www"David Gwynne
is what is used in /etc/services. ok jmc@ henning@ millert@
2005-06-19Remove a check about whether sa->sa_len is equal to salen fromMarc Matteo
getnameinfo(3). POSIX doesn't require this and it breaks code that doesn't handle it. "I think this is safe" millert@
2005-06-17remove netns stuff, ok millertHenning Brauer
libc major bump by espie in a few
2005-06-09remove references to ns(4);Jason McIntyre
2005-06-08Make gethostbyaddr() prototype match POSIX. This means len is nowTodd C. Miller
unsigned but there is no ABI change. OK deraadt@
2005-06-05sort sections;Jason McIntyre
2005-06-05s/-p1003.1-2003/-p1003.1-2004/gJason McIntyre
2005-05-02be more careful with snprintf. ok millert@Moritz Jodeit
2005-04-05explain where type and class are defined; ok jmc@Federico G. Schwindt
CVS ----------------------------------------------------------------------
2005-03-30make the resolver stat resolv.conf and update if it changes.Ted Unangst
useful feedback and ok deraadt@
2005-03-28add constTed Unangst
2005-03-28add some const to ether_*. remove bonus prototypes this brought out.Ted Unangst
ok deraadt@
2005-03-25ansify. ok deraadt@ moritz@Otto Moerbeek
2005-03-12There is no need to call freeaddrinfo() in case of an error.Claudio Jeker
getaddrinfo() does that already by itself. OK jmc@ beck@
2005-03-08do not trash errno before using it, do not pass garbage args to getnameinfoTheo de Raadt
ok henning andrushock@korovino.net
2005-03-07fd leak; andrushock@korovino.netTheo de Raadt
2005-03-06correct snprintf return value checks, where the wrong ptrMoritz Jodeit
was used for calculating the buffer size. ok tedu@ cloder@
2005-03-02Consistent #if protection of rcs ids; Francois PerradTodd C. Miller
2005-03-02More const in h_errlist and h_nerr; Francois PerradTodd C. Miller
2005-02-25Be correct in our man pages when talking about NUL termination (that is,Chad Loder
termination with '\0') vs. null termination. Input from krw@, jaredy@, jmc@. OK deraadt@
2005-02-19fix pasto; from d@Todd C. Miller
2005-01-29correct .Rs references;Jason McIntyre
2005-01-28fix reversed short description; ok itojun@Damien Miller
2005-01-22some fixes from netbsd, plus a few of my own;Jason McIntyre
ok krw@
2005-01-11more minor tweaks, ok jmcJared Yanovich
2005-01-07clarify a sentence;Jason McIntyre
from george v. neville-neil, via itojun@
2005-01-06tweaks;Jason McIntyre
2005-01-06tweaks;Jason McIntyre
2005-01-06space between macro args and punctuation;Jason McIntyre
2005-01-06recover MLINKS for inet6_*_space.3Jun-ichiro itojun Hagino
2005-01-06IPv6 manpage, wrote from scratch. deraadt okJun-ichiro itojun Hagino
2004-12-21sort SEE ALSO;Jason McIntyre