freebsd-dev/sbin/ping
Alan Somers 67511a4c4c ping: fix unaligned access to ancillary data
Use CMSG_FIRSTHDR rather than assume that an array is correctly aligned.
Fixes warnings on sparc64 and powerpcspe.

Submitted by:	Ján Sučan <sucanjan@gmail.com>
MFH:		2 weeks
Sponsored by:	Google LLC (Google Summer of Code 2019)
Differential Revision:	https://reviews.freebsd.org/D21406
2019-08-24 18:00:18 +00:00
..
tests ping: By default, don't reverse lookup IP addresses 2019-08-22 18:57:24 +00:00
Makefile ping: Add tests of the Internet checksum function 2019-08-20 21:59:48 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
ping.8 ping: By default, don't reverse lookup IP addresses 2019-08-22 18:57:24 +00:00
ping.c ping: fix unaligned access to ancillary data 2019-08-24 18:00:18 +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