The in_cksum tests originally tried to simulate a BE environment by swapping the byte order of the input. But that's overcomplicated, and didn't actually work on real BE hardware. The correct testing strategy is just to test on the native endianness, and run the tests in both BE and LE environments. Submitted by: Renato Riolino <renato.riolino@eldorado.org.br> Reviewed By: asomers MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D23193 |
||
---|---|---|
.. | ||
tests | ||
main.c | ||
main.h | ||
Makefile | ||
Makefile.depend | ||
Makefile.depend.options | ||
ping6.c | ||
ping6.h | ||
ping.8 | ||
ping.c | ||
ping.h | ||
utils.c | ||
utils.h |