summaryrefslogtreecommitdiff
path: root/src/lib/libc/net (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* - 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..
* 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
|
* _THREAD_PRIVATE_* macros changedd2000-01-062-5/+5
|
* allow reverse lookup for v4 loopbacknet (127.0.0.0/8).itojun2000-01-051-1/+5
|
* Xr getnameinfo and friendsderaadt2000-01-051-1/+3
|
* 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
* 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
|
* prevent bogus reverse query for 1.0.0.0.in-addr.arpa.itojun1999-12-111-7/+5
| | | | this occurs by mixing up ::1 as IPv6 auto-tunnel address like ::10.1.1.1.
* fix gethostbyname2(foo, AF_INET6).itojun1999-12-111-1/+9
| | | | | on /etc/hosts lookup, file static variable "hosts" was damaged and prevented lookup of IPv6 hostnames.
* add inet6_option_* and inet6_rthdr_*.itojun1999-12-116-2/+1520
| | | | increase shlib minor.
* fix BIND820 bug in inet_pton(). it should bark if there's ambiguousitojun1999-12-081-2/+4
| | | | text after IPv6 address string, like "0:1:2:3:4:5:6:7:8".
* 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
* Add missing MLINKsmillert1999-11-171-1/+2
|
* Correct buffer size.alex1999-09-271-3/+3
|
* typoderaadt1999-09-031-3/+3
|
* sizeof("string") includes 0 byte; aazubel@tatu.cnba.uba.arderaadt1999-09-031-2/+2
|
* Use strtol() and strtoul() instead of atoi(). This allows us to catchmillert1999-09-033-16/+29
| | | | errors reasonably and deal correctly with unsigned quantities.
* add an inner xor to make prediction attacks against the ids harder, dueprovos1999-08-261-3/+5
| | | | to an attack pointed out by David Wagner.
* use SIOCGIFCONF much more carefullyderaadt1999-07-083-42/+102
|
* use .Li to refer to data typesaaron1999-07-051-2/+3
|