summaryrefslogtreecommitdiff
path: root/lib/libc/net/getaddrinfo.c
AgeCommit message (Expand)Author
2025-03-28libc/getaddrinfo(2): return EAI_AGAIN on nameserver timeoutGleb Smirnoff
2023-11-01libc: Purge unneeded cdefs.hWarner Losh
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2022-11-09libc: Don't warn about RRSIG replies.Dag-Erling Smørgrav
2022-11-02getaddrinfo: distinguish missing addrs from unresolvable namesMike Karels
2017-12-20Don't ignore trailing spaces after numerical IP addresses.Hajimu UMEMOTO
2017-11-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-09-14Silently handle freeaddrinfo(NULL) for compatibility with code whichKonstantin Belousov
2017-01-02Cleanup inelegant calloc(3) introduced in r310984.Pedro F. Giffuni
2016-12-31Use calloc instead of malloc + memset(.., 0, ..)Enji Cooper
2016-08-31'addrlen' does not matter when we need to find the first non-zero bit inAndrey A. Chernov
2016-08-27The formal behavior of qsort is unstable with regard to objects thatAndrey A. Chernov
2016-08-13Initialize `ai` to NULL and test for `ai` with type-appropriate valuesEnji Cooper
2016-04-30libc: spelling fixes.Pedro F. Giffuni
2016-04-18libc: do not include <sys/types.h> where <sys/param.h> was already includedAndriy Voskoboinyk
2016-04-16libc: make some more use of the nitems() macro.Pedro F. Giffuni
2015-12-21If we end up following a CNAME chain that does not findHajimu UMEMOTO
2015-12-18Use _map_v4v6_address().Hajimu UMEMOTO
2015-12-18Add AI_V4MAPPED and AI_ALL support for getaddrinfo(3).Hajimu UMEMOTO
2015-12-12RFC 3493 requires ignoring the loopback address for A_ADDRCONFIG.Hajimu UMEMOTO
2015-12-10The calls to RES_SET_H_ERRNO() macro on error paths wind upHajimu UMEMOTO
2015-10-03- Move PF_LOCAL at the end of the array. PF_INET{,6} is used more often.Hiroki Sato
2015-09-20Add PF_LOCAL support in getaddrinfo(3) and getnameinfo(3):Hiroki Sato
2015-04-06Stop including if_var.h from userland.Gleb Smirnoff
2014-11-09Renove faith(4) and faithd(8) from base. It looks like industryAlexander V. Chernikov
2014-06-26Fix build with WITHOUT_INET6.Hajimu UMEMOTO
2014-06-26- Exclude loopback address rather than loopback interface.Hajimu UMEMOTO
2014-06-23Exclude IPv4 address from doing longest match.Hajimu UMEMOTO
2014-06-19Use SOCK_CLOEXEC.Hajimu UMEMOTO
2014-06-18Retooling addrconfig() to exclude addresses on loopback interfacesHajimu UMEMOTO
2014-04-07Add support for UDP-Lite protocol (RFC 3828) to IPv4 and IPv6 stacks.Kevin Lo
2013-09-06libc: Use SOCK_CLOEXEC for various internal file descriptors.Jilles Tjoelker
2013-08-23libc: Make various internal file descriptors from fopen() close-on-exec.Jilles Tjoelker
2012-07-18Return zero from get_addrselectpolicy() when no source-address-selectionMaksim Yevmenkin
2012-07-15libc: Remove some unused strings from getaddrinfo().Jilles Tjoelker
2012-06-06Fix two warnings about self-assignment in libc. These normally onlyDimitry Andric
2012-04-02Eliminate two cases of unwanted strncpy(). The name is not requiredXin LI
2012-01-07Handle the internal scope address representation of the KAME IPv6Hajimu UMEMOTO
2009-03-29Query DNS only once per an address family.Hajimu UMEMOTO
2009-03-25Add support for SCTP to getaddrinfo(3).Hajimu UMEMOTO
2009-03-24getaddrinfo(3) should accept numeric when ai_socktype is notHajimu UMEMOTO
2009-02-08Shutup warning for DNAME RR.Hajimu UMEMOTO
2008-02-03Remove incomplete support of AI_ALL and AI_V4MAPPED.Hajimu UMEMOTO
2007-09-05ensure the head entry of addrinfo chain has non-NULL ai_canonname to beJINMEI Tatuya
2006-07-23do not overload the port number on to the return value ofHajimu UMEMOTO
2006-07-22remove obsolete comments.Hajimu UMEMOTO
2006-07-21simplification in explore_numeric: unified the post-process withHajimu UMEMOTO
2006-07-21RFC3493 requires use of inet_aton for AF_INET.Hajimu UMEMOTO
2006-07-21clean-up: rewrote explore_null and explore_numeric without using sentinel.Hajimu UMEMOTO
2006-04-28- Extend the nsswitch to support Services, Protocols and RpcHajimu UMEMOTO