summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/getaddrinfo.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Pull in patch from current (itojun):jason2000-06-151-2/+27
| | | | translate DNS error code into getaddrinfo error code (EAI_xxx). PR 1229.
* remove unused struct def. more sanity check for NULL.itojun2000-04-271-16/+16
|
* add $KAME$ for future version trackingitojun2000-04-261-1/+2
|
* remove #if 0'ed portion which we will never revisit (no behavior change).itojun2000-04-261-14/+1
|
* sync with latest kame.itojun2000-04-261-19/+21
| | | | | | - completely disable AI_ADDRCONFIG support (post RFC2553) since it does not work for PF_UNSPEC. - remove unused variables, some delint.
* correct boundary check. XXX should avoid code duplicate here...itojun2000-04-251-2/+2
|
* workaround against name servers which return NXDOMAIN/SERVFAIL on IPv4 onlyitojun2000-03-161-2/+4
| | | | | node (the srever server should return acount = 0 without error). NetBSD PR: 9621
* fix error handling in yp case.itojun2000-03-131-2/+3
|
* make getaddrinfo obey search order declared in resolv.conf.itojun2000-02-251-142/+924
| | | | | the code duplicate is necessary because there's no low-level resolver function that looks up database against "any address family" query.
* remove extra #ifdef (USE_GETIPNODEBY)itojun2000-02-211-9/+1
|
* to synchronize with progress of discussion for postitojun2000-02-171-2/+2
| | | | | | | | draft-ietf-ipngwg-scopedaddr-format-00.txt (will be 01), use "address%interface" notation for extended scoped IPv6 address. NOTE: the change affects link-local addresses only. I hope it to be the final change on it.....
* add more comments from recent kame.itojun2000-02-161-5/+37
| | | | | | | | prepare to swap extended scoped address notation. fe80::1%de0 is the most promised candidate, but since it is still very draft, i'm not sure when to switch - if you have any idea please let me know. in other words, do i allowed to change it every week? :-P (NOTE it is only for "extended" scoped address notation, which is not for daily use)
* make it possible to compile without -DINET6itojun2000-02-151-2/+2
|
* revise extended scoped address format support. delimiter and the orderitojun2000-02-091-93/+162
| | | | | | | | is changed, based on discussion in ipngwg scoped address cabal. past code: fe80::1@de0 now: de0%fe80::1 this will be in sync with next extended address format proposal (which should be final - I don't want to make this kind of change again).
* fix RFC2553 conformance. AI_CANONNAME does not mean reverse query.itojun2000-01-261-126/+10
|
* sync comment with code. remove #if 0'ed portion (AF filtering on nameitojun2000-01-181-15/+5
| | | | resolution) and add comment there.
* do not filter address families that are not supported by kernel.itojun2000-01-171-1/+5
| | | | | | | | | it was not a correct behavior. even if we may be able to connect to the the returned addresses, filtering them out is not a correct thing to do. for example, even if you have partial unreachablility in IPv4, gethostbyname(3) will return IPv4 addresses in the unreachable network anyways.
* remove #if 0'ed part.itojun2000-01-171-55/+1
|
* replace NRL get{addr,name}info with KAME get{addr,name}info.itojun1999-12-301-459/+975
| | | | | | | | removed functionality: new code will not return AF_LOCAL addrinfo struct. added funtionality: SOCK_RAW is permitted as ai_socktype (no servname allowed). draft-ietf-ipngwg-scopedaddr-format-00.txt
* fix DNS; all this is due for squishing in a few days anyways, i suspect; ↵deraadt1999-12-071-0/+1
| | | | fujiwara@rcac.tdi.co.jp
* cleaned upderaadt1999-07-031-455/+468
|
* Removed portability ifdefs.cmetz1999-06-231-575/+1
|
* Added some protocol independent interfaces (supposedly IPv6 support APIs, butcmetz1999-06-231-0/+1127
ones that are useful for all protocols, not just IPv6).