Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | make getaddrinfo obey search order declared in resolv.conf. | itojun | 2000-02-25 | 1 | -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 with | itojun | 2000-02-25 | 1 | -20/+22 | |
| | | | | systems with pre-4.2 sockaddrs. | |||||
* | Small bits of clean-up. | aaron | 2000-02-23 | 2 | -14/+11 | |
| | ||||||
* | - Put structure field descriptions in a tagged list. | aaron | 2000-02-23 | 1 | -53/+46 | |
| | | | | | - More mdoc macros where appropriate. - Mention OpenBSD in HISTORY. | |||||
* | add freeifaddrs(3), which reclaims region allocated by getifaddrs(3). | itojun | 2000-02-23 | 3 | -7/+15 | |
| | | | | in sync with kame and bsdi. | |||||
* | add getifaddrs(3), from bsdi4. | itojun | 2000-02-23 | 3 | -5/+539 | |
| | | | | | this will help future apps from complexity of SIOCGIFCONF. NOTE: getifaddrs(3) uses sysctl interface, not SIOCGIFCONF. | |||||
* | remove extra #ifdef (USE_GETIPNODEBY) | itojun | 2000-02-21 | 1 | -9/+1 | |
| | ||||||
* | do not perform sleep() every time we get ECONNREFUSED. | itojun | 2000-02-18 | 1 | -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 post | itojun | 2000-02-17 | 2 | -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. | itojun | 2000-02-16 | 2 | -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 -DINET6 | itojun | 2000-02-15 | 1 | -2/+2 | |
| | ||||||
* | add BUGS section about getaddrinfo(3) search order. | itojun | 2000-02-14 | 1 | -1/+6 | |
| | | | | | NetBSD PR: 9413 From: Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE> | |||||
* | revise extended scoped address format support. delimiter and the order | itojun | 2000-02-09 | 2 | -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. | itojun | 2000-01-30 | 1 | -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 consistent | itojun | 2000-01-28 | 1 | -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(). | itojun | 2000-01-27 | 1 | -0/+2 | |
| | | | | (this bug was introduced since we mix KAME getaddrinfo and NRL freeaddrinfo). | |||||
* | add IPv6-ready rcmd() friends. | itojun | 2000-01-27 | 3 | -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. | itojun | 2000-01-26 | 1 | -126/+10 | |
| | ||||||
* | man page updates from itojun | deraadt | 2000-01-26 | 1 | -2/+2 | |
| | ||||||
* | new bindresvport() semantics that itojun, shin, jean-luc and i have agreed ↵ | deraadt | 2000-01-26 | 1 | -2/+3 | |
| | | | | on, which will be happy for the future. bindresvport_sa() for sockaddr *, too. docs later.. | |||||
* | repair | deraadt | 2000-01-25 | 1 | -2/+2 | |
| | ||||||
* | Use .Er macro when referring to errno error names. | aaron | 2000-01-22 | 1 | -3/+3 | |
| | ||||||
* | ie. -> i.e., | aaron | 2000-01-22 | 1 | -2/+2 | |
| | ||||||
* | Clarify and mention that errno is set to ENOMEM on failure of malloc(), | pjanzen | 2000-01-19 | 1 | -5/+11 | |
| | | | | calloc(), and realloc(). Idea from NetBSD. | |||||
* | Max value returned is 2^31 - 1, regardless of the arch-dependent LONG_MAX. | pjanzen | 2000-01-19 | 1 | -7/+1 | |
| | ||||||
* | Repair duplicate word occurences; (as found by a Perl script sent to us from | aaron | 2000-01-18 | 2 | -4/+4 | |
| | | | | Tom Christiansen <tchrist@perl.com>). | |||||
* | sync comment with code. remove #if 0'ed portion (AF filtering on name | itojun | 2000-01-18 | 1 | -15/+5 | |
| | | | | resolution) and add comment there. | |||||
* | do not filter address families that are not supported by kernel. | itojun | 2000-01-17 | 1 | -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. | |||||
* | indent | deraadt | 2000-01-17 | 2 | -6/+6 | |
| | ||||||
* | sync with latest KAME version. now includes description on scoped addr | itojun | 2000-01-17 | 2 | -7/+234 | |
| | | | | extension. add examples (good enough? >deraadt) | |||||
* | remove #if 0'ed part. | itojun | 2000-01-17 | 2 | -79/+2 | |
| | ||||||
* | fix includes; bde | deraadt | 2000-01-06 | 2 | -3/+5 | |
| | ||||||
* | oops | d | 2000-01-06 | 1 | -2/+2 | |
| | ||||||
* | include thread_private.h | d | 2000-01-06 | 1 | -1/+2 | |
| | ||||||
* | _THREAD_PRIVATE_* macros changed | d | 2000-01-06 | 2 | -5/+5 | |
| | ||||||
* | rewrite to use the helpers in the thread/ directory and to define weak alias ↵ | d | 2000-01-06 | 1 | -135/+91 | |
| | | | | macros | |||||
* | allow reverse lookup for v4 loopbacknet (127.0.0.0/8). | itojun | 2000-01-05 | 1 | -1/+5 | |
| | ||||||
* | Xr getnameinfo and friends | deraadt | 2000-01-05 | 1 | -1/+3 | |
| | ||||||
* | Grammar; deraadt@ | aaron | 2000-01-03 | 1 | -2/+2 | |
| | ||||||
* | always enable IPv6 address in /etc/hosts (via _gethtent()). | itojun | 2000-01-03 | 2 | -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 chunk | deraadt | 1999-12-30 | 1 | -1/+2 | |
| | ||||||
* | replace NRL get{addr,name}info with KAME get{addr,name}info. | itojun | 1999-12-30 | 3 | -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%. | provos | 1999-12-28 | 1 | -28/+32 | |
| | ||||||
* | more fixes from markus | deraadt | 1999-12-17 | 1 | -4/+4 | |
| | ||||||
* | nice error return; markus | deraadt | 1999-12-17 | 1 | -1/+2 | |
| | ||||||
* | oops | deraadt | 1999-12-17 | 1 | -1/+3 | |
| | ||||||
* | rresvport_af() and bindresvport_af() | deraadt | 1999-12-16 | 4 | -44/+138 | |
| | ||||||
* | incorrect bounds on strlcpy() | deraadt | 1999-12-16 | 1 | -2/+2 | |
| | ||||||
* | sync KAME rcsid. | itojun | 1999-12-12 | 1 | -2/+2 | |
| | ||||||
* | inet6_rthdr_reverse() is not available yet. | itojun | 1999-12-12 | 1 | -1/+4 | |
| |