summaryrefslogtreecommitdiff
path: root/src/lib/libc/net (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* `ether_addr' is the name of a structure, not a function: remove its MLINKjmc2005-10-022-4/+3
| | | | and remove its entry from the .Nm list;
* zap rcsid.espie2005-08-0647-375/+234
| | | | | | | split functions off res_debug.c so that getnetnamadr.c does not pull it all when it's used. okay deraadt@, krw@
* Restore recent changes except for the actual one that causes the problem.millert2005-07-271-20/+8
|
* backout gethostent changes for now -- there is fallout, discovered by ottojaredy2005-07-271-10/+22
|
* In _gethtent() ignore host.h_length if it is set to 0. Previouslymillert2005-07-241-10/+7
| | | | | | 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@
* *hostent() fixes:jaredy2005-07-231-22/+13
| | | | | | | | | | | | - 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
* - sync prototypes and header file excerptsjaredy2005-07-2213-102/+116
| | | | | | - typos/spelling, punctuation, rewording, macro, and layout fixes. help & ok jmc
* fix spelling mistake (in comment);jmc2005-07-181-2/+2
| | | | from ray lai;
* use "www" as the service name in the example instead of "http" since "www"dlg2005-07-051-5/+5
| | | | | | is what is used in /etc/services. ok jmc@ henning@ millert@
* Remove a check about whether sa->sa_len is equal to salen frommarcm2005-06-191-4/+1
| | | | | | | getnameinfo(3). POSIX doesn't require this and it breaks code that doesn't handle it. "I think this is safe" millert@
* remove netns stuff, ok millerthenning2005-06-175-459/+4
| | | | libc major bump by espie in a few
* remove references to ns(4);jmc2005-06-091-2/+1
|
* Make gethostbyaddr() prototype match POSIX. This means len is nowmillert2005-06-082-16/+15
| | | | unsigned but there is no ABI change. OK deraadt@
* sort sections;jmc2005-06-051-5/+5
|
* s/-p1003.1-2003/-p1003.1-2004/gjmc2005-06-052-4/+4
|
* be more careful with snprintf. ok millert@moritz2005-05-021-2/+2
|
* explain where type and class are defined; ok jmc@fgsch2005-04-051-1/+8
| | | | CVS ----------------------------------------------------------------------
* make the resolver stat resolv.conf and update if it changes.tedu2005-03-3010-34/+68
| | | | useful feedback and ok deraadt@
* add consttedu2005-03-281-4/+4
|
* add some const to ether_*. remove bonus prototypes this brought out.tedu2005-03-281-7/+7
| | | | ok deraadt@
* ansify. ok deraadt@ moritz@otto2005-03-2543-665/+348
|
* There is no need to call freeaddrinfo() in case of an error.claudio2005-03-121-1/+6
| | | | | getaddrinfo() does that already by itself. OK jmc@ beck@
* do not trash errno before using it, do not pass garbage args to getnameinfoderaadt2005-03-081-7/+10
| | | | ok henning andrushock@korovino.net
* fd leak; andrushock@korovino.netderaadt2005-03-071-2/+4
|
* correct snprintf return value checks, where the wrong ptrmoritz2005-03-061-6/+6
| | | | | | was used for calculating the buffer size. ok tedu@ cloder@
* Consistent #if protection of rcs ids; Francois Perradmillert2005-03-021-6/+2
|
* More const in h_errlist and h_nerr; Francois Perradmillert2005-03-021-4/+4
|
* Be correct in our man pages when talking about NUL termination (that is,cloder2005-02-253-7/+7
| | | | | termination with '\0') vs. null termination. Input from krw@, jaredy@, jmc@. OK deraadt@
* fix pasto; from d@millert2005-02-191-2/+2
|
* correct .Rs references;jmc2005-01-292-4/+4
|
* fix reversed short description; ok itojun@djm2005-01-281-2/+2
|
* some fixes from netbsd, plus a few of my own;jmc2005-01-221-25/+31
| | | | ok krw@
* more minor tweaks, ok jmcjaredy2005-01-112-18/+26
|
* clarify a sentence;jmc2005-01-071-5/+7
| | | | from george v. neville-neil, via itojun@
* tweaks;jmc2005-01-061-18/+16
|
* tweaks;jmc2005-01-061-32/+31
|
* space between macro args and punctuation;jmc2005-01-061-3/+3
|
* recover MLINKS for inet6_*_space.3itojun2005-01-061-2/+14
|
* IPv6 manpage, wrote from scratch. deraadt okitojun2005-01-065-16/+764
|
* sort SEE ALSO;jmc2004-12-211-2/+2
|
* - grammar, punctuation, spacing, and mdoc fixesjaredy2004-12-212-34/+29
| | | | | - remove first person - EAI_NONAME is already described in gai_strerror(3)
* thread-unsafeness comes from the use of _res, YP filehandle, and /etc/hostsitojun2004-12-212-4/+4
| | | | filehandle, not dynamic memory allocation.
* Start sentence with "The gai_strerror() function"millert2004-12-201-2/+4
|
* gai_strerror.3, getaddrinfo.3 and getnameinfo.3 are back.millert2004-12-201-3/+4
|
* gai_strerror() should return const char *; OK deraadt@millert2004-12-201-2/+2
|
* Add Itojun's CAVEATS section.millert2004-12-201-1/+55
|
* Get rid of a bogus -32 that came about from misreading the ISC originalmillert2004-12-201-4/+6
| | | | | Mention what happens when a length parameter is zero Talk about space for trailing NUL byte
* Add back EXAMPLE section and scopeid info which are from KAME, not themillert2004-12-201-1/+38
| | | | RFC text.
* New getnameinfo.3 man page, derived from the ISC version and fleshedmillert2004-12-201-0/+171
| | | | out a bit by me. Needs more work.
* Minor cleanup.millert2004-12-201-9/+16
|