summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/getaddrinfo.3
Commit message (Collapse)AuthorAgeFilesLines
* addrinfo.ai_family is an address family, not a protocol family.ume2015-12-201-8/+8
| | | | | PR: 162434 MFC after: 1 week
* Add AI_V4MAPPED and AI_ALL support for getaddrinfo(3).ume2015-12-181-3/+43
| | | | | PR: 198092 MFC after: 1 week
* - address grammarjgh2015-10-051-7/+6
| | | | | | | | PR: 203440 (based on) Submitted by: ceratv@rpi.edu Approved by: wblock@ (mentor) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D3813
* Add PF_LOCAL support in getaddrinfo(3) and getnameinfo(3):hrs2015-09-201-5/+15
| | | | | | | | | | | | | - In a PF_LOCAL address, "hostname" must begins with '/' and "servname" is always NULL. All of ai_flags are ignored. - PF_UNSPEC matches PF_LOCAL. EAI_SERVICE is not returned to make AF-independent programming easier; "servname" is always ignored in PF_LOCAL. In practice, PF_INET* and PF_LOCAL are mutually-exclusive because a hostname which begins with '/' is invalid in PF_INET*. No domain name resolution is performed for a PF_LOCAL address. Differential Revision: https://reviews.freebsd.org/D3634
* Various mdoc fixes and a few EOL whitespace removals.brueffer2014-12-211-2/+2
| | | | Found with: mandoc -Tlint
* Update references.hrs2013-07-091-4/+3
|
* mdoc: convert .Fd to .In, which is much nicer.joel2013-06-041-3/+3
|
* Change examples to be consistent with what style(9) says.zeising2013-02-141-5/+5
| | | | | Approved by: joel (mentor) MFC After: 2 weeks
* - forgot to bump a datedanger2009-01-061-1/+1
|
* catch up wtih r175955 by ume:danger2009-01-061-53/+2
| | | | - the support of AI_ALL and AI_V4MAPPED has been completely removed.
* - AI_ALL and AI_V4MAPPED flags are currently not supporteddanger2008-07-011-1/+18
| | | | | PR: docs/120248 Submitted by: Heiko Wundram <wundram (a) beenic.net>
* Document getaddrinfo(3)'s AI_ADDRCONFIGremko2007-06-061-6/+67
| | | | | | | PR: docs/78357 Submitted by: Matthias Andree <matthias dot andree at gmx dot de> Patch by: asmodai MFC after: 1 week
* Assorted markup fixes.ru2005-06-151-2/+4
| | | | Approved by: re
* our get{addr,name}info() is considered thread-safe.ume2005-04-291-4/+0
|
* Fixed the misplaced $FreeBSD$.ru2005-02-091-1/+2
|
* Submitted by: George V. Neville-Neil (gnn at freebsd dot org)gnn2005-01-231-0/+435
| | | | | | | | | | | | | | | | Reviewed by: Kame Project (including Itojun-san, Jinmei-san and Suzuki-san) Approved by: Robert Watson (robert at freebsd dot org) Obtained from: Kame Project and OpenBSD Replace manual pages that may have violated the IETF's Copyright. All come from the Kame tree. Several were from OpenBSD except for ip6.4, and the inet6* pages which were rewritten by me. All of the text is new and drawn from reading the code and documentation.
* Submitted by: George V. Neville-Neil (gnn at freebsd dot org)gnn2005-01-231-632/+0
| | | | | | | | | Approved by: Robert Watson (robert at freebsd dot org) Remove files in preparation for replacement with totally new versions of the manual pages. Update the Makefile to handle the new file to be added.
* Sort sections.ru2005-01-201-10/+10
|
* Bump the document date, since the content changed today.roam2004-08-061-1/+1
| | | | Discussed with: ru
* Cross-reference getnameinfo(3), getaddrinfo(3), getipnodebyname(3) androam2004-08-061-0/+1
| | | | | | | | getipnodebyaddr(3). PR: 54229 Submitted by: Samuel Tardieu <sam@inf.enst.fr> MFC after: 2 weeks
* Make the resolver(3) and many associated interfaces much more reentrant.green2004-02-251-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The getaddrinfo(3), getipnodebyname(3) and resolver(3) can coincide now with what should be totally reentrant, and h_errno values will now be preserved correctly, but this does not affect interfaces such as gethostbyname(3) which are still mostly non-reentrant. In all of these relevant functions, the thread-safety has been pushed down as far as it seems possible right now. This means that operations that are selected via nsdispatch(3) (i.e. files, yp, dns) are protected still under global locks that getaddrinfo(3) defines, but where possible the locking is greatly reduced. The most noticeable improvement is that multiple DNS lookups can now be run at the same time, and this shows major improvement in performance of DNS-lookup threaded programs, and solves the "Mozilla tab serialization" problem. No single-threaded applications need to be recompiled. Multi-threaded applications that reference "_res" to change resolver(3) options will need to be recompiled, and ones which reference "h_errno" will also if they desire the correct h_errno values. If the applications already understood that _res and h_errno were not thread-safe and had their own locking, they will see no performance improvement but will not actually break in any way. Please note that when NSS modules are used, or when nsdispatch(3) defaults to adding any lookups of its own to the individual libc _nsdispatch() calls, those MUST be reentrant as well.
* EAI_ADDRFAMILY and EAI_NODATA was deprecated in RFC3493ume2003-10-231-7/+0
| | | | | | | | (aka RFC2553bis). Now, getaddrinfo(3) returns EAI_NONAME instead of EAI_NODATA. Our getaddrinfo(3) nor getnameinfo(3) didn't use EAI_ADDRFAMILY. Obtained from: KAME
* Our getaddrinfo() and getnameinfo() are thread-safe butume2003-09-151-1/+5
| | | | | | some limitation. Reported by: Marc G. Fournier <scrappy@hub.org>
* mdoc(7): Use the new feature of the .In macro.ru2003-09-081-2/+2
|
* mdoc(7) police: "The .Fa argument.".ru2002-12-191-2/+10
|
* mdoc(7) police: "The .Fn function".ru2002-12-181-1/+3
|
* just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD.suz2002-04-191-1/+2
| | | | | | | (based on freebsd4-snap-20020128) Reviewed by: ume MFC after: 1 week
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-011-3/+3
|
* mdoc(7) police:ru2001-08-071-10/+6
| | | | | | | 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.
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).ru2001-07-061-1/+1
|
* Correct error message of an example.ume2001-05-211-1/+1
| | | | Obtained from: KAME
* Nuke non-standard EAI_RESNULL.ume2001-03-171-5/+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-121-1/+1
|
* Use ``.St -p1003.1g''.ru2001-02-261-1/+2
|
* Improve language and code examples.nik2001-02-101-31/+41
| | | | | PR: docs/24961 Submmitted by: Tony Finch <dot@dotat.at>
* s/err1/errx/.ume2001-01-261-2/+2
| | | | | | http://X68000.startshop.co.jp/~68user/cgi-bin/wwwboard.cgi?log=1673 Obtained from: KAME
* mdoc(7) police: Nm -> Fn where appropriate.ru2000-11-201-1/+1
|
* Add nsswitch support. By creating an /etc/nsswitch.conf file, you cannectar2000-09-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | configure FreeBSD so that various databases such as passwd and group can be looked up using flat files, NIS, or Hesiod. = Hesiod has been added to libc (see hesiod(3)). = A library routine for parsing nsswitch.conf and invoking callback functions as specified has been added to libc (see nsdispatch(3)). = The following C library functions have been modified to use nsdispatch: . getgrent, getgrnam, getgrgid . getpwent, getpwnam, getpwuid . getusershell . getaddrinfo . gethostbyname, gethostbyname2, gethostbyaddr . getnetbyname, getnetbyaddr . getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr = host.conf has been removed from src/etc. rc.network has been modified to warn that host.conf is no longer used at boot time. In addition, if there is a host.conf but no nsswitch.conf, the latter is created at boot time from the former. Obtained from: NetBSD
* mention getipnodeby* and get{addr,name}info are not thread-safe. (sync with ↵itojun2000-08-091-3/+66
| | | | | | | kame) s/.Os KAME/.Os/ comment From: Greg Thompson
* sync with more recent kame tree.itojun2000-07-051-27/+159
| | | | | - correct scoped notation separator (s/@/%/) - include example and more references
* Introduce ".Lb" macro to libc manpages.phantom2000-04-211-0/+2
| | | | More libraries manpages updates following.
* Fixed missing include in synopsis.bde2000-01-051-2/+2
| | | | | Use long lines instead of lines split with backslash-newline in synopsis. My synopsis checker doesn't understand backslash-newline.
* Getaddrinfo(), getnameinfo(), and etc support in libc/net.shin1999-12-281-0/+408
Several udp and raw apps IPv6 support. Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
OpenPOWER on IntegriCloud