summaryrefslogtreecommitdiffstats
path: root/lib/libc/net
Commit message (Collapse)AuthorAgeFilesLines
* Add manpage for inet_net_ntop(3) and inet_net_pton(3).ru2001-08-313-1/+162
| | | | Obtained from: NetBSD
* Use ``.Rv -std'' wherever possible.ru2001-08-311-4/+1
| | | | Submitted by: yar
* o Remove some GCCisms in src/powerpc/include/endian.h.mike2001-08-301-9/+14
| | | | | | | | | | | | | | | | | | | | o Unify <machine/endian.h>'s across all architectures. o Make bswapXX() functions use a different spelling of u_int16_t and friends to reduce namespace pollution. The bswapXX() functions don't actually exist, but we'll probably import these at some point. Atleast one driver (if_de) depends on bswapXX() for big endian cases. o Deprecate byteorder(3) prototypes from <sys/types.h>, these are now prototyped indirectly in <arpa/inet.h>. o Deprecate in_addr_t and in_port_t typedefs in <sys/types.h>, these are now typedef'd in <arpa/inet.h>. o Change byteorder(3) prototypes to use standards compliant uint32_t (spelled __uint32_t to reduce namespace pollution). o Document new preferred headers and standards compliance. Discussed with: bde PR: 29946 Reviewed by: bmilekic
* Mark some functions as __printflike() and/or taking const char * argumentskris2001-08-201-0/+4
| | | | | | instead of char *. MFC after: 2 weeks
* mdoc(7) police: collapse multiple spaces.ru2001-08-171-1/+1
|
* mdoc(7) police: s;BSD/OS;.Bsx; where appropriate.ru2001-08-131-1/+2
|
* Removed duplicate VCS ID tags, as per style(9).ru2001-08-133-6/+6
|
* Fill _res.sort_list with harmless entry. sortlist for IPv6/IPv4ume2001-08-111-0/+3
| | | | | | | | | is stored in _res_ext.sort_list, and sortlist for IPv4 is stored in _res.sort_list for backward compatibility. However, both sort_list's are maintaind by just one index _res.nsort. So, when IPv6 address is specified to sortlist, empty entry was created in _res.sort_list. It broke sortlist facility of gethostbyname(). Discussed on users@jp.ipv6.org.
* mdoc(7) police: join split punctuation to macro calls.ru2001-08-101-1/+1
|
* Urge the reader to start using getaddrinfo(3) and getnameinfo(3)ru2001-08-081-0/+14
| | | | | | | protocol-independant functions that don't use static memory area. Suggested by: nik Liked by: ume, brian
* mdoc(7) police:ru2001-08-078-56/+41
| | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
* Only pull in the MD files if they exist. This allows for progressivemp2001-07-311-0/+2
| | | | implementation and compilation when bringing up a new architecture.
* Oops, commit the version which actually workskris2001-07-161-6/+12
| | | | | Obtained from: NetBSD MFC After: 1 week
* Avoid a compile-time format string warningkris2001-07-161-10/+13
| | | | | Obtained from: NetBSD MFC After: 1 week
* Remove whitespace at EOL.dd2001-07-1515-44/+44
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-1011-11/+11
|
* Document more resolver(3) routines: dn_skip() from resolv.h, andtobez2001-07-092-2/+55
| | | | | | | ns_get16(), ns_get32(), ns_put16(), and ns_put32() from arpa/nameser.h. Markup by: ru OK'ed by: markm
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.dd2001-07-091-1/+0
|
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).ru2001-07-062-2/+2
|
* mdoc(7) police: print some example text with literal font.ru2001-07-041-1/+4
|
* Bring in fix from rev 1.32 that got lost during the conversion to kqueue.jlemon2001-06-231-8/+19
| | | | | | | | This prevents an indefinte timeout in case the kevent call is interrupted for some reason. PR: 26665 MFC in: 2 weeks
* Implement EDNS0 support, as EDNS0 support will be made mandatory forume2001-06-106-2/+64
| | | | | | | | | | | IPv6 transport-ready resolvers/DNS servers. Need careful configuration when enable it. (default config is not affected). See manpage for details. XXX visible symbol __res_opt() is added, however, it is not supposed to be called from outside, libc minor is not bumped. Obtained from: KAME/NetBSD
* s/format/byte order/ (for clarity).ru2001-06-071-1/+1
|
* Correct error message of an example.ume2001-05-211-1/+1
| | | | Obtained from: KAME
* mdoc(7) police: sort xrefs.ru2001-05-151-1/+1
|
* gethostbyname2() can't do AF_INET6 lookups over NIS.alex2001-05-081-0/+7
| | | | | | getaddrinfo(3) must be used. Submitted by: ume
* Add getaddrinfo(3) to the "SEE ALSO" list.archie2001-04-271-0/+1
|
* mdoc(7) police: update referenced standard name.ru2001-04-181-1/+1
|
* Correct a typo; prefered -> preferred.kris2001-04-171-1/+1
|
* MAN[1-9] -> MAN.ru2001-03-271-1/+1
|
* IPv4 address is not unsigned int. This change introduces in_addr_t.ume2001-03-237-18/+25
| | | | | | | PR: 9982 Adviced by: des Reviewed by: -alpha and -net (no objection) Obtained from: OpenBSD
* Nuke non-standard EAI_RESNULL.ume2001-03-172-13/+0
|
* Document the rest of the possible return codes.dd2001-03-131-0/+12
| | | | | PR: 25188 Approved by: nik
* .St -p1003.1g -> .St -p1003.1g-2000.ru2001-03-122-2/+2
|
* Fix style that got corrupted.obrien2001-03-051-17/+17
|
* Fix FreeBSD id style breakage from rev 1.17obrien2001-03-051-1/+1
|
* Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.ru2001-02-281-1/+1
|
* Use the new EV_SET macro to insure that all fields in struct keventjlemon2001-02-281-5/+3
| | | | | | | are correctly initialized before use. This should fix the problem with DNS. Pointy hat to: me
* Use ``.St -p1003.1g''.ru2001-02-262-2/+4
|
* Enable AI_ADDRCONFIG as a valid flag of getaddrinfo(3). Someume2001-02-191-5/+0
| | | | | | applications specify AI_ADDRCONFIG and fail to run under FreeBSD. Latest mews is known. Now, getaddrinfo(3) behaves according to AI_ADDRCONFIG.
* Correct 2nd argument of getnameinfo(3) to socklen_t.ume2001-02-151-1/+1
| | | | Reviewed by: itojun
* mdoc(7) police: polishing.ru2001-02-101-32/+43
|
* Improve language and code examples.nik2001-02-101-31/+41
| | | | | PR: docs/24961 Submmitted by: Tony Finch <dot@dotat.at>
* Describe the arguments to gethostbyaddr.nik2001-02-091-1/+46
| | | | | | PR: docs/24225 Submitted by: Joakim Henriksson <jurduth@ludd.luth.se> Patch from: ben
* mdoc(7) police: Change -filled displays (which just happenru2001-02-072-2/+2
| | | | | | to be the same as -ragged in the current implementation) to -ragged. With mdocNG, -filled displays produce the correct output, formatted and justified to both margins.
* Fix typo: compatability -> compatibility.asmodai2001-02-061-1/+3
| | | | | | Compatability is not an existing english word. Add $FreeBSD$.
* strcpy -> strlcpy paranoianectar2001-02-021-1/+4
| | | | | Submitted by: Mike Heffner <mheffner@vt.edu> Reviewed by: freebsd-audit
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-014-45/+28
|
* s/err1/errx/.ume2001-01-261-2/+2
| | | | | | http://X68000.startshop.co.jp/~68user/cgi-bin/wwwboard.cgi?log=1673 Obtained from: KAME
* Remove _THREAD_SAFE and make libc thread-safe by default bydeischen2001-01-2415-52/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adding (weak definitions to) stubs for some of the pthread functions. If the threads library is linked in, the real pthread functions will pulled in. Use the following convention for system calls wrapped by the threads library: __sys_foo - actual system call _foo - weak definition to __sys_foo foo - weak definition to __sys_foo Change all libc uses of system calls wrapped by the threads library from foo to _foo. In order to define the prototypes for _foo(), we introduce namespace.h and un-namespace.h (suggested by bde). All files that need to reference these system calls, should include namespace.h before any standard includes, then include un-namespace.h after the standard includes and before any local includes. <db.h> is an exception and shouldn't be included in between namespace.h and un-namespace.h namespace.h will define foo to _foo, and un-namespace.h will undefine foo. Try to eliminate some of the recursive calls to MT-safe functions in libc/stdio in preparation for adding a mutex to FILE. We have recursive mutexes, but would like to avoid using them if possible. Remove uneeded includes of <errno.h> from a few files. Add $FreeBSD$ to a few files in order to pass commitprep. Approved by: -arch
OpenPOWER on IntegriCloud