summaryrefslogtreecommitdiff
path: root/src/network
AgeCommit message (Expand)AuthorFilesLines
2013-08-14fix length computation in dn_expandRich Felker1-3/+5
2013-08-14de-duplicate dn_expand, fix return value and signature, clean upRich Felker2-48/+23
2013-07-25fix undefined strcpy call in inet_ntopRich Felker1-1/+1
2013-07-25make inet_ntop format v4-mapped ipv6 addresses properlyRich Felker1-8/+14
2013-07-24make getaddrinfo with AF_UNSPEC and null host return both IPv4 and v6Rich Felker1-14/+23
2013-07-09fix missing SOCK_CLOEXEC in various functions that use sockets internallyRich Felker4-4/+4
2013-07-01add stubs for additional legacy ether.h functionsRich Felker1-0/+15
2013-06-25implement inet_lnaof, inet_netof, and inet_makeaddrRich Felker5-39/+55
2013-06-25add ether_aton[_r] and ether_ntoa[_r] functionsRich Felker1-0/+43
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