summaryrefslogtreecommitdiff
path: root/src/network/inet_addr.c
AgeCommit message (Collapse)AuthorFilesLines
2013-11-02fix regression in inet_aton due to misinterpretation of __ipparse returnRich Felker1-1/+1
inet_aton returns a boolean success value, whereas __ipparse returns 0 on success and -1 on failure. also change the conditional in inet_addr to be consistent with other uses of __ipparse where only negative values are treated as failure.
2013-10-21split inet_addr and inet_ntoa back into their own filesRich Felker1-0/+11
despite being practically deprecated, these functions are still part of the standard and thus cannot reside in a file that also contains namespace pollution. this reverts some of the changes made in commit e40f48a421a9176e3e298b5bac75f0355b219e58.
2013-06-25implement inet_lnaof, inet_netof, and inet_makeaddrRich Felker1-11/+0
also move all legacy inet_* functions into a single file to avoid wasting object file and compile time overhead on them. the added functions are legacy interfaces for working with classful ipv4 network addresses. they have no modern usefulness whatsoever, but some programs unconditionally use them anyway, and they're tiny.
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker1-0/+11