freebsd-dev/sbin/ping
Charlie Root 292808246d ICMP checksum test: Fix for big endian
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
2021-01-11 19:03:46 -07:00
..
tests ICMP checksum test: Fix for big endian 2021-01-11 19:03:46 -07:00
main.c ping: fix ping when the kernel was built without INET6 2021-01-01 10:25:49 -07:00
main.h Merge ping6 to ping 2020-11-26 04:29:30 +00:00
Makefile ping: allow building without INET support 2020-11-28 23:24:19 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options Add Makefile.depend.options 2019-12-11 17:37:37 +00:00
ping6.c Merge ping6 to ping 2020-11-26 04:29:30 +00:00
ping6.h Merge ping6 to ping 2020-11-26 04:29:30 +00:00
ping.8 ping(8): Fix a mandoc related issue 2020-12-19 11:57:47 +00:00
ping.c Merge ping6 to ping 2020-11-26 04:29:30 +00:00
ping.h Merge ping6 to ping 2020-11-26 04:29:30 +00:00
utils.c ping: Move in_cksum() to a separate source file 2019-08-17 15:25:01 +00:00
utils.h ping: fix include guard symbol name to reflect the header file name 2019-08-23 15:24:18 +00:00