about summary refs log tree commit diff
path: root/src/network/__ipparse.c
Commit message (Collapse)AuthorAgeFilesLines
* remove cruft from old resolver and numeric ip parsingRich Felker2014-06-021-51/+0
| | | | | | | | | the old resolver code used a function __ipparse which contained the logic for inet_addr and inet_aton, which is needed in getaddrinfo. this was phased out in the resolver overhaul in favor of directly using inet_aton and inet_pton as appropriate. this commit cleans up some stuff that was left behind.
* include cleanups: remove unused headers and add feature test macrosSzabolcs Nagy2013-12-121-1/+0
|
* fix __ipparse to parse the generic numbers-and-dots IPv4 format correctlySzabolcs Nagy2013-10-221-5/+12
| | | | | | | * allow at most 4 parts * bounds check the parts correctly * disallow leading whitespace and sign * check the address family before falling back to IPv6
* ipv6 parsing code (formerly dummied-out)Rich Felker2011-04-251-2/+6
|
* fix bugs in ipv4 parsingRich Felker2011-04-201-1/+2
|
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-121-0/+40