summaryrefslogtreecommitdiff
path: root/src/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* always pass salen as separate argument, so that it can be friendly withitojun2000-02-251-20/+22
| | | | systems with pre-4.2 sockaddrs.
* Small bits of clean-up.aaron2000-02-232-14/+11
|
* - Put structure field descriptions in a tagged list.aaron2000-02-231-53/+46
| | | | | - More mdoc macros where appropriate. - Mention OpenBSD in HISTORY.
* add freeifaddrs(3), which reclaims region allocated by getifaddrs(3).itojun2000-02-233-7/+15
| | | | in sync with kame and bsdi.
* add getifaddrs(3), from bsdi4.itojun2000-02-233-5/+539
| | | | | this will help future apps from complexity of SIOCGIFCONF. NOTE: getifaddrs(3) uses sysctl interface, not SIOCGIFCONF.
* remove extra #ifdef (USE_GETIPNODEBY)itojun2000-02-211-9/+1
|
* do not perform sleep() every time we get ECONNREFUSED.itojun2000-02-181-6/+12
| | | | | | try all the set of addresses before go to sleep() and retry. not sure if we still need sleep() - retry logic. why is it so persistent?
* to synchronize with progress of discussion for postitojun2000-02-172-4/+4
| | | | | | | | 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-162-6/+51
| | | | | | | | 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
|
* add BUGS section about getaddrinfo(3) search order.itojun2000-02-141-1/+6
| | | | | NetBSD PR: 9413 From: Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>
* revise extended scoped address format support. delimiter and the orderitojun2000-02-092-111/+221
| | | | | | | | 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).
* visit next addrinfo structure when rresvport_af() fails.itojun2000-01-301-4/+9
| | | | | this should fix situation like: - try to rcmd() to dual stack node from IPv4-only node/kernel
* don't permit freeaddrinfo(NULL). now the behavior is consistentitojun2000-01-281-2/+2
| | | | | | | | | | | | across {free,net,open}bsd. both rfc2553 and X/Open spec are silent about the behavior, and there's no strong consensus either. i think library should NOT be forgiving in this case, to promote development of more robust 3rd-party codebase (code works on "freeaddrinfo(NULL) = SEGV" will work on "freeaddrinfo(NULL) is okay" environment, but not the other way around). only issue i have now is NRL freeaddrinfo() compatibility, which permits freeaddrinfo(NULL).
* avoid memory leakage on freeaddrinfo().itojun2000-01-271-0/+2
| | | | (this bug was introduced since we mix KAME getaddrinfo and NRL freeaddrinfo).
* add IPv6-ready rcmd() friends.itojun2000-01-273-80/+264
| | | | | | | | rcmd(): IPv4 only rcmd_af(): af independent ruserok(): af independent iruserok(): IPv4 only iruserok_sa(): af independent
* fix RFC2553 conformance. AI_CANONNAME does not mean reverse query.itojun2000-01-261-126/+10
|
* man page updates from itojunderaadt2000-01-261-2/+2
|
* new bindresvport() semantics that itojun, shin, jean-luc and i have agreed ↵deraadt2000-01-261-2/+3
| | | | on, which will be happy for the future. bindresvport_sa() for sockaddr *, too. docs later..
* repairderaadt2000-01-251-2/+2
|
* Use .Er macro when referring to errno error names.aaron2000-01-221-3/+3
|
* ie. -> i.e.,aaron2000-01-221-2/+2
|
* Clarify and mention that errno is set to ENOMEM on failure of malloc(),pjanzen2000-01-191-5/+11
| | | | calloc(), and realloc(). Idea from NetBSD.
* Max value returned is 2^31 - 1, regardless of the arch-dependent LONG_MAX.pjanzen2000-01-191-7/+1
|
* Repair duplicate word occurences; (as found by a Perl script sent to us fromaaron2000-01-182-4/+4
| | | | Tom Christiansen <tchrist@perl.com>).
* 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.
* indentderaadt2000-01-172-6/+6
|
* sync with latest KAME version. now includes description on scoped addritojun2000-01-172-7/+234
| | | | extension. add examples (good enough? >deraadt)
* remove #if 0'ed part.itojun2000-01-172-79/+2
|
* fix includes; bdederaadt2000-01-062-3/+5
|
* oopsd2000-01-061-2/+2
|
* include thread_private.hd2000-01-061-1/+2
|
* _THREAD_PRIVATE_* macros changedd2000-01-062-5/+5
|
* rewrite to use the helpers in the thread/ directory and to define weak alias ↵d2000-01-061-135/+91
| | | | macros
* allow reverse lookup for v4 loopbacknet (127.0.0.0/8).itojun2000-01-051-1/+5
|
* Xr getnameinfo and friendsderaadt2000-01-051-1/+3
|
* Grammar; deraadt@aaron2000-01-031-2/+2
|
* always enable IPv6 address in /etc/hosts (via _gethtent()).itojun2000-01-032-5/+8
| | | | | clarify RES_USE_INET6. the use of this bit is not meaningful on openbsd (as we don't have mapped addr support in kernel).
* add the _af versions to the NAME chunkderaadt1999-12-301-1/+2
|
* replace NRL get{addr,name}info with KAME get{addr,name}info.itojun1999-12-303-672/+1214
| | | | | | | | 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
* speed up blowfish by > 20%.provos1999-12-281-28/+32
|
* more fixes from markusderaadt1999-12-171-4/+4
|
* nice error return; markusderaadt1999-12-171-1/+2
|
* oopsderaadt1999-12-171-1/+3
|
* rresvport_af() and bindresvport_af()deraadt1999-12-164-44/+138
|
* incorrect bounds on strlcpy()deraadt1999-12-161-2/+2
|
* sync KAME rcsid.itojun1999-12-121-2/+2
|
* inet6_rthdr_reverse() is not available yet.itojun1999-12-121-1/+4
|