path: root/src/network/__ipparse.c
AgeCommit message (Collapse)AuthorLines
2014-06-02remove cruft from old resolver and numeric ip parsingRich Felker-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.
2013-12-12include cleanups: remove unused headers and add feature test macrosSzabolcs Nagy-1/+0
2013-10-22fix __ipparse to parse the generic numbers-and-dots IPv4 format correctlySzabolcs Nagy-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
2011-04-25ipv6 parsing code (formerly dummied-out)Rich Felker-2/+6
2011-04-20fix bugs in ipv4 parsingRich Felker-1/+2
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+40