aboutsummaryrefslogtreecommitdiff
path: root/src/tests/ipv4_test.c
AgeCommit message (Collapse)AuthorFilesLines
2015-07-28[ipv4] Redefine IP address constants to avoid unnecessary byte swappingMichael Brown1-20/+21
Redefine various IPv4 address constants and testing macros to avoid unnecessary byte swapping at runtime, and slightly rename the macros to prevent code from accidentally using the old definitions. Signed-off-by: Michael Brown <mcb30@ipxe.org>
2015-03-02[legal] Relicense files under GPL2_OR_LATER_OR_UBDLMichael Brown1-1/+5
Relicense files for which I am the sole author (as identified by util/relicense.pl). Signed-off-by: Michael Brown <mcb30@ipxe.org>
2015-02-19[ipv4] Rewrite inet_aton()Michael Brown1-0/+2
The implementation of inet_aton() has an unknown provenance. Rewrite this code to avoid potential licensing uncertainty. Also move the code from core/misc.c to its logical home in net/ipv4.c, and add a few extra test cases. Signed-off-by: Michael Brown <mcb30@ipxe.org>
2015-02-18[test] Add IPv4 self-testsMichael Brown1-0/+147
Signed-off-by: Michael Brown <mcb30@ipxe.org>