summaryrefslogtreecommitdiff
path: root/src/network
AgeCommit message (Expand)AuthorFilesLines
2013-04-09getifaddrs: implement proper ipv6 netmasksrofl0r1-2/+11
2013-04-06getifaddrs: remove unused labelrofl0r1-1/+0
2013-04-05getifaddrs: use if_nameindex to enumerate interfacesrofl0r1-23/+9
2013-04-05getifaddrs: one less indent levelrofl0r1-30/+28
2013-04-05getifaddrs: less mallocrofl0r1-55/+52
2013-04-05add getifaddrsrofl0r1-0/+191
2013-04-04implement dn_skipname (legacy resolver function)Rich Felker1-0/+12
2013-02-02dynamically allocate storage for gethostby* buffersRich Felker2-10/+32
2013-02-02fix blank ai_canonname from getaddrinfo for non-CNAMEsRich Felker1-1/+1
2013-02-02fix memory leak due to double call to getaddrinfo in gethostbyname*Rich Felker1-1/+0
2013-02-02fix error returns in gethostby*_r functionsRich Felker2-17/+10
2012-12-19add inet_network (required for wine)rofl0r1-0/+11
2012-11-05improve SOCK_NONBLOCK/SOCK_CLOEXEC fallback codeRich Felker1-1/+2
2012-09-29fix some more O_CLOEXEC/SOCK_CLOEXEC issuesRich Felker1-3/+1
2012-09-29move accept4, dup3, and pipe2 to non-linux-specific locationsRich Felker1-0/+9
2012-09-29emulate SOCK_CLOEXEC and SOCK_NONBLOCK for old (pre-2.6.27) kernelsRich Felker1-1/+14
2012-09-22fix getaddrinfo to accept port 0 (zero)Rich Felker1-2/+2
2012-09-06use restrict everywhere it's required by c99 and/or posix 2008Rich Felker9-11/+11
2012-07-22remove scanf dependency from getaddrinfo /etc/services supportRich Felker1-5/+4
2012-07-22getaddrinfo /etc/services lookup supportRich Felker1-3/+16
2012-07-22make getservby*_r return error code rather than -1 (and using errno)Rich Felker2-19/+35
2012-07-21fix logic error for skipping failed interfaces in if_nameindexRich Felker1-8/+7
2012-07-14fix getservby*() with null pointer for protocol argumentRich Felker2-0/+8
2012-07-12workaround another sendmsg kernel bug on 64-bit machinesRich Felker1-0/+13
2012-05-16fix misplaced semicolon in preprocessor directive (#undef h_errno)Rich Felker1-1/+1
2012-05-12use __h_errno_location for h_errnoRich Felker2-0/+9
2012-04-01improve name lookup performance in corner casesRich Felker2-2/+2
2012-02-23fix for previous incorrect fix of cancellation in dns lookupsRich Felker1-3/+4
2012-02-11fix default nameserver when resolv.conf doesn't existRich Felker1-1/+2
2012-02-11fix illegal goto out of cleanup context in dns lookupsRich Felker1-3/+3
2011-09-21make dns lookups (and thus getaddrinfo) cancellableRich Felker1-4/+11
2011-09-21use poll rather than select in dns lookups (also clock_gettime)Rich Felker1-12/+10
2011-09-13remove some stray trailing space charactersRich Felker2-2/+2
2011-08-03implement if_nameindex and if_freenameindexRich Felker2-0/+65
2011-08-01fix wrong messages in gai_strerrorRich Felker1-0/+2
2011-08-01port numbers should always be interpreted as decimalRich Felker1-1/+1
2011-07-12"implement" getnetbyaddr and getnetbynameRich Felker1-0/+12
2011-06-30res_search symbol, aliased to res_query for now (better than nothing)Rich Felker1-0/+3
2011-04-25fix bug in ipv6 parsing that prevented parsing a lone "::"Rich Felker1-4/+1
2011-04-25ipv6 parsing code (formerly dummied-out)Rich Felker2-8/+62
2011-04-21fix bogus return values for inet_ptonRich Felker1-2/+2
2011-04-20disallow blank strings as service or host nameRich Felker1-0/+3
2011-04-20fix bugs in ipv4 parsingRich Felker1-1/+2
2011-04-18dns lookups: protect against cancellation and fix incorrect error codesRich Felker1-4/+10
2011-04-17overhaul pthread cancellationRich Felker6-28/+6
2011-04-12optimize ntohl etc. in terms of bswap functionsRich Felker4-20/+12
2011-04-08workaround broken msghdr struct on 64bit linuxRich Felker2-0/+21
2011-04-08fix ipv6 address printing: 2001 appeared as 201, etc.Rich Felker1-3/+5
2011-04-08fix broken dns response parsing code that made most ipv6 lookups failRich Felker1-4/+6
2011-04-08return the requested string as the "canonical name" for numeric addressesRich Felker1-0/+1