summaryrefslogtreecommitdiff
path: root/lib/libc/net/getaddrinfo.c
AgeCommit message (Expand)Author
2003-05-17bound copiesitojun
2003-05-08fill ai_canonname field for numeric hostname, by the given hostname.itojun
2003-03-17From: "Jason L. Wright" <jason@thought.net>itojun
2002-08-27allocate 64K recieve buffer for DNS responses.itojun
2002-08-22drop AAAA reply with IPv4 mapped address. sync w/kameitojun
2002-07-01pacify lint. from he@netbsditojun
2002-07-01lint clean. from martin husemannitojun
2002-07-01make more pedantic check on strtoul. from deraadt, sync w/kameitojun
2002-06-29correct port range check. from deraadt, sync w/kame, diff sent to bind-bugsitojun
2002-06-27correct %d/%u mixup.itojun
2002-06-26correct bad practice in the code - it uses two changing variablesitojun
2002-05-14struct addrinfo.ai_addrlen used to be a size_t, per RFC 2553.kleink
2001-08-20use snprintf, not sprintf. sync with kame.itojun
2001-01-25make local constant arrays constjdolecek
2001-01-24make sure "qname" argument to getanswer() is properly given. from lukemitojun
2001-01-04sprinkle _DIAGASSERT() aroundlukem
2000-12-10remove redundant declarations of h_errno and __hostaliaschristos
2000-09-23don't bother declaring in6_addrany[] and in6_loopback #ifndef INET6lukem
2000-08-31on /etc/hosts lookup, set "official host name" (the leftmost hostname)itojun
2000-08-09implement EDNS0 support, as EDNS0 support will be made mandatory foritojun
2000-07-09reject empty scopeid/numeric portname explicitly. sync with kame.itojun
2000-07-09use strtoul() to check for all-digit string, not isdigit(). sync with kame.itojun
2000-07-07Passing "char" values to ctype(3) functions is problematic.itohy
2000-07-05return EAI_NODATA, instead of EAI_NONAME, on name resolution errors.itojun
2000-04-27remove unused struct def. more sanity check for NULL.itojun
2000-04-26add $KAME$itojun
2000-04-26disable AI_ADDRCONFIG (post RFC2553 specification),itojun
2000-04-24add __RCSID().itojun
2000-04-24supply weak alias for IPv6-related library additions. sorry to be late.itojun
2000-04-03in yphostent, initialize res0 when getaddrinfo fails.itojun
2000-04-02Delint:christos
2000-03-16visit all requests even if we get errors from name server.itojun
2000-02-22avoid memory leak on valid FQDN + invalid port name.itojun
2000-02-20query NIS hosts.byname only when necessary (= PF_UNSPEC of PF_INET queries).itojun
2000-02-20to honor the search order defined by nsswitch.conf,itojun
2000-02-17to synchronize with progress of discussion for postitojun
2000-02-16preparation to flip extended scoped address syntax.itojun
2000-02-15make it possible to compile it without -DINET6itojun
2000-02-10sa_len was not properly set due to autoconf #ifdef.itojun
2000-02-09revise extended scoped address format support. delimiter and the orderitojun
2000-01-28backout previous commit - freeaddrinfo(NULL) issue.itojun
2000-01-27allow freeaddrinfo(NULL). nothing is talked in RFC2553 (maybe in X/Open?).itojun
2000-01-26fix RFC2553 conformance. AI_CANONNAME does not mean reverse query.itojun
2000-01-24fix comment.itojun
2000-01-23remove #if 0'ed portion (AF filtering in normal name resolution)itojun
2000-01-23Doh. I'm a dork.mycroft
2000-01-22Partially delint.mycroft
2000-01-17do not filter address families that are not supported by kernel.itojun
2000-01-17remove #if 0'ed sections.itojun
1999-12-27properly check the error result from if_nametoindex(), to disallowitojun