summaryrefslogtreecommitdiffstats
path: root/lib/libc/net
Commit message (Collapse)AuthorAgeFilesLines
* o Stop abusing MD headers with non-MD types.mike2001-12-012-9/+14
| | | | | | | | | | | | | | | o Hide nonstandard functions and types in <netinet/in.h> when _POSIX_SOURCE is defined. o Add some missing types (required by POSIX.1-200x) to <netinet/in.h>. o Restore vendor ID from Rev 1.1 in <netinet/in.h> and make use of new __FBSDID() macro. o Fix some miscellaneous issues in <arpa/inet.h>. o Correct final argument for the inet_ntop() function (POSIX.1-200x). o Get rid of the namespace pollution from <sys/types.h> in <arpa/inet.h>. Reviewed by: fenner Partially submitted by: bde
* Duh. Back out most of my previous commit. It was mostly covered in thecjc2001-11-291-9/+1
| | | | | | | | | STANDARDS section of the page. Add one remark there about inet_pton(3) only understanding decimal values (in contrast to inet_aton(3) and friends who are happy with 0ac.020.25 for 172.16.0.25). Caught by: ru MFC after: 2 days
* After the long explanaition of how the inet_* functions interpretcjc2001-11-291-0/+8
| | | | | | | Internet addresses, point out that inet_pton(3) only understands dotted quads with decimal values. MFC after: 2 days
* Fixed namespace pollution related to `err' in libc in the same way as forbde2001-11-112-3/+4
| | | | | | | | `warn'. Now a whole 2 members of the err() family don't cause pollution. This fixes world breakage in awk for NOSHARED worlds. contrib/awk/msg.c has had its own version of err() for a long time, but this somehow didn't cause problems until the update to awk-3.1.0.
* - Put missing prototype for rcmd() in <unistd.h>.ru2001-11-092-58/+66
| | | | | | | - Clean up the manpage. - style(9) rcmdsh.c. Committed from: BSDCon/EU 2k+1 terminal room
* Don't ignore unknown characters. The previous code treated a line like:fenner2001-11-072-3/+5
| | | | | | | | | | | | hosts:!!!!!!!!@@@@@$%^&*()()*$(files{}{}|||++!)(dns exactly the same as: hosts: files dns Recover from parse errors by looking for the end of a line; this allows entries without errors to still be parsed even if there is an erroneous entry earlier in the file.
* Allow users to specify a command to use as remote command instead ofimp2001-10-234-6/+257
| | | | | | | | | | using rcmd directly. This has been in my tree for a long time, but we may need to sync with OpenBSD before MFC. Obtained from: openbsd PR: 15830 MFC after: 2 months
* Use the new SIOCGIFINDEX ioctl to efficiently map a name to an index.jlemon2001-10-171-2/+22
| | | | | If the syscall fails, fall back on the old method as a compatability measure.
* getnetbyaddr() should be serviced by the "networks" database.ru2001-10-101-1/+1
|
* Don't mangle vendor ids to put them in __RCSID. Just ifdef all vendormike2001-10-091-1/+6
| | | | | | id cruft. Submitted by: bde
* Include <string.h> to prototype strcpy(3). While I'm here, make usemike2001-10-041-3/+4
| | | | | | of the new RCSID macros. MFC after: 3 days
* - cope with sa_len < sizeof(struct sockaddr).ume2001-10-021-35/+44
| | | | | | | | From: Patrik Lindergren <patrik@datacom.nu> - delint (pointer cast issue). from netbsd-current Obtained from: KAME MFC after: 1 week
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-0122-48/+48
|
* 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
|
OpenPOWER on IntegriCloud