summaryrefslogtreecommitdiff
path: root/lib/libc/net/getnameinfo.c
AgeCommit message (Collapse)Author
2005-03-25ansify. ok deraadt@ moritz@Otto Moerbeek
2004-09-15unused variablesTheo de Raadt
2004-06-07major bump to libc and libpthread to break the dependency of aMarco S Hyman
particular implementation of libpthread for libc. libc no longer needs pthread.h to compile. OK millert@, brad@, tedu@
2003-07-21bug library/3297: lib/libc/net/get{addr,name}info should share mutexMarco S Hyman
'Looks right' deraadt@
2003-01-28thread safer libc (note: safer, not safe)Marco S Hyman
Access to the global _res structure replaced by pointers to a per thread instance. If unthreaded the pointer is to the global structure. Also replaced a 64k stack array with malloc-ed memory so threaded aps (with a default 64k stack) have a chance at working. ok deraadt@
2002-06-27ntohs() returns unsigned valueJun-ichiro itojun Hagino
2002-05-22more strlcpy and snprintfTheo de Raadt
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-11-15make NI_WITHSCOPEID a default (always on), to synchronize with recent 2553bis.Jun-ichiro itojun Hagino
sync with kame.
2001-11-14sync with kame better. open some renaming #defines (ENI_xx).Jun-ichiro itojun Hagino
2001-08-20cope with negative return value from snprintf.Jun-ichiro itojun Hagino
2000-09-25fix off-by-1 error.Jun-ichiro itojun Hagino
From: Pavel Kankovsky <peak@argo.troja.mff.cuni.cz>
2000-06-12correct ENI_SALEN case to meet rfc2553bis.Jun-ichiro itojun Hagino
2000-06-12correct behavior against invalid sockaddr. previous code may return 0Jun-ichiro itojun Hagino
(success) on invalid sockaddr. sync with rfc2553bis regarding to getnameinfo error code. (sync with kame)
2000-05-15correct type of 2nd argument to meet RFC2553. (this should raise no ABIJun-ichiro itojun Hagino
problem due to type promotion). PR 1228.
2000-04-26const poisoningJun-ichiro itojun Hagino
2000-04-26bring in latest KAME implementation.Jun-ichiro itojun Hagino
conforms to draft-ietf-ipngwg-scopedaddr-format-01.txt. behavior change: returns numeric scopeid if we can't convert to string removed #if 0'ed portion which we will never revisit.
2000-03-13avoid unused variable by #ifdefJun-ichiro itojun Hagino
2000-03-13don't process NI_NOFQDN, since the currently coded behavior is not specwiseJun-ichiro itojun Hagino
correct.
2000-02-17to synchronize with progress of discussion for postJun-ichiro itojun Hagino
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.....
2000-02-16add more comments from recent kame.Jun-ichiro itojun Hagino
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)
2000-02-09revise extended scoped address format support. delimiter and the orderJun-ichiro itojun Hagino
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).
2000-01-17remove #if 0'ed part.Jun-ichiro itojun Hagino
2000-01-05allow reverse lookup for v4 loopbacknet (127.0.0.0/8).Jun-ichiro itojun Hagino
1999-12-30replace NRL get{addr,name}info with KAME get{addr,name}info.Jun-ichiro itojun Hagino
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
1999-07-03cleaned upTheo de Raadt
1999-06-23Fixed compilation problems.cmetz
1999-06-23Removed portability ifdefs.cmetz
1999-06-23Added some protocol independent interfaces (supposedly IPv6 support APIs, butcmetz
ones that are useful for all protocols, not just IPv6).