freebsd-dev/tests/sys/netinet/libalias
John Baldwin dba02df30d Cast pointer to uintptr_t to avoid alignment warnings.
Both struct ip and struct udphdr both have an aligment of 2, but the
cast from struct ip to a uint32_t pointer confused GCC 9 into raising
the required alignment to 4 and then raising a
-Waddress-of-packed-member error when casting to struct udphdr.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D31941
2022-02-11 16:04:52 -08:00
..
1_instance.c tests/libalias: Add missing copyright statements 2021-05-24 21:56:05 +02:00
2_natout.c tests/libalias: Portrange 2021-12-27 14:54:57 +01:00
3_natin.c tests/libalias: Bugfix in used variables 2021-07-03 00:31:54 +02:00
Makefile tests/libalias: Test LibAliasIn on redirection 2021-05-26 16:19:24 +02:00
perf.c tests/libalias: Measure cleanup time separatly 2021-05-28 17:29:10 +02:00
util.c Cast pointer to uintptr_t to avoid alignment warnings. 2022-02-11 16:04:52 -08:00
util.h tests/libalias: Portrange 2021-12-27 14:54:57 +01:00